Server is facing high load and NS1 is not responding

Thanks For reply,

i Install varnish but dont know how to open port 8080 to check that site.com:8080 has varnish on it or not??
Please guide
 
Last edited:
Thanks nobaloney ,
please tell me i have to juat increase ram? currentlly i have 2 core cpu. i have to increase it also or not???
I cannot tell if your problem is RAM or not. That would require studying your server over time. But if you're using Cached RAM, then it's likely that increasing the RAM will resolve that cause of the problem.
Unfortunately my service provider told me that planes are not upgradeable.
Now i have very much need of the script to restart apache after certain load.
See chatwizrd's post (quorted below) and my reply.
Restarting apache because it is using alot of resources is absolutely unacceptable. You should NEVER restart apache just because it is busy. Learn how to use caching and tweak your config settings.
The only reason I recommend starting Apache is because I've found that usually the problem is that memory is exhausted and RAM cache is being used by Apache, which slows it down. In that situation restarting Apache will release it's use of Cache RAM.

No, it's not a good solution, but in my opinion a reasonable fix for a server maxed out on memory.

If you still feel you need/want the script send me an email.

Jeff
 
@chatwizrd and nobaloney
Thanks for your help sir.
Thanks for script and thanks for tips.
I Installed Varnish and redirect trafic from port 80 to port 8080 and now my site is up fom 7 days, only 1 message in 7 days of high load and load was 10 but apcahe did not hang and server was responding at that time too.
On my next payment i will also increase Ram and will set VPS from an expert.
Right Now Varnish rocks.
Site speed also improves.

Thanks again guys for help.

Regards
 
Back
Top