``Resource temporarily unavailable'' in vi

Terry Lambert tlambert2 at mindspring.com
Tue Jul 15 02:11:49 PDT 2003


Mark Murray wrote:
> Mikhail Teterin writes:
> > 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'm seeing this on current. I use bash, and the machine is not
> loaded. The heaviest process is spamassassin. There isn't even X running
> on the box.

One way to track this down, if it's that repeatable for everyone,
would be to open another terminal window, get the pid of the
program that's going to do this, and then:

	truss -p <pid> | grep "Resource temp"

...or just let it run to completion, and you'll get some context,
too, in your scrollback buffer.

Knowing what system call is failing would be very helpful toward
tracking the problem down.

-- Terry


More information about the freebsd-current mailing list