-
Bug
-
Resolution: Fixed
-
Normal
-
None
-
None
Catalyst::Plugin::AutoRestart uses Proc::ProcessTable. Each time the AutoRestart plugin kicks in (subject to min_handled_requests and check_each) it makes of the order of 25,000 syscalls, when in fact the required functionality can be achieved in about 4 syscalls.
Even worse, Proc::ProcessTable is used in MusicBrainz::Server to (very inefficiently) collect performance diagnostic output.
We should strip out Proc::ProcessTable and use MP::ProcessSize (provided by the BBC), which is far more efficient. This also involves replacing Catalyst::Plugin::AutoRestart by a locally-developed version which calls MP::ProcessSize instead of Proc::ProcessTable.
- is related to
-
MBS-4534 Release MP::ProcessSize
- Closed