Current time: 05-06-2024, 10:15 PM Hello There, Guest! (LoginRegister)


Post Reply 
Server optimieren
Author Message
tetex Offline
Junior Member
*

Posts: 66
Joined: Feb 2008
Reputation: 0
Post: #1
Server optimieren
Hallo,

wollte mal anfragen wie ich meinen WebServer optimieren kann ohne ispCP zu beschädigen. Habe derzeit 6 Kunden und der Server ist völlig ausgelastet.
In netstat sehe ich um die 350 hergestellte Verbindungen.

System:
Debian Etch x64 Sempron 3100+
512MB-DDR2
100Mbps Full-Duplex

Installiert ist eAccelerator.

MfG
04-17-2008 02:25 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: Server optimieren
Sempron -> Opteron
512MB -> 4GB

schadt ispCP nicht :-)


Im Ernst: mit 6 Kunden ist der ausgelastet - kann ich kaum glauben...
(This post was last modified: 04-17-2008 03:21 AM by joximu.)
04-17-2008 03:20 AM
Visit this user's website Find all posts by this user Quote this message in a reply
tetex Offline
Junior Member
*

Posts: 66
Joined: Feb 2008
Reputation: 0
Post: #3
RE: Server optimieren
joximu Wrote:Sempron -> Opteron
512MB -> 4GB

schadt ispCP nicht :-)

Im Ernst: mit 6 Kunden ist der ausgelastet - kann ich kaum glauben...

Pro kunde ca. 4000-12000 besucher pro tag...
04-17-2008 03:32 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #4
RE: Server optimieren
also, dann ist mein Vorschlag doch ernster als gedacht...
04-17-2008 06:27 AM
Visit this user's website Find all posts by this user Quote this message in a reply
platzwart Offline
Junior Member
*

Posts: 100
Joined: Mar 2007
Reputation: 1
Post: #5
RE: Server optimieren
jap... sempron raus, was anständiges rein *gg
04-17-2008 08:26 AM
Find all posts by this user Quote this message in a reply
fulltilt Offline
Member
***

Posts: 1,225
Joined: Apr 2007
Reputation: 5
Post: #6
RE: Server optimieren
tetex Wrote:In netstat sehe ich um die 350 hergestellte Verbindungen.

Das könnte auch durch Angriffe verursacht werden ...
Hast Du modsecurity schon im Einsatz?
Bei mir habe ich modsecurity2 mit den Rules von gotroot.com laufen.
Checke auch mal wie viele Verbindungen von einer IP her kommen, könnte vieleicht auch durch ein löchriges PHP script verursacht werden.

Code:
netstat -anp |grep 'tcp' | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n
04-17-2008 08:13 PM
Find all posts by this user Quote this message in a reply
tetex Offline
Junior Member
*

Posts: 66
Joined: Feb 2008
Reputation: 0
Post: #7
RE: Server optimieren
fulltilt Wrote:
tetex Wrote:In netstat sehe ich um die 350 hergestellte Verbindungen.

Das könnte auch durch Angriffe verursacht werden ...
Hast Du modsecurity schon im Einsatz?
Bei mir habe ich modsecurity2 mit den Rules von gotroot.com laufen.
Checke auch mal wie viele Verbindungen von einer IP her kommen, könnte vieleicht auch durch ein löchriges PHP script verursacht werden.

Code:
netstat -anp |grep 'tcp' | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n


Maximal 4 Zugriffe von einer IP.
Mod_Security hab ich nicht im Einsatz. Angriffe sind es aber auch keine. Es sind lediglich die vielen Besucher pro Kunde. Das ist es was den Server in die Knie zwingt.

MfG
04-18-2008 02:15 AM
Find all posts by this user Quote this message in a reply
fulltilt Offline
Member
***

Posts: 1,225
Joined: Apr 2007
Reputation: 5
Post: #8
RE: Server optimieren
Quote:Angriffe sind es aber auch keine. Es sind lediglich die vielen Besucher pro Kunde. Das ist es was den Server in die Knie zwingt.

512 MB ist zwar etwas wenig aber Du kannst den Apache, PHP und MySQL entsprechend optimieren.
Auch Apache mods die nicht unbedingt erforderlich sind deaktivieren.
Was heisst völlig ausgelastet - welche Prozesse?
Durch TOP kannst Du Dir anzeigen lassen welches Web (user) das verursacht - vieleicht doch ein Script eines Kunden.
04-18-2008 03:01 AM
Find all posts by this user Quote this message in a reply
tetex Offline
Junior Member
*

Posts: 66
Joined: Feb 2008
Reputation: 0
Post: #9
RE: Server optimieren
Ausgelastet in der Hinsicht, dass selbst das Arbeiten in der Shell nur verzögert möglich ist. Für mehrere Tastenanschläge oder ausführen von Programmen braucht er schon sehr lang.

Ausschnitt aus "top"
Code:
top - 19:18:34 up 23:28,  1 user,  load average: 38.28, 36.62, 34.67
Tasks: 186 total,  36 running, 147 sleeping,   0 stopped,   3 zombie
Cpu(s): 87.4%us, 12.3%sy,  0.0%ni,  0.0%id,  0.0%wa,  0.0%hi,  0.3%si,  0.0%st
Mem:    500668k total,   460696k used,    39972k free,     5392k buffers
Swap:  1461872k total,   127504k used,  1334368k free,   178776k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
2043 mysql     15   0  138m  35m 3604 S 30.2  7.3 143:17.24 mysqld
14801 vu2036    16   0 44528  11m 3484 R 24.9  2.3   0:58.38 php5-cgi
2177 vu2012    15   0 37180  10m 8672 S 10.0  2.2   0:55.67 php5-cgi
25591 vu2037    15   0 36984 7180 5060 S  9.3  1.4   0:01.68 php5-cgi
17412 vu2012    16   0 37172  10m 8512 S  5.6  2.2   0:29.86 php5-cgi
24732 vu2034    17   0 37036 7208 4584 R  5.6  1.4   0:00.17 php5-cgi
15464 vu2013    18   0 38708  12m 8816 S  2.7  2.6   0:17.22 php5-cgi
24572 vu2013    16   0 37380  10m 7372 S  2.3  2.1   0:01.07 php5-cgi
17752 vu2037    15   0 36984 7344 5224 S  1.3  1.5   0:07.79 php5-cgi
10998 root      15   0 20232  16m 1756 S  0.7  3.5   2:21.13 awstats.pl
11191 root      15   0 15240  12m 1752 S  0.7  2.5   0:15.36 awstats.pl
11193 root      15   0 15236 9580 1752 S  0.7  1.9   0:15.35 awstats.pl
26162 www-data  18   0  316m  11m 1992 S  0.7  2.4   0:25.56 apache2
23808 www-data  18   0  317m  11m 2060 S  0.3  2.4   0:24.88 apache2
24627 www-data  18   0  317m  12m 2064 S  0.3  2.5   0:25.39 apache2
9430 root      15   0 12700 4672 1752 S  0.3  0.9   0:04.48 awstats.pl
24728 root      15   0  2360 1208  856 R  0.3  0.2   0:00.13 top
    1 root      15   0  1948  544  520 S  0.0  0.1   0:00.90 init
    2 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 migration/0
    3 root      34  19     0    0    0 R  0.0  0.0   0:00.01 k

User: mysql braucht teilweise bis zu über 40% der CPU. Ist doch nicht normal oder?

