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 free...@jdc.parodius.comwrote: On Wed, Dec 14, 2011 at 11:47:10PM +0400,

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 free...@jdc.parodius.comwrote:

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 free...@jdc.parodius.comwrote: On Wed, Dec 14, 2011 at 11:47:10PM +0400, Andrey Zonov wrote: On 14.12.2011 22:22, Jeremy Chadwick wrote:

Re: directory listing hangs in ufs state

2011-12-15 Thread Andrey Zonov
On Thu, Dec 15, 2011 at 12:42 AM, Jeremy Chadwick free...@jdc.parodius.comwrote: 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

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 free...@jdc.parodius.comwrote: 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

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)

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 biowr

Re: directory listing hangs in ufs state

2011-12-14 Thread Alan Cox
On Wed, Dec 14, 2011 at 12:22 PM, Jeremy Chadwick free...@jdc.parodius.comwrote: 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

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 free...@jdc.parodius.com 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

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

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. After some

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 (kdump -R):