[Samba] smbd 100% systemload
Ulrik Guenther
ulrik at 00t.org
Sat Apr 2 15:33:24 GMT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Heya,
after looking through the man page of smb.conf, I've found another
interesting directive:
max smbd processes
This one has its value set to 0 by default, try setting it to a value
reasonable for your count of clients. I assume it has to be used in
combination with deadtime, otherwise old processes might not exit and so
new ones cannot spawn...
Regards,
Ulrik
Matthias Henze wrote:
| i've killed the process. with the next "bad" process i will do this.
| this may take some time, as with "deadtime", as proposed by ulrik, i've
| reduced the numer of such processes dramaticly. but this "deadtime"
| stuff looks to me like a workaround, no solution, as i do not konw the
| source of the problem. any way - "deadtime" made it a bit easier for me.
|
| my main concern is that too many of these processes crash the machine
| and i can't monitor it all the time ....
|
|
| --On Freitag, April 01, 2005 10:22:46 +0200 "José M. Fandiño"
| <samba at fadesa.es> wrote:
|
|> Matthias Henze wrote:
|>
|>>
|>> hi jose,
|>>
|>> thanks for the hint, but i do not think, dat this causes the problem. i
|>> use ldap on the whole system (pam, nss, mail, samba ...) so goups
|>> "should" be consistent.
|>>
|>> # net groupmap list
|>> users (S-1-5-21-2136796781-1836600926-1834964671-513) -> users
|>> admins (S-1-5-21-2136796781-1836600926-1834964671-512) -> admins
|>> guests (S-1-5-21-2136796781-1836600926-1834964671-514) -> guests
|>> buchhaltung (S-1-5-21-2136796781-1836600926-1834964671-3005) ->
|>> buchhaltung
|>
|>
|>
|> could you run "strace" with the "-p" parameter pointing the proccess
|> with high cpu use?
|>
|> # strace -h
|> ...
|> -p pid -- trace process with process id PID, may be repeated
|>
|> --
|> -----BEGIN GEEK CODE BLOCK-----
|> Version: 3.1
|> GCS/IT d- s+:+() a31 C+++ UBL+++$ P+ L+++ E--- W++ N+ o++ K- w---
|> O+ M+ V- PS+ PE+ Y++ PGP+>+++ t+ 5 X+$ R- tv-- b+++ DI D++>+++
|> G++ e- h+(++) !r !z
|> ------END GEEK CODE BLOCK------
|
|
|
|
| Matthias Henze matthias at mhcsoftware.de
|
| Use PGP!! http://www.mhcsoftware.de/MatthiasHenze.asc
| - - - - - - - - - - - - - - - - - - - - - - - - - - -
| MHC SoftWare GmbH voice: +49-(0)9533-92006-0
| Fichtera 17 fax: +49-(0)9533-92006-6
| 96274 Itzgrund/Germany e-Mail: info at mhcsoftware.de
| - - - - - - - - - - - - - - - - - - - - - - - - - - -
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCTrtEy06DkvPH780RAizBAJ9RmSGOMJDOpbONttaCnEZnKhlLPQCfbwLn
tuVAjVbip7I7WTQK98krIDs=
=vRTe
-----END PGP SIGNATURE-----
More information about the samba
mailing list