netnameus

Well-Known Member
Mar 7, 2004
131
0
166
Ok, I know that this could be one of a million things, but I hope maybe some here can give me any useful suggestions you may have.

I have noticed that my server has "slowed down" over the past few days. By slow down I mean

  1. Takes about 17 seconds afer I login to SSH and enter my password, for the prompt to show. It used to be like 1 second
  2. Scripts that have an "execution time" at the bottom that used to take .5 seconds, now take 10 seconds
  3. 59 sql queries take 5 seconds, before it was like .00001 seconds

Here's my top information:
top - 22:56:54 up 3 days, 36 min, 1 user, load average: 0.42, 0.18, 0.13
Tasks: 80 total, 3 running, 77 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.7% us, 0.3% sy, 0.0% ni, 98.7% id, 0.3% wa, 0.0% hi, 0.0% si
Mem: 1551532k total, 1513024k used, 38508k free, 189864k buffers
Swap: 2096472k total, 159540k used, 1936932k free, 603320k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
28226 nobody 15 0 27152 17m 18m S 23.4 1.1 0:02.96 httpd


my httpd command always seems to be the highest memory usage, here at 23.4% as you can see!

My maillog (/var/log/exim_log) is not showing anything out of the ordinary.

Again, this is "slow" in comparison to what it has been for the past 1+ year....

Thanks in advanced.
 

bhd

Well-Known Member
Sep 20, 2003
149
2
166
JNB ZA
cPanel Access Level
Root Administrator
netnameus said:
  1. Takes about 17 seconds afer I login to SSH and enter my password, for the prompt to show. It used to be like 1 second
  2. Scripts that have an "execution time" at the bottom that used to take .5 seconds, now take 10 seconds
  3. 59 sql queries take 5 seconds, before it was like .00001 seconds
fwiw we have one server doing the same thing. Load is fine, resolvers are woking fine and it's almost 100% vanilla flavor ... the thing is just slow as mud.

With us it happened around the 10.8.x update. Still have no clue what it is though.
 

nyjimbo

Well-Known Member
Jan 25, 2003
1,136
1
168
New York
"28226 nobody 15 0 27152 17m 18m S 23.4 1.1 0:02.96 httpd"

You need to check more stuff. Like the above httpd process should also be visible in the Apache Status in WHM. The PID should show more info on what page or function is being run.

Also did you update or install mod_security recently ?. Sometimes a long modsec.conf file will drive a server into the ground.
 

jayh38

Well-Known Member
Mar 3, 2006
1,213
0
166
Check /var/log/messages for any messages about large files or file limits? If so, check your domlogs, you may have a file somewhere topping 2 gig which will slow things to a crawl.