http overload

[xtm]

Verified User
Joined
Feb 1, 2006
Messages
16
is it possible to overload the http connection?

I have a forum running on a dedicated lin

system spec

Processor Name Intel(R) Celeron(R) CPU 2.80GHz
Vendor ID GenuineIntel
Processor Speed (MHz) 2792.971
Total Memory 1033840 kB
Free Memory 5704 kB
Total Swap Memory 2048276 kB
Free Swap Memory 2033416 kB

I noticed upon postin this that there is little free memory left? this is after a reboot only 5 mins ago of the server?

I logged into putty and typed ps ax to see the running processors and i was inundated with loads of

4007 ? S 0:00 /usr/sbin/httpd -DHAVE_PHP4 -DHAVE_MMAP_STATIC -DHAVE_VHOST_ALIAS -DHAVE_
4008 ? S 0:00 /usr/sbin/httpd -DHAVE_PHP4 -DHAVE_MMAP_STATIC -DHAVE_VHOST_ALIAS -DHAVE_
4011 ? S 0:00 /usr/sbin/httpd -DHAVE_PHP4 -DHAVE_MMAP_STATIC -DHAVE_VHOST_ALIAS -DHAVE_
4031 ? S 0:00 /usr/sbin/httpd -DHAVE_PHP4 -DHAVE_MMAP_STATIC -DHAVE_VHOST_ALIAS -DHAVE_
4044 ? S 0:00 /usr/sbin/httpd -DHAVE_PHP4 -DHAVE_MMAP_STATIC -DHAVE_VHOST_ALIAS -DHAVE_
4045 ? S 0:00 /usr/sbin/httpd -DHAVE_PHP4 -DHAVE_MMAP_STATIC -DHAVE_VHOST_ALIAS -DHAVE_
4091 ? S 0:00 /usr/sbin/httpd -DHAVE_PHP4 -DHAVE_MMAP_STATIC -DHAVE_VHOST_ALIAS -DHAVE_
4092 ? S 0:00 /usr/sbin/httpd -DHAVE_PHP4 -DHAVE_MMAP_STATIC -DHAVE_VHOST_ALIAS -DHAVE_

Is this a possible overload of the http? or a memory leak else where?
 
It is always possible to overload the server, however I don't think that's the case here.

Even though linux reports that there is little "free memory" the memory is being managed by linux and is probably still available even though it's not reported as being so.
 
On there server there is only 4 forums running :) and because i so that there was wayyy to many of those connections i assumed it was being overloaded?

But surelly with only 4 forums running on it, the httpd would withstand such amounts? its not as if the forums have 1000 people on each of them online at the same time :)

Is there perhaps a httpd setting where it allows only a max amount of connections

:confused: :confused: :confused:
 
If you cut your maximum connections you'll be denying service to some browsers.

As Jon wrote, memory management is handled by linux, and you've got a lot of memory available to processes. I don't see a problem unless you've got a lot of server load.

Most of your swap memory is free; that's a good sign :) .

Jeff
 
Hi

Thanks all for your replies, i found the issue,

Some 1 was downloading from http links and using almost 60mbs of my 100mbs line :confused:

so caused the server to run extremely slow,

Ive since suspended the account and everything is runnin sweet again :)

Thanks for all your assistance
 
As far as controlling number of connections, can someone clarify what these settings are?

MaxKeepAliveRequests
MaxClients
MaxRequestsPerChild

Thanks
 
Back
Top