Date: Sat, 30 Nov 2002 14:59:24 -0800 From: Terry Lambert <tlambert2@mindspring.com> To: Robert Watson <rwatson@freebsd.org> Cc: Stefanos Kiakas <stefanos@e-scape.net>, freebsd-hackers@freebsd.org Subject: Re: jail Message-ID: <3DE942CC.82604BAA@mindspring.com> References: <Pine.NEB.3.96L.1021130122129.50233C-100000@fledge.watson.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DE942CC.82604BAA>