Homekolab.org

Manually track memory usage

Authored by mollekopf on Apr 29 2020, 5:02 PM.

Description

Manually track memory usage

Summary:
memory_get_usage() does not return useful results at it seems like the
bulk of the memory is used outside of the php engine (e.g. in
resources).

RSS usage can for instance be tracked using the following snippet:

`ps --pid $pid --no-headers -orss`;

The current accumulation method is in no way accurate and will probably
require some tuning to be on the safe side.

Differential Revision: https://git.kolab.org/D1237

Details

Committed
mollekopfApr 30 2020, 6:16 PM
Pushed
mollekopfMay 4 2020, 11:50 AM
Differential Revision
D1237: Manually track memory usage
Parents
rSbdfb95825b52: Update Syncroton
Branches
Unknown
Tags
Unknown
Build Status
Buildable 29341