the dreaded "Resource temporarily unavailable" in vi

Frank Mayhar frank at exit.com
Wed Jun 30 19:44:01 PDT 2004


Doug White wrote:
> On Wed, 30 Jun 2004, Mikhail Teterin wrote:
> > read(2) is failing?
> yes we know.  I've debugged this myself and its not clear WHY its
> returning EAGAIN. Also hacking vi to handle EAGAIN here is very difficult,
> and really it should handle it.

One (small) datapoint, I seem to see it much more often when I'm using
an ssh session that also has an X application (evolution, mostly) running
in the background.  I haven't really tested this, I just have the somewhat
vague impression that if I avoid "the session with evolution running," I
won't run into the problem.

FWIW.
-- 
Frank Mayhar frank at exit.com	http://www.exit.com/
Exit Consulting                 http://www.gpsclock.com/
                                http://www.exit.com/blog/frank/


More information about the freebsd-stable mailing list