sshd virtual memory usage on different hardware

Francis Bacon chode128 at gmail.com
Tue Apr 10 18:22:37 UTC 2018


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


More information about the freebsd-questions mailing list