|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #70605 Option to attach a pool to a cgroup
Submitted: 2015-09-30 09:37 UTC Modified: 2017-04-10 18:56 UTC
Avg. Score:3.0 ± 1.4
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:2 (100.0%)
From: framelio at gmail dot com Assigned: bukka (profile)
Status: Assigned Package: FPM related
PHP Version: 7.0.0 OS: Unix
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: framelio at gmail dot com
New email:
PHP Version: OS:


 [2015-09-30 09:37 UTC] framelio at gmail dot com
Would be nice to have the possibility to attach a PHP pool to a Control Group (kernel feature).

This will allow to set cpu, io, memory limits at kernel level.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2015-10-01 11:33 UTC] framelio at gmail dot com
-PHP Version: 7.0.0RC3 +PHP Version: 7.0.0
 [2015-10-01 11:33 UTC] framelio at gmail dot com
Another nice feature would be to attach the pool to a namespace with setns().

This would allow a safer chroot environment.
 [2017-04-10 18:56 UTC]
-Status: Open +Status: Assigned -Assigned To: +Assigned To: bukka
 [2017-04-10 18:56 UTC]
It's currently discussed in

I have some interest in it so assigning myself...
 [2020-12-19 18:35 UTC] martynas at martynas dot it
Is support for linux namespaces and cgroupsv2 still planned? At this time it's required to start php-fpm process per-user to get them into user slices (and get the limitations in effect), this adds lots of overhead...
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Feb 24 22:01:29 2024 UTC