[Samba] high cpu load with 3.0.20b (not using ldap)

Gerald (Jerry) Carter jerry at samba.org
Thu Oct 20 14:49:40 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sebastian Held wrote:
> Hi,
> 
> I've a problem, with a cpu load (>66% while running a separate 
> virusscanner with another 30%) of one of my smbd processes.
> It only happens occasionally (approx. 2 times in the last 4 weeks).
> The backtrace is attached. It seems to me, that smbd is
> looking for colorlaser5quota. This printer isn't attached anymore to
> the server and neither cups nor samba configuration
> files include a section for this printer.   Is this error due
> to a bug in libc.so.6 not returning from __nis_hash() ? Or
> because this machine is a NIS-server?
> 
...
> 
> (gdb) bt
> #0  0x403172a2 in __nis_hash () from /lib/tls/libc.so.6
> #1  0x403187e6 in __nscd_cache_search () from /lib/tls/libc.so.6
> #2  0x40317374 in nscd_getpw_r () from /lib/tls/libc.so.6
> #3  0x40317662 in __nscd_getpwnam_r () from /lib/tls/libc.so.6
> #4  0x402b92bd in getpwnam_r@@GLIBC_2.1.2 () from /lib/tls/libc.so.6
> #5  0x402b8c81 in getpwnam () from /lib/tls/libc.so.6
> #6  0x081f038c in sys_getpwnam (name=0x798716af "") at system.c:883
> #7  0x081f4658 in getpwnam_alloc (name=0xbfffe500 "COLORLASER5QUOTA") at 
> util_pw.c:103

Looks like and issue in the nscd client request.  The getpwnam() lookup
is happening because a client is trying to connect to
\\server\colorlaser5quota and you have a [homes] section.

Does this help you out?







cheers, jerry
=====================================================================
Alleviating the pain of Windows(tm)      ------- http://www.samba.org
GnuPG Key                ----- http://www.plainjoe.org/gpg_public.asc
"There's an anonymous coward in all of us."               --anonymous
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDV66EIR7qMdg1EfYRAqg1AJ9JnnpwSTqJ6gjXbcbSNYZczx972ACfaD+x
9Dxq5ropYf6P3bbqJbgV3Zk=
=67Gk
-----END PGP SIGNATURE-----


More information about the samba mailing list