Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 10th July 2010, 19:10
skoena skoena is offline
Senior Member
 
Join Date: Sep 2009
Location: Emmen, Netherlands
Posts: 413
Thanks: 75
Thanked 12 Times in 10 Posts
Send a message via MSN to skoena Send a message via Skype™ to skoena
Default Swap 100%

Hi,
What could be wrong if swap is 100%?

Quote:
System load: 0.2
Swap usage: 100%
Users logged in: 0
Usage of /: 30.9% of 132.62GB
Temperature: 8 C
Memory usage: 56%
Processes: 148
Rudolf
Reply With Quote
Sponsored Links
  #2  
Old 11th July 2010, 23:56
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
Default

Do you have munin installed? That could help to find out what's wrong.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 12th July 2010, 00:08
skoena skoena is offline
Senior Member
 
Join Date: Sep 2009
Location: Emmen, Netherlands
Posts: 413
Thanks: 75
Thanked 12 Times in 10 Posts
Send a message via MSN to skoena Send a message via Skype™ to skoena
Default

Quote:
Originally Posted by falko View Post
Do you have munin installed? That could help to find out what's wrong.
Hi Falko,
I have it installed now.
Can you give me some instructions what to do next?

Rudolf.
Reply With Quote
  #4  
Old 12th July 2010, 09:26
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,452
Thanks: 813
Thanked 5,222 Times in 4,092 Posts
Default

Which applications use all the ram / swap? Check this with "top" command or with "ps aux".
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 12th July 2010, 09:35
skoena skoena is offline
Senior Member
 
Join Date: Sep 2009
Location: Emmen, Netherlands
Posts: 413
Thanks: 75
Thanked 12 Times in 10 Posts
Send a message via MSN to skoena Send a message via Skype™ to skoena
Default

With ps aux I get this:

