Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Apr 2018 12:22:34 -0600
From:      Francis Bacon <chode128@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   sshd virtual memory usage on different hardware
Message-ID:  <CABRbKLy+twy-rvdmqTQCwwqPVC0MwOpMfYFz-h6DM9s3BfDM1w@mail.gmail.com>

Next in thread | Raw E-Mail | Index | Archive | Help
Hi guys,

I was trying to find out why sshd uses more memory on different hardware.
All machines are running 11.1-STABLE, but some use 4M some 12M, and
some 22M. It's not dependant on what ssh is doing, as on all of these
machines
it's doing the same thing.

Looking at the virtual memory of the sshd processes it appears different
linked libraries are using more virtual memory different hardware.
The biggest offender is  /usr/lib/libgssapi_spnego.so.10. Below are the
virtual memory usages, and it appears it uses 2235, 9925, and 20295.

Can anyone help me understand why?
Is there anyway to make sshd use the same amount of memory?

Thanks!

Machine1:
  PID              START                END PRT  RES PRES REF SHD FLAG TP
PATH
 3124        0x80440e000        0x80440f000 rw-    1    0   2   0 CN-- vn
/usr/lib/libgssapi_spnego.so.10
 3124        0x804600000        0x805000000 rw- 2235    0   1   0 C-S- df

Machine2:
  PID              START                END PRT  RES PRES REF SHD FLAG TP
PATH
44052        0x80440e000        0x80440f000 rw-    1    0   2   0 CN-- vn
/usr/lib/libgssapi_spnego.so.10
44052        0x804600000        0x806e00000 rw- 9925    0   1   0 C-S- df

Machine3:
  PID              START                END PRT  RES PRES REF SHD FLAG TP
PATH
36973        0x80440e000        0x80440f000 rw-    1    0   2   0 CN-- vn
/usr/lib/libgssapi_spnego.so.10
36973        0x804600000        0x809800000 rw- 20295    0



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?CABRbKLy+twy-rvdmqTQCwwqPVC0MwOpMfYFz-h6DM9s3BfDM1w>