sshd virtual memory usage on different hardware
Daniel Feenberg
feenberg at nber.org
Tue Apr 10 20:00:19 UTC 2018
On Tue, 10 Apr 2018, Francis Bacon wrote:
> 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.
The figure under "RES" is resident memory, not virtual memory. How much of
the library was resident would depend on how much real memory was
available, how much competition for memory there was, and might depend on
what other processes were using that library.
daniel feenberg
>
> 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
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
More information about the freebsd-questions
mailing list