Add a MaxWorkerRequests limit to mlogc to force recycling workers after they have processed a number of requests.

This commit is contained in:
b1v1r
2009-07-27 20:14:42 +00:00
parent 171ed2ec93
commit 5046369e0c
2 changed files with 28 additions and 0 deletions

View File

@@ -64,6 +64,11 @@ ErrorLogLevel 3
# over a slow link (e.g. not over a LAN).
MaxConnections 10
# How many requests a worker will process before recycling itself.
# This is to help prevent problems due to any memory leaks that may
# exists.
MaxWorkerRequests 1000
# The time each connection will sit idle before being reused,
# in milliseconds. Increase if you don't want ModSecurity Console
# to be hit with too many log collector requests.