PDA

View Full Version : Server crash


abys
12th March 2006, 20:41
Hello,
I got a very big problem my server , a Dell SC420, 512 MO RAM, Intel Celeron,
Mandrake 10.1, Apache 2, Mysql 4
The server frezze,
i can ping the machine but, the webserver, mysql, webmin don't work
a recompiled the kernel, with noacpi
but the server always frezze
ther is nothing in the logs
Is anybody help me !

the frezze never begin a the same time

i use all the mysql config possible (huge,small...)

i thik it is the apache server how "eat" all the RAM
But sometime the server frezze with 200MO free (with TOP function)

i have no idea?
If someone have the same problem
HELP ME !!!

falko
13th March 2006, 13:08
Did this happen also with the old kernel?

abys
13th March 2006, 23:51
Did this happen also with the old kernel?
i don't know i use kernel 2.6 with no acpi compiled
i try with 2.6 with acpi compiled but the server crash too!!!
is it possible that a php script do that!

falko
14th March 2006, 00:11
And you don't see a process eating up your CPU or memory when you run top?

abys
14th March 2006, 14:37
when i make a top, new httpd process appear and memory decrease
sometime i have 5mo of free ram

top - 13:37:54 up 18:33, 2 users, load average: 0.27, 0.20, 0.13
Tasks: 108 total, 2 running, 106 sleeping, 0 stopped, 0 zombie
Cpu(s): 8.6% us, 1.0% sy, 0.0% ni, 89.8% id, 0.0% wa, 0.3% hi, 0.3% si
Mem: 506944k total, 500704k used, 6240k free, 11348k buffers
Swap: 1124508k total, 143280k used, 981228k free, 131512k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2302 root 15 0 47284 27m 19m S 1.6 5.5 0:42.03 X
3135 myuser 15 0 21976 12m 9516 S 1.0 2.5 0:51.73 httpd2
3142 myuser 15 0 22704 12m 9516 S 1.0 2.5 1:00.29 httpd2
3145 myuser 17 0 23308 13m 9516 S 1.0 2.7 1:08.34 httpd2
3128 myuser 17 0 24308 13m 9516 S 0.6 2.6 1:15.51 httpd2
3129 myuser 16 0 23896 14m 9516 S 0.6 2.8 1:08.05 httpd2
3134 myuser 16 0 24264 14m 9516 S 0.6 2.9 1:14.09 httpd2
3136 myuser 17 0 23248 13m 9516 S 0.6 2.8 1:05.16 httpd2
3714 myuser 16 0 24140 14m 9516 S 0.6 2.8 1:12.71 httpd2
3715 myuser 17 0 22836 12m 9516 S 0.6 2.6 1:05.46 httpd2
3718 myuser 17 0 23244 13m 9516 S 0.6 2.7 1:03.10 httpd2
22240 root 15 0 31636 10m 16m S 0.6 2.2 0:03.36 gnome-terminal
30066 root 16 0 2004 1044 1788 R 0.6 0.2 0:00.24 top
1 root 16 0 1408 496 1256 S 0.0 0.1 0:00.99 init
2 root 34 19 0 0 0 S 0.0 0.0 0:00.01 ksoftirqd/0
3 root 5 -10 0 0 0 S 0.0 0.0 0:00.00 events/0
4 root 5 -10 0 0 0 S 0.0 0.0 0:00.00 khelper
5 root 5 -10 0 0 0 S 0.0 0.0 0:04.95 kblockd/0
38 root 15 0 0 0 0 S 0.0 0.0 0:00.01 kapmd
40 root 15 0 0 0 0 S 0.0 0.0 0:00.28 pdflush
41 root 15 0 0 0 0 S 0.0 0.0 0:00.18 pdflush
43 root 15 -10 0 0 0 S 0.0 0.0 0:00.00 aio/0
42 root 15 0 0 0 0 S 0.0 0.0 0:01.67 kswapd0
142 root 16 0 0 0 0 S 0.0 0.0 0:00.00 kseriod
150 root 5 -10 0 0 0 S 0.0 0.0 0:00.00 ata/0
151 root 21 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_0
152 root 22 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_1
280 root 15 0 0 0 0 S 0.0 0.0 0:01.68 kjournald
430 root 6 -10 1388 348 1236 S 0.0 0.1 0:00.02 udevd
829 root 15 0 0 0 0 S 0.0 0.0 0:00.00 khubd
1329 root 15 0 0 0 0 S 0.0 0.0 0:01.76 kjournald
2021 root 18 0 2024 1068 1896 S 0.0 0.2 0:00.00 mysqld_safe

falko
14th March 2006, 19:13
Looks ok...

abys
15th March 2006, 10:43
i don t know why it crash :(
thanks
i think i ll install a fedora core 4