size and number of smbd processes
Luke Kenneth Casson Leighton
lkcl at switchboard.net
Fri Jul 2 01:47:10 GMT 1999
On Fri, 2 Jul 1999, Mattias Laage wrote:
> Gerald Carter wrote:
> > The reason I ask is because this seems to vary drastically
> > between platforms. The report here was for ~1.7Mb per smbd.
> > Luke has mentioned before a number of 600 - 800K for the
> > working set. However, on Solaris 2.6, I daily see
> > 2.5Mb for the working set for each smbd using 2.0.3.
> the samba smbd executable measures 1.15 M on my HPUX.
> The version is 2.0.0 (maybe I should get an update :-) )
> the size command says 809K (text-segment) and 88K (data-segments added)
> the top command reports all smbd processes with more or less 1.7M
> If we can regard the text-segment as shared there remains a rest of ~900K
> for each process ?
it'll be slightly less than that, as smbd runs for a bit before forking.
due to copy-on-write, only modified data-segment pages are replaced
(through copying and then page-faulting).
More information about the samba-ntdom