Re: directory listing hangs in "ufs" state

2011-12-22 Thread Alan Cox
On 12/22/2011 03:48, Kostik Belousov wrote: On Wed, Dec 21, 2011 at 09:03:02PM +0400, Andrey Zonov wrote: On 15.12.2011 17:01, Kostik Belousov wrote: On Thu, Dec 15, 2011 at 03:51:02PM +0400, Andrey Zonov wrote: On Thu, Dec 15, 2011 at 12:42 AM, Jeremy Chadwick wrote: On Wed, Dec 14, 2011 at

Re: directory listing hangs in "ufs" state

2011-12-22 Thread Kostik Belousov
On Wed, Dec 21, 2011 at 09:03:02PM +0400, Andrey Zonov wrote: > On 15.12.2011 17:01, Kostik Belousov wrote: > >On Thu, Dec 15, 2011 at 03:51:02PM +0400, Andrey Zonov wrote: > >>On Thu, Dec 15, 2011 at 12:42 AM, Jeremy Chadwick > >>wrote: > >> > >>>On Wed, Dec 14, 2011 at 11:47:10PM +0400, Andrey Zo

Re: directory listing hangs in "ufs" state

2011-12-21 Thread Andrey Zonov
On 15.12.2011 17:01, Kostik Belousov wrote: On Thu, Dec 15, 2011 at 03:51:02PM +0400, Andrey Zonov wrote: On Thu, Dec 15, 2011 at 12:42 AM, Jeremy Chadwick wrote: On Wed, Dec 14, 2011 at 11:47:10PM +0400, Andrey Zonov wrote: On 14.12.2011 22:22, Jeremy Chadwick wrote: On Wed, Dec 14, 2011 at

Re: directory listing hangs in "ufs" state

2011-12-15 Thread Kostik Belousov
On Thu, Dec 15, 2011 at 03:51:02PM +0400, Andrey Zonov wrote: > On Thu, Dec 15, 2011 at 12:42 AM, Jeremy Chadwick > wrote: > > > On Wed, Dec 14, 2011 at 11:47:10PM +0400, Andrey Zonov wrote: > > > On 14.12.2011 22:22, Jeremy Chadwick wrote: > > > >On Wed, Dec 14, 2011 at 10:11:47PM +0400, Andrey Z

Re: directory listing hangs in "ufs" state

2011-12-15 Thread Andrey Zonov
On Thu, Dec 15, 2011 at 12:42 AM, Jeremy Chadwick wrote: > On Wed, Dec 14, 2011 at 11:47:10PM +0400, Andrey Zonov wrote: > > On 14.12.2011 22:22, Jeremy Chadwick wrote: > > >On Wed, Dec 14, 2011 at 10:11:47PM +0400, Andrey Zonov wrote: > > >>Hi Jeremy, > > >> > > >>This is not hardware problem, I'

Re: directory listing hangs in "ufs" state

2011-12-14 Thread Jeremy Chadwick
On Wed, Dec 14, 2011 at 11:47:10PM +0400, Andrey Zonov wrote: > On 14.12.2011 22:22, Jeremy Chadwick wrote: > >On Wed, Dec 14, 2011 at 10:11:47PM +0400, Andrey Zonov wrote: > >>Hi Jeremy, > >> > >>This is not hardware problem, I've already checked that. I also ran > >>fsck today and got no errors.

Re: directory listing hangs in "ufs" state

2011-12-14 Thread Andrey Zonov
On 14.12.2011 22:22, Jeremy Chadwick wrote: On Wed, Dec 14, 2011 at 10:11:47PM +0400, Andrey Zonov wrote: Hi Jeremy, This is not hardware problem, I've already checked that. I also ran fsck today and got no errors. After some more exploration of how mongodb works, I found that then listing han

Re: directory listing hangs in "ufs" state

2011-12-14 Thread Andrey Zonov
On 14.12.2011 22:53, Alan Cox wrote: On Wed, Dec 14, 2011 at 12:22 PM, Jeremy Chadwick mailto:free...@jdc.parodius.com>> wrote: On Wed, Dec 14, 2011 at 10:11:47PM +0400, Andrey Zonov wrote: > Hi Jeremy, > > This is not hardware problem, I've already checked that. I also ran

Re: directory listing hangs in "ufs" state

2011-12-14 Thread Alan Cox
On Wed, Dec 14, 2011 at 12:22 PM, Jeremy Chadwick wrote: > On Wed, Dec 14, 2011 at 10:11:47PM +0400, Andrey Zonov wrote: > > Hi Jeremy, > > > > This is not hardware problem, I've already checked that. I also ran > > fsck today and got no errors. > > > > After some more exploration of how mongodb w

Re: directory listing hangs in "ufs" state

2011-12-14 Thread Jeremy Chadwick
On Wed, Dec 14, 2011 at 10:11:47PM +0400, Andrey Zonov wrote: > Hi Jeremy, > > This is not hardware problem, I've already checked that. I also ran > fsck today and got no errors. > > After some more exploration of how mongodb works, I found that then > listing hangs, one of mongodb thread is in "

Re: directory listing hangs in "ufs" state

2011-12-14 Thread Andrey Zonov
Hi Jeremy, This is not hardware problem, I've already checked that. I also ran fsck today and got no errors. After some more exploration of how mongodb works, I found that then listing hangs, one of mongodb thread is in "biowr" state for a long time. It periodically calls msync(MS_SYNC) acco

Re: directory listing hangs in "ufs" state

2011-12-13 Thread Jeremy Chadwick
On Wed, Dec 14, 2011 at 01:11:19AM +0400, Andrey Zonov wrote: > Hi, > > I've got STABLE-8 (r221983) with mongodb-1.8.1 installed on it. A > couple days ago I observed that listing of mongodb directory stuck > in a few minutes in "ufs" state. I've run it again with ktrace and > got following (kdum

directory listing hangs in "ufs" state

2011-12-13 Thread Andrey Zonov
Hi, I've got STABLE-8 (r221983) with mongodb-1.8.1 installed on it. A couple days ago I observed that listing of mongodb directory stuck in a few minutes in "ufs" state. I've run it again with ktrace and got following (kdump -R): 91324 ls 0.03 CALL lstat(0x32c199c8,0x32c19950)