dennis00
Nov 16 2004, 06:34 AM
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
Nov 19 2004, 03:33 PM
jeff-p4
Nov 19 2004, 03:52 PM
I take it you already have a dual xeon server?
dennis00
Nov 20 2004, 08:25 AM
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
Nov 20 2004, 09:41 AM
Have you checked into what is causing the load? A poorly coded script? Non-optimized database structure, sheer http requests?
RexAdmin
Nov 29 2004, 02:54 PM
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
Dec 18 2004, 06:10 AM
You can use system limits to pervent apache eat all resources.
robin R
Dec 30 2004, 11:39 PM
Or charge them more, If they are getting the traffic, then they will be 'happy' to pay more surely...
Robin.
kamihacker
Dec 31 2004, 01:18 PM
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
Jan 1 2005, 07:34 PM
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
Jan 1 2005, 08:06 PM
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.