Peak of Load and Process - Directadmin RH9

PauGasol

Verified User
Joined
Feb 3, 2004
Messages
125
Hi,

I have a server with Red Hat 9 and Directadmin, with 300 Domains, the machine works fine. Xeon Dual , 2 gb, two hdds, Zend Performance Suite, optimization etc etc.. the average of load is 1 or 2 in hours of high activity and processes around 200. all ok but appers peak that hang the machine one minutes until the apache is restaring ...

700 or 800 process, i saw this years ago with 7.3 ,,, any ideas? the mysql process are 3 o 4 at same time, the server load normal and in the error_log of apache i only see segmentation fauls (few) sometimes.

any help or similar expirience?

Tanks
 
Example of peak :

23:18:19 up 1 day, 2:24, 1 user, load average: 29.80, 19.93, 12.42
1120 processes: 1113 sleeping, 6 running, 1 zombie, 0 stopped
CPU0 states: 2.13% user 4.1% system 0.0% nice 0.0% iowait 93.3% idle
CPU1 states: 1.15% user 1.6% system 0.0% nice 0.0% iowait 96.12% idle
CPU2 states: 2.12% user 1.14% system 0.0% nice 0.0% iowait 95.8% idle
CPU3 states: 2.0% user 1.13% system 0.0% nice 0.0% iowait 96.3% idle
Mem: 2063892k av, 2048312k used, 15580k free, 0k shrd, 34696k buff
1310168k actv, 278712k in_d, 43620k in_c
Swap: 4144760k av, 963388k used, 3181372k free 315800k cached
 
outpernet said:
check if you have any strange file in /tmp or /var/tmp

Yeah, I think isn´t a problem of hacking. Anyway i have just saw the directorys and i dont see nothing special, maybe in /var/tmp :

-rw-r--r-- 1 root root 133762 Jul 22 21:10 rpm-xfer.fxRLyc
-rw-r--r-- 1 root root 133762 Jul 22 21:04 rpm-xfer.ilxUzG
-rw-r--r-- 1 root root 434176 Jul 22 21:10 rpm-xfer.O1TflT
drwxr-xr-x 3 apache apache 4096 Feb 28 11:52 vi.recover

the vi.recover of apache, i dont understan what thats ? but have not any file, only directoris. The ports opened is normal, and the process running.

Current top, normal, as always : 00:34:35 up 1 day, 3:41, 1 user, load average: 2.75, 2.31, 3.26
151 processes: 150 sleeping, 1 running, 0 zombie, 0 stopped
CPU0 states: 9.0% user 1.0% system 0.0% nice 0.0% iowait 88.0% idle
CPU1 states: 0.1% user 0.0% system 0.0% nice 0.0% iowait 99.0% idle
CPU2 states: 4.0% user 0.0% system 0.0% nice 0.0% iowait 95.0% idle
CPU3 states: 4.0% user 1.0% system 0.0% nice 0.0% iowait 93.0% idle


but sometimes the load and process start to up and up and up.. until 1000 or 2000 pids and 100 of load, stop mysql and apache and return to normal activity. at least 6 or 7 similar peaks all days in hours of more people visiting the webs. I dont understand why

sorry my bad english.

Thanks outpernet
 
one time that happened to me, it was an extrange loop of apache request. You dont loose anything if you try to update apache/php
 
outpernet said:
one time that happened to me, it was an extrange loop of apache request. You dont loose anything if you try to update apache/php

I have 1.3.31 with php 4.3.8 , updated 3 or 4 weeks ago. Anyway only the php, the apache 1.3.31 have more time, now im seeing the update of mod_ssl in the custum apache script. do you recommed me recompile all.. php, apache, zlib, mycript.. the ./build all come on ?

thanks again
 
Back
Top