[Samba] smbd hung processes - Samba 3.0.7
john.debella at teradyne.com
john.debella at teradyne.com
Wed Dec 8 19:10:01 GMT 2004
This time things behaved a little differently. Samba was not replying to
mount requests. An strace of the parent smbd process showed that the
requests coming in were attempted to be spawned, however, were failing. I
observed this behavior when we had processes hanging and the spawned
processes appeared to be hung on a lock. We've since removed strick
locking and now the spawned processes die immediately after being spawned.
clone(child_stack=0,
flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb72142e8) = 29287
close(22) = 0
select(1024, [18 19 20], NULL, NULL, NULL) = ? ERESTARTNOHAND (To be
restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, NULL, WNOHANG) = 29284
waitpid(-1, NULL, WNOHANG) = 0
sigreturn() = ? (mask now [FPE USR2 PIPE])
select(1024, [18 19 20], NULL, NULL, NULL) = ? ERESTARTNOHAND (To be
restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, NULL, WNOHANG) = 29285
waitpid(-1, NULL, WNOHANG) = 0
sigreturn() = ? (mask now [FPE USR2 PIPE])
select(1024, [18 19 20], NULL, NULL, NULL) = 1 (in [18])
time(NULL) = 1102529684
accept(18, {sa_family=AF_INET, sin_port=htons(1865),
sin_addr=inet_addr("131.101.53.201")}, [16]) = 22
fcntl64(22, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(22, F_SETFL, O_RDWR) = 0
clone(child_stack=0,
flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb72142e8) = 29288
close(22) = 0
select(1024, [18 19 20], NULL, NULL, NULL) = ? ERESTARTNOHAND (To be
restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, NULL, WNOHANG) = 29286
waitpid(-1, NULL, WNOHANG) = 0
sigreturn() = ? (mask now [FPE USR2 PIPE])
select(1024, [18 19 20], NULL, NULL, NULL) = 1 (in [18])
time(NULL) = 1102529684
accept(18, {sa_family=AF_INET, sin_port=htons(1304),
sin_addr=inet_addr("131.101.18.20")}, [16]) = 22
fcntl64(22, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(22, F_SETFL, O_RDWR) = 0
clone(child_stack=0,
flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb72142e8) = 29289
close(22) = 0
select(1024, [18 19 20], NULL, NULL, NULL) = ? ERESTARTNOHAND (To be
restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, NULL, WNOHANG) = 29287
waitpid(-1, NULL, WNOHANG) = 0
sigreturn() = ? (mask now [FPE USR2 PIPE])
select(1024, [18 19 20], NULL, NULL, NULL) = 1 (in [18])
time(NULL) = 1102529684
accept(18, {sa_family=AF_INET, sin_port=htons(2064),
sin_addr=inet_addr("131.101.185.75")}, [16]) = 22
fcntl64(22, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(22, F_SETFL, O_RDWR) = 0
clone(child_stack=0,
flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb72142e8) = 29290
close(22) = 0
select(1024, [18 19 20], NULL, NULL, NULL) = ? ERESTARTNOHAND (To be
restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
"Gerald (Jerry) Carter" <jerry at samba.org>
12/08/2004 11:53 AM
To: john.debella at teradyne.com
cc: samba at samba.org
Subject: Re: [Samba] smbd hung processes - Samba 3.0.7
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
john.debella at teradyne.com wrote:
| Hmmm. So do you think turning off strict locking will
| help or is there something "wrong" with the tdb records
| that we can clear?
First we need to find out what file that fd is associated
with. Then we can start working backwards to find root cause.
cheers, jerry
- ---------------------------------------------------------------------
Alleviating the pain of Windows(tm) ------- 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.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBtzGPIR7qMdg1EfYRAi6dAJ9ShhAuixBiW4PLkq2BbM0h7IIF+QCfZjJX
Z2Mc3N+SCOQm3RgKfDEwxCY=
=ZDqD
-----END PGP SIGNATURE-----
More information about the samba
mailing list