[SAC] OOM killer on tracsvn

Sandro Santilli strk at kbt.io
Tue Sep 6 06:45:33 PDT 2016


On Tue, Sep 06, 2016 at 03:43:51PM +0200, Sandro Santilli wrote:

> First step to optimization is understanding what's going on.
> Does anyone have an idea about how to tell _which_ Apache-served
> applications are taking up the most memory ? It's somewhat easier
> when Apache only acts as a proxy (as for the Gogs case), but much
> harder with in-process apache extensions (as for trac).
> 
> Current situation:
> 
>  Mem:   8200012k total,  2532680k used,  5667332k free,    52508k buffers
>  Swap:  4096568k total,    68612k used,  4027956k free,  1271972k cached
> 
> Top 21 processes in memory usage order are 21 apache forks, from:
> 
>   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
> 31541 www-data  20   0  419m  82m  10m S    0  1.0   0:03.80 /usr/sbin/apache2 -k start

For the record, the Gogs process follows with:

    PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
  19736 git       20   0  362m  31m 6300 S    0  0.4   2:47.91 /home/git/gogs/gogs web

--strk;


More information about the Sac mailing list