(02-26-2009 04:52 AM)Lucan Wrote: was du mal machen kannst um einiges an RAM zu sparen ist prefork statt worker zu verwenden (falls noch nicht gemacht)
aptitude update
aptitude install apache2-mpm-prefork
Falls kein aptitude installiert ist, solltest du das mit apt-get update und apt-get install aptitude unbedingt nach holen =)
prefork ist drauf!
vmstat -s
1048576 total memory
205196 used memory
0 active memory
0 inactive memory
843380 free memory
0 buffer memory
0 swap cache
0 total swap
0 used swap
0 free swap
1742 non-nice user cpu ticks
0 nice user cpu ticks
1078 system cpu ticks
611882 idle cpu ticks
406 IO-wait cpu ticks
0 IRQ cpu ticks
0 softirq cpu ticks
0 stolen cpu ticks
0 pages paged in
0 pages paged out
0 pages swapped in
0 pages swapped out
0 interrupts
3580238543 CPU context switches
1235587204 boot time
293673438 forks
ps -aux
Warning: bad ps syntax, perhaps a bogus '-'? See
http://procps.sf.net/faq.html
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 6044 672 ? Ss 18:40 0:00 init [2]
root 13596 0.0 0.0 3660 584 ? Ss 18:40 0:00 /sbin/syslogd
amavis 13651 0.0 3.3 78496 35064 ? Ss 18:40 0:00 amavisd (master)
amavis 13671 0.0 3.3 79612 34820 ? S 18:40 0:00 amavisd (ch1-avail)
amavis 13672 0.0 3.3 79480 34612 ? S 18:40 0:00 amavisd (virgin child)
root 13680 0.0 0.1 10036 1504 ? S 18:40 0:00 /bin/sh /usr/bin/mysqld_safe
mysql 13723 0.1 0.8 37364 8628 ? Sl 18:40 0:01 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking --port=3306
root 13724 0.0 0.0 2560 532 ? S 18:40 0:00 logger -p daemon.err -t mysqld_safe -i -t mysqld
polw 13776 0.0 1.1 31664 11608 ? Ss 18:40 0:00 policyd-weight (master)
polw 13777 0.0 1.0 31664 11208 ? Ss 18:40 0:00 policyd-weight (cache)
root 13798 0.0 0.0 3800 412 ? S 18:40 0:00 /usr/sbin/courierlogger -pid=/var/run/courier/authdaemon/pid -start /usr/lib/courier/courier-authlib/authdaemond
root 13799 0.0 0.0 12212 672 ? S 18:40 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 13801 0.0 0.0 12212 264 ? S 18:40 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 13807 0.0 0.0 12212 264 ? S 18:40 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 13808 0.0 0.0 12212 264 ? S 18:40 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 13809 0.0 0.1 13008 1308 ? S 18:40 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 13810 0.0 0.0 12212 300 ? S 18:40 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 13825 0.0 0.0 3800 412 ? S 18:40 0:00 /usr/sbin/courierlogger -pid=/var/run/courier/imapd.pid -start -name=imapd /usr/sbin/couriertcpd -address=0 -maxprocs=40 -maxperip=20 -nodnslook
root 13826 0.0 0.0 5948 612 ? S 18:40 0:00 /usr/sbin/couriertcpd -address=0 -maxprocs=40 -maxperip=20 -nodnslookup -noidentlookup 143 /usr/lib/courier/courier/imaplogin /usr/bin/imapd Mai
root 13831 0.0 0.0 5948 544 ? S 18:40 0:00 /usr/sbin/couriertcpd -pid=/var/run/courier/pop3d.pid -stderrlogger=/usr/sbin/courierlogger -maxprocs=40 -maxperip=4 -nodnslookup -noidentlookup
root 13833 0.0 0.0 3800 512 ? S 18:40 0:00 /usr/sbin/courierlogger courierpop3login
root 13913 0.0 0.1 19544 2084 ? Ss 18:40 0:00 /usr/lib/postfix/master
postfix 13919 0.0 0.1 20584 2012 ? S 18:40 0:00 pickup -l -t fifo -u -c
postfix 13920 0.0 0.2 20620 2140 ? S 18:40 0:00 qmgr -l -t fifo -u
root 13943 0.0 0.1 30236 1152 ? Ss 18:40 0:00 /usr/sbin/saslauthd -a shadow -c -l -n 1
root 13950 0.0 0.1 25768 1252 ? Ss 18:40 0:00 /usr/sbin/sshd
nobody 14008 0.0 0.3 55540 4064 ? Ss 18:40 0:00 proftpd: (accepting connections)
root 14027 0.0 0.0 11436 936 ? Ss 18:40 0:00 /usr/sbin/cron
root 14083 0.0 0.0 2556 420 ? S 18:40 0:00 /var/www/ispcp/daemon/ispcp_daemon -p /var/run/ispcp_daemon.pid
root 19896 0.0 0.5 68080 5372 ? Ss 18:42 0:00 /usr/sbin/apache2 -k start
root 19898 0.0 1.3 40004 14616 ? S 18:42 0:00 /usr/bin/perl /var/www/ispcp/engine/ispcp-apache-logger -e
root 19899 0.0 1.3 40000 14656 ? S 18:42 0:00 /usr/bin/perl /var/www/ispcp/engine/ispcp-apache-logger
www-data 19900 0.0 0.3 67512 3668 ? S 18:42 0:00 /usr/sbin/apache2 -k start
www-data 19913 0.0 0.4 68220 4296 ? S 18:42 0:00 /usr/sbin/apache2 -k start
www-data 19914 0.0 0.4 68224 4336 ? S 18:42 0:00 /usr/sbin/apache2 -k start
www-data 19915 0.0 0.4 68224 4340 ? S 18:42 0:00 /usr/sbin/apache2 -k start
www-data 19916 0.0 0.4 68224 4296 ? S 18:42 0:00 /usr/sbin/apache2 -k start
www-data 19917 0.0 0.4 68220 4308 ? S 18:42 0:00 /usr/sbin/apache2 -k start
www-data 19918 0.0 0.4 68224 4332 ? S 18:42 0:00 /usr/sbin/apache2 -k start
www-data 19919 0.0 0.4 68224 4296 ? S 18:42 0:00 /usr/sbin/apache2 -k start
www-data 19920 0.0 0.4 68088 4248 ? S 18:42 0:00 /usr/sbin/apache2 -k start
www-data 19921 0.0 0.4 68220 4336 ? S 18:42 0:00 /usr/sbin/apache2 -k start
www-data 19922 0.0 0.4 68228 4344 ? S 18:42 0:00 /usr/sbin/apache2 -k start
www-data 19923 0.0 0.4 68224 4356 ? S 18:42 0:00 /usr/sbin/apache2 -k start
www-data 19924 0.0 0.4 68228 4340 ? S 18:42 0:00 /usr/sbin/apache2 -k start
www-data 19954 0.0 0.4 68088 4228 ? S 18:42 0:00 /usr/sbin/apache2 -k start
vu2011 19963 0.0 0.7 67800 7668 ? Ss 18:42 0:00 /usr/bin/php5-cgi
vu2011 19964 0.3 0.6 68548 7100 ? S 18:42 0:04 /usr/bin/php5-cgi
vu2011 19965 0.3 0.6 68488 7044 ? S 18:42 0:04 /usr/bin/php5-cgi
www-data 19979 0.0 0.4 68220 4304 ? S 18:42 0:00 /usr/sbin/apache2 -k start
www-data 21530 0.0 0.4 68224 4336 ? S 18:43 0:00 /usr/sbin/apache2 -k start
www-data 21532 0.0 0.4 68224 4336 ? S 18:43 0:00 /usr/sbin/apache2 -k start
www-data 21533 0.0 0.4 68224 4340 ? S 18:43 0:00 /usr/sbin/apache2 -k start
www-data 21589 0.0 0.4 68224 4276 ? S 18:43 0:00 /usr/sbin/apache2 -k start
vu2000 21598 0.0 0.7 67800 7668 ? Ss 18:43 0:00 /usr/bin/php5-cgi
vu2000 21600 0.0 0.6 69224 7292 ? S 18:43 0:00 /usr/bin/php5-cgi
vu2000 21601 0.0 0.7 68196 7364 ? S 18:43 0:00 /usr/bin/php5-cgi
polw 21657 0.0 1.0 31664 11364 ? S 18:43 0:00 policyd-weight (child)
vu2005 9606 0.0 0.7 67800 7668 ? Ss 18:55 0:00 /usr/bin/php5-cgi
vu2005 9607 0.0 0.6 68536 7088 ? S 18:55 0:00 /usr/bin/php5-cgi
vu2005 9608 0.0 0.6 68536 7028 ? S 18:55 0:00 /usr/bin/php5-cgi
www-data 9873 0.0 0.4 68228 4272 ? S 18:55 0:00 /usr/sbin/apache2 -k start
vu2010 9874 0.0 0.7 67800 7668 ? Ss 18:55 0:00 /usr/bin/php5-cgi
vu2010 9875 0.0 0.6 68140 6444 ? S 18:55 0:00 /usr/bin/php5-cgi
vu2010 9876 0.0 0.6 68140 6444 ? S 18:55 0:00 /usr/bin/php5-cgi
root 30160 0.1 0.2 36860 2740 ? Ss 19:04 0:00 sshd: root@pts/0
root 30173 1.0 0.2 11208 2860 pts/0 Ss 19:04 0:00 -bash
root 30711 0.0 0.0 8376 940 pts/0 R+ 19:05 0:00 ps -aux
Die Ram Auslastung steigt von Minute zu Minute und nach ca. 2 Stunden ist dann Ende...