Out of memory email should include process user information
Completed
A trivial request:
When cPanel emails the admin because an OOM condition occurred, it should also display the process owner in the email. For certain setups (e.g. mod_ruid2) this will enable the admin to determine which username caused the OOM issue assuming PHP was running.
In addition, when used with Cloud Linux, cgroups are in use. The email however states that "A process was terminated because the system is low on memory" but in reality it could have just reached its cgroup memory limit, so this is misleading.
This is now in a public build of version 64, 64.0.1, which is in the CURRENT tier. Update to version 64 to take advantage of this change.
cPanel & WHM version 64 Release
This is now in a public build of version 64, 64.0.1, which is in the CURRENT tier. Update to version 64 to take advantage of this change.
cPanel & WHM version 64 Release
Totally agree. And is there any way to contain those Out of Memory emails being sent out to the server admin to maybe 1 per minute, instead of 100 per second or whatever I usually end up getting once this happens, thus adding to the strain already happening on the server and clogging things up, pouring more gasoline on the fire?!
Totally agree. And is there any way to contain those Out of Memory emails being sent out to the server admin to maybe 1 per minute, instead of 100 per second or whatever I usually end up getting once this happens, thus adding to the strain already happening on the server and clogging things up, pouring more gasoline on the fire?!
I agree the 'system low on memory' message is misleading when it was indeed a cgroup memory limit, and likely leads to unnecessary support tickets.
Additionally, cgroup id numbers are used in the dmesg output but these are not useful; we need to see usernames. So if the process owner username could be added to the process ID row, that'd be perfect.
If that's too much to ask, even just a tip like this in the email notification would've helped me:
I agree the 'system low on memory' message is misleading when it was indeed a cgroup memory limit, and likely leads to unnecessary support tickets.
Additionally, cgroup id numbers are used in the dmesg output but these are not useful; we need to see usernames. So if the process owner username could be added to the process ID row, that'd be perfect.
If that's too much to ask, even just a tip like this in the email notification would've helped me:
We will update the OOM parser in v64 to parse the process table included in the OOM output to get the user/uid of the process.
This has been assigned case CPANEL-11658
We will update the OOM parser in v64 to parse the process table included in the OOM output to get the user/uid of the process.
This has been assigned case CPANEL-11658
This is now in a public build of version 64, 64.0.1, which is in the CURRENT tier. Update to version 64 to take advantage of this change.
cPanel & WHM version 64 Release
This is now in a public build of version 64, 64.0.1, which is in the CURRENT tier. Update to version 64 to take advantage of this change.
cPanel & WHM version 64 Release
Replies have been locked on this page!