Solaris fcntl CPU/Lock update

jra at dp.samba.org jra at dp.samba.org
Fri Jan 31 17:18:54 GMT 2003


On Fri, Jan 31, 2003 at 09:07:23AM -0800, Jeff Mandel wrote:
> I have followed this fcntl bug closely, and I just applied a T-patch for 
> solaris 8 which brought the kernel 108528-19. This includes the fix for 
> 4735093. This has not fixed the problem of smbd growing to consume all 
> available CPU.
> Environment is SunOS reiger 5.8 Generic_108528-19 sun4u sparc 
> SUNW,Sun-Fire-280R
> nss_ldap-203
> pam_ldap-137
> 
> Here's an excerpt of the truss I've used to diagnose this with sun.
> 
> 24495/1:            *** SUID: ruid/euid/suid = 0 / 3007 / 3007  ***
> 24495/1:            *** SGID: rgid/egid/sgid = 0 / 125 / 125  ***
> Base time stamp:  1041263328.3198  [ Mon Dec 30 16:48:48 CET 2002 ]
> 24495/1:        psargs: /usr/local/samba/bin/smbd -D 
> -s/usr/local/samba/lib/smb.
> conf
> 24495/1:         0.0012 sigprocmask(SIG_SETMASK, 0xFED2AD70, 0xFFBEDF10) = 0
> 24495/1:                 set = 0xFFBFFEFF 0x00001FFF 0 0
> 24495/1:                oset = 0 0 0 0
> 24495/1:         0.0016 lwp_kill(1, SIGUSR1)                            = 0
> 24495/1:         0.0018 sigprocmask(SIG_SETMASK, 0xFFBEDF10, 0x00000000) = 0
> 24495/1:                 set = 0 0 0 0
> 24495/1:         0.0019     Received signal #16, SIGUSR1 [caught]
> 24495/1:              siginfo: SIGUSR1 pid=24495 uid=0 code=-1
> 24495/1:         0.0021 setcontext(0xFFBED9C8)
> 24495/1:         0.0022 sigprocmask(SIG_SETMASK, 0xFED2AD70, 0xFFBEDEB0) = 0
> 24495/1:                 set = 0xFFBFFEFF 0x00001FFF 0 0
> 24495/1:                oset = 0 0 0 0
> 24495/1:         0.0025 lwp_kill(1, SIGUSR1)                            = 0

Please ensure the smbd process is compiled with debug symbols (-g)
and then attach to it with gdb and please send in a stack backtrace
(bt command in gdb).

Thanks,

	Jeremy.

> *** Repeats continuously ***
> 
> Any suggestions?


More information about the samba-technical mailing list