How are you measuring this?

top, or ps aux and watch the RSS column (the real memory (resident set) size of the process (in 1024 byte units)).

A sample top output:

 PID USERNAME PRI NICE   SIZE    RES STATE    TIME   WCPU    CPU COMMAND
87075 www        4    0   178M   174M accept   0:32  3.08%  3.08% httpd
86839 www        4    0   175M   171M accept   1:53  0.39%  0.39% httpd
86827 www        4    0   188M   184M accept   2:12  0.00%  0.00% httpd
86836 www        4    0   187M   183M accept   2:06  0.00%  0.00% httpd
86830 www        4    0   172M   168M accept   2:02  0.00%  0.00% httpd
86831 www        4    0   177M   173M accept   2:02  0.00%  0.00% httpd
86858 www        4    0   189M   185M accept   1:58  0.00%  0.00% httpd
87070 www        4    0   170M   167M accept   0:49  0.00%  0.00% httpd
87073 www        4    0   187M   184M accept   0:38  0.00%  0.00% httpd
87074 www        4    0   174M   170M accept   0:29  0.00%  0.00% httpd
69201 root      96    0   157M   154M select   0:13  0.00%  0.00% httpd

The initial size of the httpd root process was 46 MB.
That's correct.  Are you using Cache::FastMmap, or anything else that
does memory-mapping of files?  That might yield an apparent larger size
if the parent process is one of the ones that has the mmap'ed file open.

No, I'm not using Cache::FastMmap.

Reply via email to