Portal Home > Knowledgebase > Articles Database > Process handling in apache !!!


Process handling in apache !!!




Posted by map007, 01-12-2010, 07:51 PM
Hi, I have cPanel server and one of my client server that access API on my server. Now whenever my client access or call that API my server goes busy or response slowly and other clients are not able to access my server or getting slow response fron my server. So is it possible to set process limit in apache from certain ip or certain user. or run those client's process in queue......... Please guide me......... Thank you in advance......

Posted by LeaTrueman, 01-13-2010, 12:34 AM
Hello, Using Apache Directives RlimitCPU, RlimitMEM, RlimitnPROC , we can restrict the number of process and their resource usage.

Posted by map007, 01-13-2010, 11:58 AM
Hi, Thanks for your reply LeaTrueman..... But i want certain user's or ip's process limit that comes from remote machine to my server. So please guide me how can i do that..... Thank you.

Posted by bvsonline, 01-13-2010, 02:27 PM
Hi, You can't set limits to a certain IP address or so. If there is large amount of accesses from a certain IP address, then you can limit that by installing particular apache moduleslike "mod-deflate". Also the directive LimitRequestBody allows you to set some resource limits for a user. But this kind of limits are applicable to all users in the server.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
CircaVPS Down? (Views: 684)

Language: