Web Hosting Talk







View Full Version : apache server problem


jeff
06-09-2001, 11:17 AM
my server always experienced connection loss problem during rush hour. I need to refresh my browser few times before getting connection to it. I would happy if anyone can show me what's wrong with my server in this case? great thanks
here is little log from 'top'
4:11am up 2 days, 23:58, 1 user, load average: 0.02, 0.36, 0.74
156 processes: 154 sleeping, 2 running, 0 zombie, 0 stopped
CPU states: 8.2% user, 4.7% system, 0.0% nice, 87.0% idle
Mem: 256332K av, 145944K used, 110388K free, 228020K shrd, 25348K buff
Swap: 313228K av, 19608K used, 293620K free 17632K cached

Planet Z
06-09-2001, 01:55 PM
There's a lot of things it could be. I'd check your Apache logs and see if any error messages are coming up.

My best guess is that your MaxClients is set too low in Apache. Search httpd.conf and look for "MaxClients". It seems you're probably running 100+ httpd processes at the time when you're having problems accessing it, so the MaxClients should probably be set to at least 200. The default is usually 150.

jeff
06-09-2001, 03:18 PM
MaxClients value was set to 1024.
there is usually 250 runing processes.
memory, cpu all loading are nice.