Author Topic: Mod_Limits.c is working but service does not resume  (Read 597 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Mod_Limits.c is working but service does not resume
« on: January 27, 2018, 09:27:24 AM »
Hi,

I am running CWP on 1 GB server on AWS with few files. If any of the website in the server receives 250+ users per minutes, than the RAM is full and server crashes. I found the solution here,

http://wiki.centos-webpanel.com/how-to-install-mod_limits

I installed it and it does work. Got 503, service not available in tests. But when the users are normal again, as I stop the test. I still get 503 error. Apache does not resume services for any of the VHost.

I am using

<IfModule mod_limits.c>
    LimitMaxConnsPerVhost 20
    LimitMaxConnsPerUid 20
    LimitMaxConnsPerIP 30
    LimitMaxLoadAVG 10
    CheckLoadInterval 5
</IfModule>

Any help will be appreciated.

Offline
****
Re: Mod_Limits.c is working but service does not resume
« Reply #1 on: January 27, 2018, 05:55:19 PM »
I tested it on my server and i doesnt see the same issue.