PS-AUX:
Code:
ps aux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.1   1948   544 ?        Ss   Apr16   0:00 init [2]
root         2  0.0  0.0      0     0 ?        S    Apr16   0:00 [migration/0]
root         3  0.0  0.0      0     0 ?        RN   Apr16   0:00 [ksoftirqd/0]
root         4  0.0  0.0      0     0 ?        S<   Apr16   0:00 [events/0]
root         5  0.0  0.0      0     0 ?        S<   Apr16   0:00 [khelper]
root         6  0.0  0.0      0     0 ?        S<   Apr16   0:00 [kthread]
root         9  0.0  0.0      0     0 ?        S<   Apr16   0:00 [kblockd/0]
root        25  0.0  0.0      0     0 ?        S<   Apr16   0:00 [kseriod]
root        97  0.0  0.0      0     0 ?        S<   Apr16   0:09 [kswapd0]
root        98  0.0  0.0      0     0 ?        S<   Apr16   0:00 [aio/0]
root       571  0.0  0.0      0     0 ?        S<   Apr16   0:00 [khubd]
root       574  0.0  0.0      0     0 ?        S<   Apr16   0:00 [ata/0]
root       576  0.0  0.0      0     0 ?        S<   Apr16   0:00 [ata_aux]
root       637  0.0  0.0      0     0 ?        S<   Apr16   0:00 [scsi_eh_0]
root       638  0.0  0.0      0     0 ?        S<   Apr16   0:00 [scsi_eh_1]
root       889  0.0  0.0      0     0 ?        S<   Apr16   0:12 [kjournald]
root      1069  0.0  0.0   2176   324 ?        S<s  Apr16   0:00 udevd --daemon
root      1375  0.0  0.0      0     0 ?        S<   Apr16   0:00 [kpsmoused]
root      1584  0.0  0.0      0     0 ?        S<   Apr16   0:00 [kmirrord]
root      1611  0.0  0.0      0     0 ?        S<   Apr16   0:00 [kjournald]
daemon    1724  0.0  0.0   1688   328 ?        Ss   Apr16   0:00 /sbin/portmap
root      1926  0.0  0.1   1628   564 ?        Ss   Apr16   0:00 /sbin/syslogd
root      1932  0.0  0.0   1576   312 ?        Ss   Apr16   0:00 /sbin/klogd -x
root      2006  0.0  0.2   2672  1016 ?        S    Apr16   0:00 /bin/sh /usr/bin/mysqld_safe
mysql     2043 10.2  7.2 142216 36352 ?        Sl   Apr16 144:59 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --us
root      2044  0.0  0.0   1564   432 ?        S    Apr16   0:00 logger -p daemon.err -t mysqld_safe -i -t mysqld
polw      2118  0.0  0.4   9524  2228 ?        Ss   Apr16   0:00 policyd-weight (master)
polw      2120  0.0  0.3   9524  1924 ?        Ss   Apr16   0:00 policyd-weight (cache)
postgrey  2126  0.0  0.3  10520  1784 ?        Ss   Apr16   0:00 /usr/sbin/postgrey --pidfile=/var/run/postgrey.pid --daemoniz
root      2166  0.0  0.0   1756   324 ?        S    Apr16   0:00 /usr/sbin/courierlogger -pid=/var/run/courier/imapd-ssl.pid -
root      2167  0.0  0.0   1852   484 ?        S    Apr16   0:00 /usr/sbin/couriertcpd -address=0 -maxprocs=40 -maxperip=20 -n
root      2185  0.0  0.0   1752   368 ?        S    Apr16   0:00 /usr/sbin/courierlogger -pid=/var/run/courier/pop3d-ssl.pid -
root      2186  0.0  0.1   1852   536 ?        S    Apr16   0:00 /usr/sbin/couriertcpd -address=0 -maxprocs=40 -maxperip=4 -no
root      2195  0.0  0.0   1748   456 ?        Ss   Apr16   0:00 /usr/sbin/inetd
root      2282  0.0  0.1   4928   948 ?        Ss   Apr16   0:00 /usr/sbin/sshd
statd     2320  0.0  0.1   1756   556 ?        Ss   Apr16   0:00 /sbin/rpc.statd
daemon    2353  0.0  0.0   1828   312 ?        Ss   Apr16   0:00 /usr/sbin/atd
root      2360  0.0  0.1   2196   700 ?        Ss   Apr16   0:00 /usr/sbin/cron
root      2587  0.2  0.5  80360  2524 ?        Sl   Apr16   3:47 python2.4 /usr/bin/fail2ban-server -b -s /tmp/fail2ban.sock
root      2680  0.0  0.0   1564   340 ?        S    Apr16   0:00 /var/www/ispcp/daemon/ispcp_daemon -p /var/run/ispcp_daemon.p
root      2767  0.0  0.0   1576   412 tty1     Ss+  Apr16   0:00 /sbin/getty 38400 tty1
root      2768  0.0  0.0   1572   408 tty2     Ss+  Apr16   0:00 /sbin/getty 38400 tty2
root      2769  0.0  0.0   1576   408 tty3     Ss+  Apr16   0:00 /sbin/getty 38400 tty3
root      2770  0.0  0.0   1572   408 tty4     Ss+  Apr16   0:00 /sbin/getty 38400 tty4
root      2771  0.0  0.0   1576   408 tty5     Ss+  Apr16   0:00 /sbin/getty 38400 tty5
root      2772  0.0  0.0   1576   408 tty6     Ss+  Apr16   0:00 /sbin/getty 38400 tty6
bind      3547  0.0  0.2  30544  1324 ?        Ssl  Apr16   0:00 /usr/sbin/named -u bind
root      3612  0.0  0.2   4812  1360 ?        Ss   Apr16   0:00 /usr/lib/postfix/master
postfix   3618  0.0  0.3   4980  1580 ?        S    Apr16   0:00 qmgr -l -t fifo -u
root      3623  0.0  0.0   1752   324 ?        S    Apr16   0:00 /usr/sbin/courierlogger -pid=/var/run/courier/authdaemon/pid
root      3626  0.0  0.1   1956   508 ?        S    Apr16   0:00 /usr/lib/courier/courier-authlib/authdaemond
root      3628  0.0  0.1   1956   524 ?        S    Apr16   0:00 /usr/lib/courier/courier-authlib/authdaemond
root      3637  0.0  0.0   1756   372 ?        S    Apr16   0:00 /usr/sbin/courierlogger -pid=/var/run/courier/imapd.pid -star
root      3638  0.0  0.1   1852   536 ?        S    Apr16   0:00 /usr/sbin/couriertcpd -address=0 -maxprocs=40 -maxperip=20 -n
root      3643  0.0  0.0   1856   440 ?        S    Apr16   0:00 /usr/sbin/couriertcpd -pid=/var/run/courier/pop3d.pid -stderr
root      3646  0.0  0.1   1956   524 ?        S    Apr16   0:00 /usr/lib/courier/courier-authlib/authdaemond
root      3647  0.0  0.2   2768  1224 ?        S    Apr16   0:00 /usr/lib/courier/courier-authlib/authdaemond
root      3648  0.0  0.1   1956   524 ?        S    Apr16   0:00 /usr/lib/courier/courier-authlib/authdaemond
root      3649  0.0  0.2   2748  1224 ?        S    Apr16   0:00 /usr/lib/courier/courier-authlib/authdaemond
root      3650  0.0  0.0   1756   404 ?        S    Apr16   0:00 /usr/sbin/courierlogger courierpop3login
postfix   4087  0.0  0.2   4876  1444 ?        S    Apr16   0:00 tlsmgr -l -t unix -u -c
polw      4090  0.0  0.7   9788  3924 ?        S    Apr16   0:00 policyd-weight (child)
vu2012    6301  0.3  1.0  36408  5152 ?        Ss   Apr16   3:54 /usr/bin/php5-cgi
vu2013    6302  0.3  1.0  36408  5088 ?        Rs   Apr16   3:49 /usr/bin/php5-cgi
vu2037    6304  0.9  0.9  36412  4996 ?        Rs   Apr16  11:51 /usr/bin/php5-cgi
vu2036    6308  0.6  0.9  36412  4892 ?        Ss   Apr16   8:38 /usr/bin/php5-cgi
root     15136  0.0  0.1   2532   864 ?        S    00:15   0:00 /USR/SBIN/CRON
root     15137  0.0  0.2   3616  1144 ?        Ss   00:15   0:00 /bin/sh -c /var/www/ispcp/engine/awstats/awstats_updateall.pl
root     15140  0.0  0.3   4468  1656 ?        S    00:15   0:00 /usr/bin/perl /var/www/ispcp/engine/awstats/awstats_updateall
vu2037    6757  0.3  1.2  36408  6160 ?        Rs   01:30   3:27 /usr/bin/php5-cgi
root     10984  0.0  0.1   2532   864 ?        S    06:15   0:00 /USR/SBIN/CRON
root     10985  0.0  0.2   3616  1144 ?        Ss   06:15   0:00 /bin/sh -c /var/www/ispcp/engine/awstats/awstats_updateall.pl
root     10988  0.0  0.3   4464  1664 ?        S    06:15   0:00 /usr/bin/perl /var/www/ispcp/engine/awstats/awstats_updateall
root     10997  0.0  0.2   3612  1152 ?        S    06:15   0:00 sh -c "/usr/lib/cgi-bin/awstats.pl" -update -config=aeon.to -
root     10998  0.2  3.4  20232 17488 ?        S    06:15   2:21 /usr/bin/perl /usr/lib/cgi-bin/awstats.pl -update -config=aeo
vu2017   10581  0.3  1.1  36408  5692 ?        Ss   12:01   1:41 /usr/bin/php5-cgi
root     18973  0.0  0.1   2532   864 ?        S    12:15   0:00 /USR/SBIN/CRON
root     19060  0.0  0.2   3616  1144 ?        Ss   12:15   0:00 /bin/sh -c /var/www/ispcp/engine/awstats/awstats_updateall.pl
root     19062  0.0  0.3   4468  1672 ?        S    12:15   0:00 /usr/bin/perl /var/www/ispcp/engine/awstats/awstats_updateall
root     11190  0.0  0.2   3616  1156 ?        S    14:33   0:00 sh -c "/usr/lib/cgi-bin/awstats.pl" -update -config=ddl-speed
root     11191  0.0  2.5  15372 12832 ?        S    14:33   0:16 /usr/bin/perl /usr/lib/cgi-bin/awstats.pl -update -config=ddl
root     11192  0.0  0.2   3616  1152 ?        S    14:33   0:00 sh -c "/usr/lib/cgi-bin/awstats.pl" -update -config=ddl-speed
root     11193  0.0  1.9  15368  9676 ?        S    14:33   0:16 /usr/bin/perl /usr/lib/cgi-bin/awstats.pl -update -config=ddl
vu2036   21349  0.1  0.9  36408  4660 ?        Rs   16:08   0:12 /usr/bin/php5-cgi
root     23618  0.0  0.4  13000  2004 ?        Ss   16:09   0:00 /usr/sbin/apache2 -k start
www-data 23777  0.0  0.2  12880  1276 ?        S    16:09   0:00 /usr/sbin/apache2 -k start
www-data 23778  0.0  0.2  12744  1284 ?        S    16:09   0:02 /usr/sbin/fcgi-pm -k start
vu2000   23779  0.0  0.8  36412  4304 ?        Ss   16:09   0:00 /usr/bin/php5-cgi
vu2000   23788  0.0  2.2  38588 11268 ?        S    16:09   0:01 /usr/bin/php5-cgi
vu2000   23789  0.0  2.3  38828 11660 ?        S    16:09   0:01 /usr/bin/php5-cgi
www-data 23808  0.2  2.4 325552 12128 ?        Sl   16:09   0:25 /usr/sbin/apache2 -k start
vu2037   24418  0.0  1.0  36408  5016 ?        Ss   16:09   0:00 /usr/bin/php5-cgi
vu2036   24419  0.0  1.0  36408  5080 ?        Ss   16:09   0:00 /usr/bin/php5-cgi
vu2034   24422  0.0  0.9  36412  4596 ?        Ss   16:09   0:00 /usr/bin/php5-cgi
vu2012   24423  0.0  1.1  36408  5884 ?        Ss   16:09   0:00 /usr/bin/php5-cgi
vu2017   24424  0.0  1.1  36408  5836 ?        Ss   16:09   0:00 /usr/bin/php5-cgi
vu2013   24434  0.0  1.2  36408  6188 ?        Ss   16:09   0:00 /usr/bin/php5-cgi
www-data 24627  0.2  2.5 324692 12544 ?        Sl   16:09   0:26 /usr/sbin/apache2 -k start
www-data 24902  0.2  2.4 325548 12248 ?        Sl   16:09   0:26 /usr/sbin/apache2 -k start
www-data 26162  0.2  2.4 324584 12236 ?        Sl   16:10   0:26 /usr/sbin/apache2 -k start
vu2010   29351  0.0  1.2  36408  6184 ?        Ss   16:11   0:00 /usr/bin/php5-cgi
vu2010   29353  0.0  2.0  38544 10248 ?        S    16:11   0:01 /usr/bin/php5-cgi
vu2010   29354  0.0  2.0  38532 10452 ?        S    16:11   0:00 /usr/bin/php5-cgi
www-data  4671  0.2  2.2 324920 11496 ?        Sl   16:34   0:22 /usr/sbin/apache2 -k start
vu2035   21045  0.0  0.8  36412  4296 ?        Ss   17:11   0:00 /usr/bin/php5-cgi
vu2035   21059  0.0  0.9  38556  4696 ?        S    17:11   0:00 /usr/bin/php5-cgi
vu2035   21060  0.0  1.3  38516  6740 ?        S    17:11   0:00 /usr/bin/php5-cgi
vu2037   15710  0.0  1.2  36408  6176 ?        Ss   17:30   0:06 /usr/bin/php5-cgi
vu2017   18793  0.1  0.8  36412  4500 ?        Ss   17:50   0:07 /usr/bin/php5-cgi
root     29428  0.0  0.1   2532   864 ?        S    18:15   0:00 /USR/SBIN/CRON
root     29475  0.0  0.2   3620  1144 ?        Ss   18:15   0:00 /bin/sh -c /var/www/ispcp/engine/awstats/awstats_updateall.pl
root     29525  0.0  0.3   4468  1668 ?        S    18:15   0:00 /usr/bin/perl /var/www/ispcp/engine/awstats/awstats_updateall
root      9429  0.0  0.1   3616   992 ?        S    18:18   0:00 sh -c "/usr/lib/cgi-bin/awstats.pl" -update -config=ddl-scene
root      9430  0.1  0.9  12700  4824 ?        S    18:18   0:04 /usr/bin/perl /usr/lib/cgi-bin/awstats.pl -update -config=ddl
postfix  25606  0.0  0.3   4820  1632 ?        S    18:35   0:00 pickup -l -t fifo -u -c
root     28745  0.0  0.0      0     0 ?        S    18:37   0:00 [pdflush]
vu2034    2567  0.3  2.4  37460 12048 ?        S    18:40   0:09 /usr/bin/php5-cgi
vu2034    7666  0.4  2.3  37008 11648 ?        S    18:41   0:10 /usr/bin/php5-cgi
vu2017   15304  1.0  2.2  37136 11424 ?        S    18:54   0:18 /usr/bin/php5-cgi
vu2013   15464  1.0  2.6  38708 13144 ?        S    18:54   0:18 /usr/bin/php5-cgi
vu2012   17412  2.3  2.2  37172 11052 ?        S    18:57   0:37 /usr/bin/php5-cgi
vu2013   18398  1.3  2.5  38488 12548 ?        S    18:57   0:20 /usr/bin/php5-cgi
vu2017   18399  1.1  2.0  37080 10036 ?        S    18:57   0:17 /usr/bin/php5-cgi
root     25870  0.0  0.4   7856  2352 ?        Ss   18:59   0:00 sshd: root@pts/0
root     25959  0.0  0.1   2536   872 ?        S    19:00   0:00 /USR/SBIN/CRON
root     25960  0.0  0.1   2532   864 ?        S    19:00   0:00 /USR/SBIN/CRON
root     26000  0.0  0.2   3616  1144 ?        Ss   19:00   0:00 /bin/sh -c test -x /usr/sbin/cron-apt && /usr/sbin/cron-apt /
root     26001  0.0  0.2   3620  1144 ?        Ss   19:00   0:00 /bin/sh -c   /var/www/ispcp/engine/tools/ispcpphptemp.sh >/de
root     26003  0.0  0.2   3628  1216 ?        S    19:00   0:00 /bin/bash /var/www/ispcp/engine/tools/ispcpphptemp.sh
root     26019  0.0  0.2   3676  1268 ?        S    19:00   0:00 /bin/sh /usr/sbin/cron-apt /etc/cron-apt/config2
root     26193  0.0  0.3   4808  1564 ?        S    19:00   0:00 /usr/sbin/sendmail -i -FCronDaemon -oem root
root     26206  0.0  0.0   1564   396 ?        S    19:00   0:00 sleep 3588
root     26226  0.0  0.3   4792  1532 ?        S    19:00   0:00 /usr/sbin/postdrop -r
root     29984  0.0  0.3   4012  1692 pts/0    Ss   19:01   0:00 -bash
root     31532  0.0  0.0      0     0 ?        S    19:02   0:00 [pdflush]
vu2012    2217  0.0  1.1  36408  5640 ?        Rs   19:03   0:00 /usr/bin/php5-cgi
vu2036    2257  0.0  1.0  36412  5416 ?        Rs   19:03   0:00 /usr/bin/php5-cgi
nobody    4175  0.0  0.1   9152   732 ?        Ss   19:05   0:00 proftpd: (accepting connections)
vu2036    5596 11.4  1.1  38184  5536 ?        S    19:06   1:57 /usr/bin/php5-cgi
vu2036   14801 14.0  1.1  38184  5556 ?        S    19:11   1:44 /usr/bin/php5-cgi
vu2037   21422  0.0  1.2  36408  6192 ?        Rs   19:15   0:00 /usr/bin/php5-cgi
vu2017   27918  0.0  1.2  36412  6192 ?        Ss   19:19   0:00 /usr/bin/php5-cgi
vu2013   28084  0.0  1.2  36408  6188 ?        Ss   19:20   0:00 /usr/bin/php5-cgi
vu2013   28085  0.4  1.9  37292  9816 ?        S    19:20   0:01 /usr/bin/php5-cgi
vu2013   28086  0.2  1.8  37192  9212 ?        S    19:20   0:00 /usr/bin/php5-cgi
vu2037   28087  6.0  1.6  37712  8144 ?        S    19:20   0:13 /usr/bin/php5-cgi
vu2013   28133  0.0  1.2  36412  6188 ?        Ss   19:20   0:00 /usr/bin/php5-cgi
vu2013   28134  0.2  1.8  37184  9356 ?        S    19:20   0:00 /usr/bin/php5-cgi
vu2013   28135  0.4  2.1  37288 10548 ?        S    19:20   0:01 /usr/bin/php5-cgi
vu2012   29638  0.0  1.2  36412  6192 ?        Ss   19:21   0:00 /usr/bin/php5-cgi
vu2012   29639  1.8  2.3  37168 11656 ?        S    19:21   0:03 /usr/bin/php5-cgi
vu2012   29640  1.4  2.2  37240 11296 ?        S    19:21   0:02 /usr/bin/php5-cgi
vu2012   29641  0.0  1.2  36412  6192 ?        Ss   19:21   0:00 /usr/bin/php5-cgi
vu2012   29642  1.9  2.4  37168 12484 ?        S    19:21   0:03 /usr/bin/php5-cgi
vu2012   29643  2.0  2.0  37172 10244 ?        S    19:21   0:03 /usr/bin/php5-cgi
vu2012   29644  1.2  2.1  37168 10656 ?        S    19:21   0:01 /usr/bin/php5-cgi
root     29860  0.0  0.1   2812   580 ?        RN   19:21   0:00 find /var/www/virtual/kunde.tld/phptmp -type f -cmin +24
root     29861  0.0  0.0   3016   476 ?        S    19:21   0:00 xargs -r -0 rm
vu2037   31348  5.0  1.6  37712  8040 ?        S    19:22   0:05 /usr/bin/php5-cgi
vu2036   32350  0.0  0.5  29580  2852 ?        R    19:23   0:00 /usr/bin/php5-cgi
vu2012   32368  0.0  0.5  29436  2876 ?        R    19:23   0:00 /usr/bin/php5-cgi
vu2037   32384  0.0  0.5  29436  2988 ?        R    19:23   0:00 /usr/bin/php5-cgi
vu2037   32385  0.0  0.0      0     0 ?        Z    19:23   0:00 [php5-cgi] <defunct>
vu2037   32402  0.0  0.5  36300  2804 ?        R    19:23   0:00 /usr/bin/php5-cgi
vu2036   32417  0.0  0.5  29580  2684 ?        R    19:23   0:00 /usr/bin/php5-cgi
vu2036   32418  0.0  0.3  36300  1608 ?        R    19:23   0:00 /usr/bin/php5-cgi
vu2037   32419  0.0  0.5  29576  2960 ?        R    19:23   0:00 /usr/bin/php5-cgi
vu2037   32433  0.0  0.1  36412   800 ?        R    19:23   0:00 /usr/bin/php5-cgi
vu2036   32436  0.5  2.4  44268 12076 ?        S    19:23   0:00 /usr/bin/php5-cgi
vu2013   32440  0.1  1.2  36412  6188 ?        Ss   19:23   0:00 /usr/bin/php5-cgi
vu2013   32441  0.6  1.7  36996  9008 ?        S    19:23   0:00 /usr/bin/php5-cgi
vu2013   32442  0.0  0.4  36412  2324 ?        S    19:23   0:00 /usr/bin/php5-cgi
root     32443  0.1  0.4   7700  2328 ?        Ss   19:23   0:00 sshd: root@notty
vu2036   32444  0.1  1.2  36408  6188 ?        Ss   19:23   0:00 /usr/bin/php5-cgi
vu2036   32445  6.9  1.2  38184  6116 ?        S    19:23   0:01 /usr/bin/php5-cgi
vu2036   32446  1.0  1.6  40680  8476 ?        S    19:23   0:00 /usr/bin/php5-cgi
vu2017   32450  0.0  0.3  29580  1984 ?        R    19:23   0:00 /usr/bin/php5-cgi
vu2013   32464  0.0  0.5  29576  2624 ?        R    19:23   0:00 /usr/bin/php5-cgi
vu2017   32465  0.0  0.5  29580  2968 ?        R    19:23   0:00 /usr/bin/php5-cgi
vu2017   32481  0.0  0.6  29436  3064 ?        R    19:23   0:00 /usr/bin/php5-cgi
vu2036   32482  0.0  0.4  29580  2496 ?        R    19:23   0:00 /usr/bin/php5-cgi
vu2012   32483  0.0  0.5  29576  2600 ?        R    19:23   0:00 /usr/bin/php5-cgi
vu2017   32484  0.0  0.5  32824  2556 ?        R    19:23   0:00 /usr/bin/php5-cgi
vu2017   32499  0.0  0.5  29440  2676 ?        R    19:24   0:00 /usr/bin/php5-cgi
vu2012   32513  0.0  0.5  29436  2836 ?        R    19:24   0:00 /usr/bin/php5-cgi
vu2012   32514  0.0  0.2  36408  1416 ?        R    19:24   0:00 /usr/bin/php5-cgi
vu2037   32515  0.0  0.3  36408  1968 ?        R    19:24   0:00 /usr/bin/php5-cgi
root     32520  0.0  0.2   4236  1264 ?        Ss   19:24   0:00 /usr/lib/openssh/sftp-server
vu2037   32532  0.0  0.5  29576  2652 ?        R    19:24   0:00 /usr/bin/php5-cgi
vu2017   32548  0.0  0.5  29580  2968 ?        R    19:24   0:00 /usr/bin/php5-cgi
vu2036   32549  0.0  0.3  34260  1712 ?        R    19:24   0:00 /usr/bin/php5-cgi
vu2013   32551  0.0  0.1  36408   892 ?        R    19:24   0:00 /usr/bin/php5-cgi
vu2037   32552  0.0  0.3  36408  1944 ?        R    19:24   0:00 /usr/bin/php5-cgi
root     32554  1.0  0.1   3428   992 pts/0    R+   19:24   0:00 ps aux
(This post was last modified: 04-18-2008 03:27 AM by tetex.)
04-18-2008 03:20 AM
Find all posts by this user Quote this message in a reply
ephigenie Offline
Project Leader
*******
Administrators

Posts: 1,578
Joined: Oct 2006
Reputation: 15
Post: #10
RE: Server optimieren
Dein Problem dürfte hauptsächlich die MySQL sein.
Ansonsten ... hast du einen php - bytecode Cache ala eaccelerator laufen ?

Wenn nicht, kann ich dir das nur nahelegen.
Fürs optimieren der mysql gibts ein lustiges script "tuningprimer.sh" einfach googlen danach Wink Das gibt dir viele hilfreiche tipps zum einstellen deiner config.

Ansonsten sollte die Last nicht das Problem sein (auch nicht bei der Kiste Smile )
04-18-2008 07:08 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)