Web Hosting Talk







View Full Version : redhat server


jeff
06-12-2001, 11:58 AM
I wonder how much reqeusts(vistors/traffic) can a apache httpd server can serve (linux, httpd and all others are on default settings)?
because my apache server seems always freeze for few seconds during rush hours. There is only about 40 requests/second. and 100 processes runing. Are there anyway to improve the webserver performance?
thanks

Fremont Servers
06-12-2001, 12:04 PM
Hello,


Are you sure it is not the spec of your server or your connection?

jeff
06-12-2001, 12:05 PM
there are no packet loss when I do 'ping' to my server.

Eagle_
06-12-2001, 03:34 PM
What kind of system is it (hardware) and what connection is it on? Also, what version of redhat & apache?

jeff
06-12-2001, 03:37 PM
hardware config. PIII800, 256MB Ram,
dedicated server at weinbar.com
Apache/1.3.14, RedHat 7.0 ver. Apache/1.3.14

thanks

Eagle_
06-12-2001, 03:41 PM
Check your httpd.conf there is a line in there that handles the number of requests

jeff
06-12-2001, 03:45 PM
MaxRequestsPerChild 1000
KeepAlive On
MaxKeepAliveRequests 0

thanks

Eagle_
06-12-2001, 04:11 PM
Yeah,
those are the lines...
changed them to whatever you want.

jeff
06-12-2001, 04:13 PM
Originally posted by Eagle

changed them to whatever you want.

what values should I change to?

Eagle_
06-12-2001, 04:16 PM
This one also

MaxClients 1500
MaxKeepAliveRequests 1000

that should work fine.

jeff
06-12-2001, 04:18 PM
does it need to set MaxClients to 1500?
maxclients = 150 can handle millions page views a day, isn't it?

Eagle_
06-12-2001, 04:20 PM
That will work too

jeff
06-12-2001, 11:25 PM
appreicate for ur helps. but these can't solve the problem. any other suggestions?

The Prohacker
06-12-2001, 11:33 PM
Try turning keepalive off, that may help all depends on server and scripts being used by the site....

jeff
06-12-2001, 11:38 PM
I had try turn off keepalive. won't help.
it's mainly runing PHP + MySQL,
the cpu, memery load all are nice.