extreme mem usage under amd64 arch ?
patrick
patrick at cyberwizards.nl
Fri Apr 7 06:06:16 UTC 2006
Hello,
Hope someone can shine a light for me on this,
I have several boxes running STABLE 4/5/6
one of them is amd64/stable6 on dual opterons.
I notice that on this amd system the httpd 2.2 and perl 5.8.8 binairies
alocateds a lot of memory:
76562 www 1 20 0 156M 38528K lockf 0 0:00 0.00% httpd
76561 www 1 20 0 156M 38528K lockf 0 0:00 0.00% httpd
76830 www 1 20 0 155M 37740K lockf 0 0:00 0.00% httpd
76560 www 1 20 0 155M 37736K lockf 0 0:00 0.00% httpd
76563 www 1 4 0 155M 37736K kqread 0 0:00 0.00% httpd
61338 root 1 8 0 155M 37668K nanslp 0 0:02 0.00% httpd
73328 root 1 8 0 142M 102M nanslp 0 0:03 0.00% perl5.8.8
73611 root 1 8 0 142M 101M nanslp 0 0:03 0.00% perl5.8.8
75475 root 1 8 0 142M 99M nanslp 0 0:02 0.00% perl5.8.8
76966 root 1 8 0 142M 99M nanslp 0 0:02 0.00% perl5.8.8
75736 root 1 8 0 142M 101M nanslp 0 0:02 0.00% perl5.8.8
The binairy self has normal size:
~$ ls -lah /usr/local/sbin/httpd
-rwxr-xr-x 1 root wheel 510K Apr 6 22:46 /usr/local/sbin/httpd
~$ ls -lah /usr/local/bin/perl5.8.8
-rwxr-xr-x 2 root wheel 12K Mar 4 09:48 /usr/local/bin/perl5.8.8
on the other systems (all i386 archs) the allocation for these binairies
is a lot nomalizer, think about 52440K / 41492K :
26322 root 2 0 52440K 50040K poll 0:19 0.00% 0.00% perl5.8
26296 root 2 0 52340K 49964K poll 0:20 0.00% 0.00% perl5.8
26411 root 2 0 52328K 50024K poll 0:25 0.00% 0.00% perl5.8
69338 www 18 0 41492K 35560K lockf 2:00 0.00% 0.00% httpd
69387 www 18 0 29856K 23992K lockf 1:48 0.00% 0.00% httpd
69376 www 18 0 29816K 23940K lockf 1:49 0.00% 0.00% httpd
Stripping the configs so that there is almost nothing in there , the
allocated mem size still remains 150Mbs..
The only big diff in this case is the AMD64 arch.
The packages are default builds from port.
Anyone any ideas ?
Thanks in advanced.
patrick
--
More information about the freebsd-amd64
mailing list