Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jul 2003 18:42:21 -0400
From:      Barney Wolff <barney@databus.com>
To:        Mikhail Teterin <mi+mx@aldan.algebra.com>
Cc:        current@freebsd.org
Subject:   Re: ``Resource temporarily unavailable'' in vi
Message-ID:  <20030714224221.GA83394@pit.databus.com>
In-Reply-To: <200307141808.32439@misha-mx.virtual-estates.net>
References:  <200307141808.32439@misha-mx.virtual-estates.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 14, 2003 at 06:08:32PM -0400, Mikhail Teterin wrote:
> Every once in a while, a vi-session dies on me with:
> 
> 	input: Resource temporarily unavailable
> 
> What does it mean, why does it happen, and how can I prevent it?

I suspect vi's not handling an EAGAIN error return.  I get this on
-stable when ripping a cd with grip/cdda2wav.  Are you doing something
that runs at very high priority when it happens?  Judging from the
comments in /usr/src/sys/errno.h, it could also be that there is a
resource deadlock and vi is not translating the errno correctly.
Anyway, pending a fix in vi to handle retryable errors, the workaround
is not to do whatever it is that you're doing at the same time.

-- 
Barney Wolff         http://www.databus.com/bwresume.pdf
I'm available by contract or FT, in the NYC metro area or via the 'Net.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030714224221.GA83394>