Help - Search - Members - Calendar
Full Version: 1 site takes huge load
The Planet Forums > System Administration > Load Balancing
dennis00
I have a site on my server which causes 80% of the cpu-load due about 30 http-requests per second.

Is it possible to limit the requests per second for this site to 10 per second?
jd_waverly
Have you tried mod_bandwidth? I've never used it but it may meet you needs:

http://freshmeat.net/projects/mod_bandwidth/

http://www.hostlibrary.com/Installingmod_b...ontrol-544.html

http://www.cohprog.com/v3/bandwidth/doc-en.html


TRY this search on the forum:

http://forum.ev1servers.net/search.php?s=&...rder=descending
jeff-p4
I take it you already have a dual xeon server?
dennis00
QUOTE
Originally posted by jeff-p4
I take it you already have a dual xeon server?
lol, no. Of course not. I have 200 sites on the server, only 2 sites of them are using much resources. I'm not going to afford a Dual Xeon for 2 clients who only pay €150 yearly and kill the server's resources.
EOC_Jason
Have you checked into what is causing the load? A poorly coded script? Non-optimized database structure, sheer http requests?
RexAdmin
You can always ask for additional IP, then run two istances of Apache, on new IP you will move "heavy" sites and then you have lot of ways to control it: via cqb (bandwidth limiting), via connections, etc.

Good luck.
eSupport.org.ua
You can use system limits to pervent apache eat all resources.
robin R
Or charge them more, If they are getting the traffic, then they will be 'happy' to pay more surely...

Robin.
kamihacker
if these sites are php based you can try adding a php-cache system, looking at mysqlslow logs and maybe upgrading to mysql4 and enabling query caching

regards
terry99
QUOTE
Originally posted by eSupport.org.ua
You can use system limits to pervent apache eat all resources.

How do I enable system limits?
kamihacker
I think they're kernel based

in such case must be related to this

http://www.hp-eloquence.com/sdb/html/linux_limits.html
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.