ich habe einen Root bei S4Y mit 1 GB Arbeitsspeicher.
Auf diesem Server betreibe ich einen Paidmailer. Die Seite hat etwas über 10.000 Besucher im Durchschnitt täglich, wodurch die meisten durch eine Bettelrally auf die Seite kommen.
Vorher lag die Seite bei zwei anderen Hostern, auf einem Shared-Server, die auch nur 1 GB Ram hatten.
Auf dem System sind Debian4, APache2 und Confixx 3.3.1 Pro.
Nunja, bis vorgestern lief der Server Problemlos. Dann habe ich die Seite allerdings auf den Server geladen und Schwupps traten erste Probleme auf. Der Server ist grundsätzlich nachts und morgends down und ab und zu am Tag auch. Nur ein Neustart hilft ihm wieder auf die Beine.
Daran verwunderlich ist aber, dass die Speicherauslastung eigentlich immer so bei 60% liegt (laut phpsysinfo).
Ab und zu schnellt diese aber auf 80% hoch - und manchmal auch auf 99%. Und das immer dann, bevor der Server down geht.
In den Logs tauchen dann owas auf:
Code: Select all
[Thu Nov 22 01:57:31 2007] [error] (12)Cannot allocate memory: fork: Unable to fork new process
Code: Select all
top - 18:22:40 up 2:59, 1 user, load average: 0.40, 1.30, 1.30
Tasks: 172 total, 1 running, 170 sleeping, 0 stopped, 1 zombie
Cpu(s): 2.0%us, 0.5%sy, 0.0%ni, 97.5%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 1011496k total, 663980k used, 347516k free, 79288k buffers
Swap: 999992k total, 24k used, 999968k free, 229788k cached
28856 root 15 0 10732 1460 960 R 33 0.1 0:00.89 top
1 root 18 0 6120 676 560 S 0 0.1 0:01.79 init
2 root RT 0 0 0 0 S 0 0.0 0:00.06 migration/0
3 root 34 19 0 0 0 S 0 0.0 0:00.00 ksoftirqd/0
4 root RT 0 0 0 0 S 0 0.0 0:00.00 watchdog/0
5 root RT 0 0 0 0 S 0 0.0 0:00.06 migration/1
6 root 34 19 0 0 0 S 0 0.0 0:00.00 ksoftirqd/1
7 root RT 0 0 0 0 S 0 0.0 0:00.00 watchdog/1
8 root 10 -5 0 0 0 S 0 0.0 0:00.00 events/0
9 root 10 -5 0 0 0 S 0 0.0 0:00.00 events/1
10 root 10 -5 0 0 0 S 0 0.0 0:00.01 khelper
11 root 10 -5 0 0 0 S 0 0.0 0:00.00 kthread
16 root 10 -5 0 0 0 S 0 0.0 0:00.04 kblockd/0
17 root 10 -5 0 0 0 S 0 0.0 0:00.06 kblockd/1
20 root 10 -5 0 0 0 S 0 0.0 0:00.00 khubd
22 root 10 -5 0 0 0 S 0 0.0 0:00.00 kseriod
97 root 21 0 0 0 0 S 0 0.0 0:00.00 pdflush
98 root 15 0 0 0 0 S 0 0.0 0:00.00 pdflush
99 root 10 -5 0 0 0 S 0 0.0 0:00.40 kswapd0
100 root 16 -5 0 0 0 S 0 0.0 0:00.00 aio/0
101 root 16 -5 0 0 0 S 0 0.0 0:00.00 aio/1
335 root 19 -5 0 0 0 S 0 0.0 0:00.00 ata/0
336 root 20 -5 0 0 0 S 0 0.0 0:00.00 ata/1
337 root 20 -5 0 0 0 S 0 0.0 0:00.00 ata_aux
379 root 16 -5 0 0 0 S 0 0.0 0:00.00 scsi_eh_0
380 root 13 -5 0 0 0 S 0 0.0 0:00.00 scsi_eh_1
927 root 10 -5 0 0 0 S 0 0.0 0:03.35 kjournald
1105 root 19 -4 10592 696 328 S 0 0.1 0:00.06 udevd
1384 root 13 -5 0 0 0 S 0 0.0 0:00.00 kpsmoused
1537 root 16 -5 0 0 0 S 0 0.0 0:00.00 kmirrord
1790 root 15 0 3728 596 460 S 0 0.1 0:02.39 syslogd
1796 root 18 0 2656 392 312 S 0 0.0 0:00.00 klogd
1842 amavis 18 0 78564 34m 2276 S 0 3.5 0:00.02 amavisd-new
1865 amavis 18 0 79548 33m 1824 S 0 3.4 0:00.00 amavisd-new
1868 amavis 20 0 79548 33m 1808 S 0 3.4 0:00.00 amavisd-new
1869 root 22 0 10112 1524 1196 S 0 0.2 0:00.00 mysqld_safe
1906 mysql 15 0 158m 40m 5672 S 0 4.1 22:45.43 mysqld
1907 root 18 0 2640 536 452 S 0 0.1 0:00.00 logger
1965 root 15 0 72244 40m 2272 S 0 4.1 0:00.86 spamd
1984 clamav 18 0 60672 45m 888 S 0 4.6 0:01.80 clamd
2071 clamav 15 0 14356 864 604 S 0 0.1 0:00.00 freshclam
2079 root 22 0 3880 420 324 S 0 0.0 0:00.00 courierlogger
2080 root 18 0 10168 636 500 S 0 0.1 0:00.00 authdaemond
2087 root 18 0 10168 252 116 S 0 0.0 0:00.00 authdaemond
2088 root 18 0 10168 252 116 S 0 0.0 0:00.00 authdaemond
2089 root 18 0 10168 252 116 S 0 0.0 0:00.00 authdaemond
2090 root 18 0 10168 252 116 S 0 0.0 0:00.00 authdaemond
2091 root 18 0 10168 252 116 S 0 0.0 0:00.00 authdaemond
2094 root 21 0 3880 348 260 S 0 0.0 0:00.00 courierlogger
2095 root 22 0 6028 608 500 S 0 0.1 0:00.00 couriertcpd
2108 root 22 0 3880 348 260 S 0 0.0 0:00.00 courierlogger
2109 root 18 0 6024 608 500 S 0 0.1 0:00.00 couriertcpd
2117 root 15 0 80156 44m 3048 S 0 4.5 0:04.80 spamd
Da ich mich nicht so mit Linux auskenne kann ich dazu nicht wirklich viel sagen. Ich weiß nur, dass die Seite auf anderen Servern, die schwächer waren, einwandfrei lief. Bei S4U meinte der Support, dass ich mehr Ram brauche.
Danke schonmal für eure Hilfe!
gruß
Tobi