More probs with fcntl calls

David Collier-Brown davecb at canada.sun.com
Tue Jul 24 13:55:42 GMT 2001


Joe Meslovich wrote:
> 
> Dave,
>         I had two more runaway smbd processes this morning. I am running
> samba2.2.1a from the cvs last night following Jeremy's locking fix. Below
> is an example of the output of a truss -f -p 28336 -v fcntl it just kept
> repeating this pattern over and over again:
> 
> 28336:  fcntl(13, F_SETLKW, 0x080472A0)                 = 0
> 28336:  fcntl(13, F_SETLKW, 0x080472A0)                 = 0
> 28336:  sendto(5, "03\0B0 n\0\0AE p ] ; =BC".., 26, 0, 0x08047334, 16) =
> 26
> 28336:  fcntl(13, F_SETLKW, 0x080472A0)                 = 0
> 28336:  fcntl(13, F_SETLKW, 0x080472A0)                 = 0
> 28336:  sendto(5, "03\0B0 n\0\0AE p ] ; =BC".., 26, 0, 0x08047334, 16) =
> 26
> 28336:  fcntl(13, F_SETLKW, 0x080472A0)                 = 0
> 28336:  fcntl(13, F_SETLKW, 0x080472A0)                 = 0
> 28336:  sendto(5, "03\0B0 n\0\0AE p ] ; =BC".., 26, 0, 0x08047334, 16) =
> 26
> 28336:  fcntl(13, F_SETLKW, 0x080472A0)                 = 0
> 28336:  fcntl(13, F_SETLKW, 0x080472A0)                 = 0
> 28336:  sendto(5, "03\0B0 n\0\0AE p ] ; =BC".., 26, 0, 0x08047334, 16) =
> 26
> 28336:  fcntl(13, F_SETLKW, 0x080472A0)                 = 0
> 28336:  fcntl(13, F_SETLKW, 0x080472A0)                 = 0
> 28336:  sendto(5, "03\0B0 n\0\0AE p ] ; =BC".., 26, 0, 0x08047334, 16) =
> 26
> 28336:  fcntl(13, F_SETLKW, 0x080472A0)                 = 0
> 28336:  fcntl(13, F_SETLKW, 0x080472A0)                 = 0

	Ok, we're in a loop trying to do locking,
	and reporting soemthing each time. Whod
	recognizes this, anmd what should Joe do?

--dave
-- 
David Collier-Brown,           | Always do right. This will gratify 
Performance & Engineering Team | some people and astonish the rest.
Americas Customer Engineering  |                      -- Mark Twain
(905) 415-2849                 | davecb at canada.sun.com




More information about the samba-technical mailing list