[Samba] How to reduce size of samba binaries
Javid Abdul-AJAVID1
AJAVID1 at motorola.com
Fri Mar 1 12:30:06 GMT 2002
can you plz explain, Kbytes, Resident , Shared and Private colums for whole
process - smbd.
this much of memory is taken up if you have another smbd process right?
thanks
-----Original Message-----
From: David Collier-Brown [mailto:davecb at canada.sun.com]
Sent: Friday, March 01, 2002 10:03 AM
To: David Brodbeck
Cc: 'Jon Gerdes'; dennisvr at yahoo.com; samba at lists.samba.org;
abartlet at pcug.org.au
Subject: Re: [Samba] How to reduce size of samba binaries
David Brodbeck wrote:
>
> Isn't most of that memory being shared between the various copies anyway?
> "top" on my samba system shows me that while smbd uses roughly 2280K of
> memory, about 1500K of that is shared.
on solaris, the address space look like this:
elsbeth> pmap -x `pgrep smbd`
517: /usr/local/samba/bin/smbd -D
Address Kbytes Resident Shared Private Permissions Mapped
File
00010000 1384 424 - 424 read/exec smbd
00178000 160 72 - 72 read/write/exec smbd
001A0000 288 264 - 264 read/write/exec [ heap ]
FF140000 8 8 - 8 read/write/shared dev:118,7
ino:1371973
FF150000 8 - - - read/write/shared dev:118,7
ino:1371975
FF160000 8 8 - 8 read/write/shared dev:118,7
ino:1309890
FF170000 8 8 - 8 read/write/exec [ anon ]
FF180000 672 648 624 24 read/exec libc.so.1
FF238000 32 32 - 32 read/write/exec libc.so.1
FF250000 16 16 8 8 read/exec libmp.so.2
FF264000 8 8 - 8 read/write/exec libmp.so.2
FF270000 8 8 - 8 read/exec
libc_psr.so.1
FF280000 552 504 456 48 read/exec libnsl.so.1
FF31A000 32 32 - 32 read/write/exec libnsl.so.1
FF322000 32 24 - 24 read/write/exec libnsl.so.1
FF330000 40 40 32 8 read/exec
libsocket.so.1
FF34A000 8 8 - 8 read/write/exec
libsocket.so.1
FF350000 24 24 16 8 read/exec libgen.so.1
FF366000 8 8 - 8 read/write/exec libgen.so.1
FF370000 16 16 8 8 read/exec libsec.so.1
FF384000 8 8 - 8 read/write/exec libsec.so.1
FF390000 8 8 - 8 read/exec libdl.so.1
FF3A0000 8 8 - 8 read/write/exec [ anon ]
FF3B0000 136 136 128 8 read/exec ld.so.1
FF3E2000 8 8 - 8 read/write/exec ld.so.1
FFBEC000 16 16 - 16 read/write/exec [ stack ]
-------- ------ ------ ------ ------
Kbytes Resident Shared Private
total Kb 3496 2336 1272 1064
My smbd (without libraries) takes 1544 KB, but only
496 KB is unshared. The libraries add the rest
of the data
Kbytes Resident Shared Private
00010000 1384 424 - 424 read/exec smbd
00178000 160 72 - 72 read/write/exec smbd
--dave
--
David Collier-Brown, | Always do right. This will gratify
Performance & Engineering | some people and astonish the rest.
Americas Customer Engineering, | -- Mark Twain
(905) 415-2849 | davecb at canada.sun.com
--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba
More information about the samba
mailing list