Quote:
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 1764 136 ? Ss Apr08 0:05 /sbin/init
root 2 0.0 0.0 0 0 ? S< Apr08 0:00 [kthreadd]
root 3 0.0 0.0 0 0 ? S< Apr08 0:05 [migration/0]
root 4 0.0 0.0 0 0 ? S< Apr08 2:26 [ksoftirqd/0]
root 5 0.0 0.0 0 0 ? S< Apr08 0:00 [watchdog/0]
root 6 0.0 0.0 0 0 ? S< Apr08 0:09 [migration/1]
root 7 0.0 0.0 0 0 ? S< Apr08 4:05 [ksoftirqd/1]
root 8 0.0 0.0 0 0 ? S< Apr08 0:00 [watchdog/1]
root 9 0.0 0.0 0 0 ? S< Apr08 0:00 [events/0]
root 10 0.0 0.0 0 0 ? S< Apr08 0:01 [events/1]
root 11 0.0 0.0 0 0 ? S< Apr08 0:00 [khelper]
root 12 0.0 0.0 0 0 ? S< Apr08 0:00 [kstop/0]
root 13 0.0 0.0 0 0 ? S< Apr08 0:00 [kstop/1]
root 14 0.0 0.0 0 0 ? S< Apr08 0:00 [kintegrityd/0]
root 15 0.0 0.0 0 0 ? S< Apr08 0:00 [kintegrityd/1]
root 16 0.0 0.0 0 0 ? S< Apr08 0:01 [kblockd/0]
root 17 0.0 0.0 0 0 ? S< Apr08 0:12 [kblockd/1]
root 18 0.0 0.0 0 0 ? S< Apr08 0:00 [kacpid]
root 19 0.0 0.0 0 0 ? S< Apr08 0:00 [kacpi_notify]
root 20 0.0 0.0 0 0 ? S< Apr08 0:00 [cqueue]
root 21 0.0 0.0 0 0 ? S< Apr08 0:00 [ata/0]
root 22 0.0 0.0 0 0 ? S< Apr08 0:00 [ata/1]
root 23 0.0 0.0 0 0 ? S< Apr08 0:00 [ata_aux]
root 24 0.0 0.0 0 0 ? S< Apr08 0:00 [ksuspend_usbd]
root 25 0.0 0.0 0 0 ? S< Apr08 0:00 [khubd]
root 26 0.0 0.0 0 0 ? S< Apr08 0:00 [kseriod]
root 27 0.0 0.0 0 0 ? S< Apr08 0:00 [kmmcd]
root 28 0.0 0.0 0 0 ? S< Apr08 0:00 [btaddconn]
root 29 0.0 0.0 0 0 ? S< Apr08 0:00 [btdelconn]
root 30 0.0 0.0 0 0 ? S Apr08 4:18 [pdflush]
root 31 0.0 0.0 0 0 ? S Apr08 4:56 [pdflush]
root 32 0.0 0.0 0 0 ? S< Apr08 11:59 [kswapd0]
root 33 0.0 0.0 0 0 ? S< Apr08 0:00 [aio/0]
root 34 0.0 0.0 0 0 ? S< Apr08 0:00 [aio/1]
root 35 0.0 0.0 0 0 ? S< Apr08 0:00 [ecryptfs-kthr]
root 38 0.0 0.0 0 0 ? S< Apr08 0:00 [scsi_eh_0]
root 39 0.0 0.0 0 0 ? S< Apr08 0:00 [scsi_eh_1]
root 40 0.0 0.0 0 0 ? S< Apr08 0:00 [kstriped]
root 41 0.0 0.0 0 0 ? S< Apr08 0:00 [kmpathd/0]
root 42 0.0 0.0 0 0 ? S< Apr08 0:00 [kmpathd/1]
root 43 0.0 0.0 0 0 ? S< Apr08 0:00 [kmpath_handle]
root 44 0.0 0.0 0 0 ? S< Apr08 0:00 [ksnapd]
root 45 0.0 0.0 0 0 ? S< Apr08 0:00 [kondemand/0]
root 46 0.0 0.0 0 0 ? S< Apr08 0:00 [kondemand/1]
root 47 0.0 0.0 0 0 ? S< Apr08 0:00 [krfcommd]
root 618 0.0 0.0 0 0 ? S< Apr08 14:51 [kjournald]
root 737 0.0 0.0 2224 28 ? S<s Apr08 0:00 /sbin/udevd --d
root 946 0.0 0.0 0 0 ? S< Apr08 0:00 [edac-poller]
root 970 0.0 0.0 0 0 ? S< Apr08 0:00 [kpsmoused]
root 1593 0.0 0.0 0 0 ? S< Apr08 0:00 [kjournald]
root 1849 0.0 0.0 1808 28 tty4 Ss+ Apr08 0:00 /sbin/getty 384
root 1850 0.0 0.0 1808 28 tty5 Ss+ Apr08 0:00 /sbin/getty 384
root 1853 0.0 0.0 1808 28 tty2 Ss+ Apr08 0:00 /sbin/getty 384
root 1854 0.0 0.0 1808 28 tty3 Ss+ Apr08 0:00 /sbin/getty 384
root 1856 0.0 0.0 1808 28 tty6 Ss+ Apr08 0:00 /sbin/getty 384
root 1924 0.0 0.0 1808 24 ? Ss Apr08 0:00 /usr/sbin/acpid
syslog 1958 0.0 0.0 2040 396 ? Ss Apr08 5:45 /sbin/syslogd -
root 1976 0.0 0.0 1968 44 ? S Apr08 0:00 /bin/dd bs 1 if
klog 1978 0.0 0.0 3456 168 ? Ss Apr08 0:00 /sbin/klogd -P
105 1996 0.0 0.0 2792 596 ? Ss Apr08 8:15 /bin/dbus-daemo
amavis 2069 0.0 0.6 59608 12772 ? Ss Apr08 1:24 amavisd (master
root 2209 0.0 0.0 30492 1692 ? Ss Apr08 11:34 /usr/sbin/spamd
root 2569 0.0 0.0 30492 1092 ? S Apr08 0:07 spamd child
root 2570 0.0 0.0 30492 1120 ? S Apr08 0:05 spamd child
root 2691 0.0 0.0 1996 28 ? S Apr08 0:00 /usr/sbin/couri
root 2692 0.0 0.0 4528 84 ? S Apr08 0:00 /usr/lib/courie
root 2698 0.0 0.0 4576 488 ? S Apr08 0:11 /usr/lib/courie
root 2699 0.0 0.0 4576 488 ? S Apr08 0:11 /usr/lib/courie
root 2700 0.0 0.0 4576 488 ? S Apr08 0:10 /usr/lib/courie
root 2701 0.0 0.0 4576 488 ? S Apr08 0:11 /usr/lib/courie
root 2702 0.0 0.0 4576 488 ? S Apr08 0:10 /usr/lib/courie
root 2714 0.0 0.0 1996 260 ? S Apr08 0:08 /usr/sbin/couri
root 2715 0.0 0.0 2108 124 ? S Apr08 0:13 /usr/sbin/couri
root 2736 0.0 0.0 1996 24 ? S Apr08 0:00 /usr/sbin/couri
root 2737 0.0 0.0 2108 20 ? S Apr08 0:00 /usr/sbin/couri
root 2752 0.0 0.0 1996 260 ? S Apr08 0:07 /usr/sbin/couri
root 2753 0.0 0.0 2108 124 ? S Apr08 0:15 /usr/sbin/couri
root 2774 0.0 0.0 1996 24 ? S Apr08 0:00 /usr/sbin/couri
root 2775 0.0 0.0 2108 20 ? S Apr08 0:00 /usr/sbin/couri
root 2782 0.3 11.8 683040 245044 ? Ssl Apr08 473:24 /usr/sbin/conso
ejabberd 2859 0.0 0.0 1992 84 ? S Apr08 0:18 /usr/lib/erlang
ejabberd 2890 0.0 0.0 29548 1704 ? Sl Apr08 8:33 /usr/lib/erlang
ejabberd 2967 0.0 0.0 1988 24 ? Ss Apr08 0:00 inet_gethost 4
ejabberd 2968 0.0 0.0 2152 28 ? S Apr08 0:00 inet_gethost 4
nobody 2969 0.0 0.0 4952 216 ? Ss Apr08 0:12 /usr/local/sbin
nobody 2972 0.0 0.1 6788 2324 ? S Apr08 0:47 /usr/local/sbin
root 3043 0.0 0.0 5784 600 ? Ss Apr08 7:42 /usr/lib/postfi
root 3084 0.0 1.3 314952 28384 ? Ss Apr08 0:41 /usr/sbin/sasla
root 3085 0.0 1.3 321136 28528 ? S Apr08 0:41 /usr/sbin/sasla
root 3086 0.0 1.3 321976 28824 ? S Apr08 0:42 /usr/sbin/sasla
root 3087 0.0 1.3 324620 28564 ? S Apr08 0:42 /usr/sbin/sasla
root 3088 0.0 1.4 323296 29148 ? S Apr08 0:41 /usr/sbin/sasla
daemon 3161 0.0 0.0 2096 64 ? Ss Apr08 0:00 /usr/sbin/atd
root 3186 0.0 0.0 3480 428 ? Ss Apr08 0:53 /usr/sbin/cron
root 3549 0.0 0.1 26656 3188 ? Sl Apr08 20:48 /usr/bin/python
root 3612 0.0 0.0 1808 28 tty1 Ss+ Apr08 0:00 /sbin/getty 384
vmail 3696 0.5 0.1 6176 3592 ? S 08:09 0:25 /usr/bin/imapd
vmail 3702 0.0 0.0 3060 1176 ? S 08:09 0:00 /usr/lib/gamin/
root 4321 0.0 0.9 47912 19780 ? Ss Jun08 1:38 /usr/sbin/apach
postfix 5711 0.0 0.0 5796 1744 ? S 08:36 0:00 anvil -l -t uni
postfix 7605 0.0 0.1 8328 2628 ? S 09:02 0:00 cleanup -z -t u
postfix 8512 0.0 0.1 8256 2552 ? S 09:15 0:00 trivial-rewrite
postfix 8620 0.0 0.1 8328 2624 ? S 09:15 0:00 cleanup -z -t u
postfix 8632 0.0 0.2 13304 5092 ? S 09:15 0:00 smtpd -n smtp -
postfix 8653 0.0 0.1 8280 2396 ? S 09:15 0:00 smtp -n amavis
amavis 8731 0.1 1.6 60784 33560 ? S 09:16 0:01 amavisd (ch11-a
root 8815 0.0 0.2 8188 5044 ? S 09:17 0:00 vlogger (access
www-data 8816 0.0 0.5 31228 10396 ? S 09:17 0:00 /usr/sbin/apach
www-data 8817 0.0 1.0 52100 20628 ? S 09:17 0:00 /usr/sbin/apach
www-data 8818 0.2 1.0 51852 21932 ? S 09:17 0:01 /usr/sbin/apach
www-data 8819 0.2 1.1 52916 23024 ? S 09:17 0:01 /usr/sbin/apach
www-data 8821 0.3 1.0 51660 21512 ? S 09:17 0:02 /usr/sbin/apach
web21 8822 0.0 0.0 6448 1812 ? S 09:17 0:00 pure-ftpd (IDLE
root 8823 0.0 0.0 6296 564 ? S 09:17 0:00 pure-ftpd (PRIV
www-data 8824 0.1 1.1 52840 22688 ? S 09:17 0:01 /usr/sbin/apach
www-data 8827 0.0 1.0 52788 22500 ? S 09:17 0:00 /usr/sbin/apach
www-data 8931 0.0 0.5 31844 12228 ? S 09:19 0:00 /usr/bin/php-cg
postfix 9036 0.0 0.0 5796 1748 ? S 09:20 0:00 pickup -l -t fi
www-data 9144 0.1 0.5 31348 11880 ? S 09:20 0:00 /usr/bin/php-cg
amavis 9262 0.2 1.7 61332 35396 ? S 09:23 0:01 amavisd (ch6-av
postfix 9314 0.0 0.1 12868 3856 ? S 09:24 0:00 smtpd -n 127.0.
www-data 9468 0.0 0.6 47912 14428 ? S 09:26 0:00 /usr/sbin/apach
www-data 9480 0.0 0.7 48120 14944 ? S 09:26 0:00 /usr/sbin/apach
postfix 9572 0.0 0.1 8240 2532 ? S 09:28 0:00 proxymap -t uni
www-data 9575 0.0 0.6 47912 13844 ? S 09:28 0:00 /usr/sbin/apach
www-data 9576 0.0 0.6 47912 13684 ? S 09:28 0:00 /usr/sbin/apach
root 9615 0.7 0.1 8488 2952 ? Ss 09:29 0:00 sshd: administr
vmail 9617 0.0 0.0 3508 832 ? S 09:29 0:00 /usr/bin/imapd
vmail 9618 0.2 0.0 3736 1108 ? S 09:29 0:00 /usr/bin/imapd
1000 9625 0.0 0.0 8624 1576 ? S 09:29 0:00 sshd: administr
1000 9626 1.5 0.1 5888 3164 pts/0 Ss 09:29 0:00 -bash
root 9643 1.3 0.0 4132 1512 pts/0 S 09:30 0:00 su
postfix 9829 0.0 0.0 5792 1716 ? S 09:30 0:00 showq -t unix -
postfix 9833 0.3 0.1 8280 2380 ? S 09:30 0:00 smtp -n amavis
postfix 9843 0.3 0.0 5792 1704 ? S 09:30 0:00 scache -l -t un
postfix 9862 0.3 0.1 8312 2744 ? S 09:30 0:00 local -t unix
root 9897 0.0 0.0 4336 1816 pts/0 S 09:30 0:00 bash
root 9908 0.0 0.0 2768 1020 pts/0 R+ 09:30 0:00 ps aux
root 11411 0.0 0.0 6292 768 ? Ss Jul11 0:00 pure-ftpd (SERV
root 12030 0.9 0.2 11580 5684 ? Ss 05:53 2:04 sshd: root@nott
root 12044 0.1 0.0 4876 1364 ? Ss 05:53 0:14 scp -f /remoteb
clamav 14590 0.0 0.0 3224 988 ? Ss May30 0:29 /usr/bin/freshc
clamav 15092 0.0 4.7 126260 98796 ? Ssl May30 10:56 /usr/sbin/clamd
root 18131 0.0 0.2 8072 4544 ? Ss 00:04 0:00 /usr/sbin/munin
root 26725 0.0 0.0 3968 192 ? S Jun11 0:00 /bin/sh /usr/bi
mysql 26764 0.1 2.6 158472 55420 ? Sl Jun11 62:01 /usr/sbin/mysql
root 26765 0.0 0.0 3052 212 ? S Jun11 0:00 logger -p daemo
root 32485 0.0 0.0 5436 872 ? Ss Jul06 0:00 /usr/sbin/sshd
postfix 32509 0.0 0.0 8160 1708 ? S Jul06 0:04 qmgr -l -t fifo
ntp 32544 0.0 0.0 4336 988 ? Ss Jul06 0:00 /usr/sbin/ntpd
postfix 32568 0.0 0.0 6280 1980 ? S Jul06 0:00 tlsmgr -l -t un
Reply With Quote
  #6  
Old 12th July 2010, 09:37
skoena skoena is offline
Senior Member
 
Join Date: Sep 2009
Location: Emmen, Netherlands
Posts: 413
Thanks: 75
Thanked 12 Times in 10 Posts
Send a message via MSN to skoena Send a message via Skype™ to skoena
Default

How to get the pid's with the most used mem or cpu with top?
Reply With Quote
  #7  
Old 12th July 2010, 09:38
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,452
Thanks: 813
Thanked 5,222 Times in 4,092 Posts
Default

http://www.linuxquestions.org/questi...-usage-697203/
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #8  
Old 13th July 2010, 12:15
skoena skoena is offline
Senior Member
 
Join Date: Sep 2009
Location: Emmen, Netherlands
Posts: 413
Thanks: 75
Thanked 12 Times in 10 Posts
Send a message via MSN to skoena Send a message via Skype™ to skoena
Default

Mmmm I upgraded from Ispconfig 3.2.1 to Ispconfig 3.2.2 and the SWAP decreased from 100% to 24%.
Reply With Quote
  #9  
Old 13th July 2010, 12:18
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,452
Thanks: 813
Thanked 5,222 Times in 4,092 Posts
Default

A ISPConfig update restarts all services, thats moost likely the vreason for the decrease as the memory was not consumed by ispconfig.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
rudolfpietersma (13th July 2010)
  #10  
Old 13th July 2010, 12:21
skoena skoena is offline
Senior Member
 
Join Date: Sep 2009
Location: Emmen, Netherlands
Posts: 413
Thanks: 75
Thanked 12 Times in 10 Posts
Send a message via MSN to skoena Send a message via Skype™ to skoena
 
Default

Till,
So the cause could be mysql or apache or something like that?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
High swap usage. tonysch General 3 28th June 2009 22:28
Apache2 fills my memory and my swap! batman Server Operation 1 10th February 2009 17:29
HOWTO use a keyfile for an encrypted swap partition charles HOWTO-Related Questions 0 10th January 2009 16:10
Server hangs out for ran out of the swap space. gral Server Operation 5 13th June 2008 17:36
Xen 3.0.2 /3.0.3 | No Swap in DomU Merc HOWTO-Related Questions 10 27th March 2007 11:40


All times are GMT +2. The time now is 16:04.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.