Robert Watson wrote:
> On Thu, 28 Nov 2002, Terry Lambert wrote:

[ ... lockups when using vnodes to hold jail FS instances ... ]

> Hmm.  The only bug like that I know about in -current was corrected in one
> of Kirk or Jeff's passes through getnewvnode() a few months ago, and
> involved a race condition when rotating logs in the same directory during
> a newsyslog call during heavy recursive directory activity --
> specifically, the security script.  Do you have any more practical details
> about the nature of the hang?  In particular, the results of show locks
> and show lockedvnods would be useful for interesting processes, as well as
> their wait channels.

I'm positive it's a problem.

Someone posted test code for it already, which is simpler than
the code I've seen the problem reported with.

I don't personally use jails this way, and it was really
complicated to repeat before the new test code.

If you are interested, I can find the previous report for you;
it had to do with the guy's system with multiple jails locking
up every day at the same time, which turned out to be the time
the /etc/security cron job ran it's 'find'.

This was about 4 months ago, and I helped him work around the
problem by rearranging his directories so that the vnode files
acting as backing store were never in the same subdirectory as
a similar file, if you want to look for it in the archives.

-- Terry

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to