Keith Bettinger
2004-Mar-17 22:27 UTC
[Samba] Mac OS X Server 10.3: Monotonically increasing Samba processes?
Through my Server Admin, a graph of Samba "connected users" shows that the number of smbd server processes grows and grows without end -- processes never time out/log out and die. This was no problem under light usage, but when I moved a heavily used share to the server, the number of processes spun out of control. What made it all worse was that many of the supposedly dormant processes still took up 0.5% of the CPU, which, when the process numbers grew into the hundreds, did a nice job of locking up the server. Can anyone else report a similar experience? Is there a fix? ------------------------------------------------------ Keith Bettinger Lead Programmer/Head Systems Administrator Stanford Psychiatry Neuroimaging Laboratory (650) 498-4620 ------------------------------------------------------ Technical Details: Machine Model: Xserve CPU Type: PowerPC G4 (3.3) Number Of CPUs: 2 CPU Speed: 1.33 GHz L2 Cache (per CPU): 256 KB L3 Cache (per CPU): 2 MB Memory: 2 GB Bus Speed: 167 MHz Boot ROM Version: 4.65f3 smb.conf: [global] log level = 2 display charset = UTF-8-MAC print command = /usr/sbin/PrintServiceAccess printps %p %s lprm command = /usr/sbin/PrintServiceAccess remove %p %j security = domain log file = /var/log/samba/log.%m guest account = unknown encrypt passwords = yes password server = * printing = BSD allow trusted domains = no preferred master = no lppause command = /usr/sbin/PrintServiceAccess hold %p %j netbios name = spnlXserve wins support = no add machine script = /usr/bin/opendirectorypdbconfig -c create_computer_account -r %u -n "/LDAPv3/127.0.0.1" max smbd processes = 0 printcap server string = spnlXserve MEGA Server lpresume command = /usr/sbin/PrintServiceAccess release %p %j logon drive = H: domain logons = no lpq command = /usr/sbin/PrintServiceAccess jobs %p admin users = @admin passdb backend = opendirectorysam guest dos charset = CP437 unix charset = UTF-8-MAC auth methods = ntdomain local master = no domain master = no map to guest = Bad User use spnego = yes printer admin = @admin, @staff, unknown logon path = \\%N\profiles\%u workgroup = SPNL-BNRC [Yale-PT] oplocks = 0 map archive = no path = /Volumes/SPNLBNRC-Server/Yale-PT read only = no inherit permissions = 0 strict locking = 1 comment = macosx create mask = 0644 guest ok = 1 directory mask = 0755 [Public] oplocks = 0 map archive = no path = /Shared Items/Public read only = no inherit permissions = 0 strict locking = 1 comment = macosx create mask = 0666 guest ok = 1 directory mask = 0777 [printers] printable = yes path = /tmp
Gerald (Jerry) Carter
2004-Mar-18 14:13 UTC
[Samba] Mac OS X Server 10.3: Monotonically increasing Samba processes?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Keith Bettinger wrote: | Through my Server Admin, a graph of Samba "connected | users" shows that the number of smbd server processes | grows and grows without end -- processes never time out/log | out and die. This was no problem under light usage, but when | I moved a heavily used share to the server, the number of | processes spun out of control. | | What made it all worse was that many of the supposedly | dormant processes still took up 0.5% of the CPU, which, | when the process numbers grew into the hundreds, did | a nice job of locking up the server. | | Can anyone else report a similar experience? Is there | a fix? Keith, Can you provide some more details as how you know the clients have disconnected and the smbd process has not exited (after a minute or so). Also, version details of the server OS, samba, and clients would help. - -- cheers, jerry - ---------------------------------------------------------------------- Hewlett-Packard ------------------------- http://www.hp.com SAMBA Team ---------------------- http://www.samba.org GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc "If we're adding to the noise, turn off this song" --Switchfoot (2003) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFAWa5xIR7qMdg1EfYRAqeMAJ4r4d14fOhvRIumXlm8taFpD0xzxgCeNBDA RkTyedT531cFc9WEgZHLKrM=WJ3u -----END PGP SIGNATURE-----