Infinite fcntl calls

David Collier-Brown davecb at canada.sun.com
Thu Jul 19 17:31:11 GMT 2001


Joe Meslovich wrote:
>         What I see every so often are smbd processes that steal 90% of a
> CPU's cycles doing apparently infinite fcntl calls ( I have always had
> the kill the processes). Below is an example of a truss -f -p of one of
> the offending processes. Earlier exploration showed that this was occuring
> while the system was traversing the locking database. I know that some
> others are experiencing this and I know that it was looked at some. I want
> to know if anyone has found a resolution to this problem yet. Personally
> it is my only hurdle in maintaining 2.2.1a as a stable replacement for
> 2.0.6.
> 
> 4187:   fcntl(13, F_SETLKW64, 0xEFFFF280)               = 0
> 4187:   fcntl(13, F_SETLKW64, 0xEFFFF280)               = 0

	Try adding -v fcntl to the command line,
	to see if you can get a dump of the struct passed.

	F_SETLKW64 is " Set file lock and wait", from 	
	/usr/include/sys/fcntl.h

--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