forked from MatthewIfe/mod_cgroup
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make pids.max limit work for apache processes.
Migrated cgroup processes are counted agains pids.current but pids.max limit is not enforced (by killing processes for example). Thus we have to do checking manually before migration and if limit is reached we return 429 / HTTP_TOO_MANY_REQUESTS.
- Loading branch information
Showing
1 changed file
with
96 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters