From owner-freebsd-current@FreeBSD.ORG Tue Jul 15 04:59:41 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0CA6137B401 for ; Tue, 15 Jul 2003 04:59:41 -0700 (PDT) Received: from tower.berklix.org (bsd.bsn.com [194.221.32.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7CEBE43F85 for ; Tue, 15 Jul 2003 04:59:39 -0700 (PDT) (envelope-from jhs@berklix.org) Received: from tower.berklix.org (localhost [127.0.0.1]) by tower.berklix.org (8.12.6/8.12.6) with ESMTP id h6FBxAS9056473; Tue, 15 Jul 2003 13:59:10 +0200 (CEST) (envelope-from jhs@tower.berklix.org) Received: (from jhs@localhost) by tower.berklix.org (8.12.6/8.12.6/Submit) id h6FBwgLV056472; Tue, 15 Jul 2003 13:58:42 +0200 (CEST) (envelope-from jhs) Date: Tue, 15 Jul 2003 13:58:42 +0200 (CEST) From: Julian Stacey Message-Id: <200307151158.h6FBwgLV056472@tower.berklix.org> To: Mikhail Teterin Fcc: sent-mail cc: current@freebsd.org Subject: Re: ``Resource temporarily unavailable'' in vi X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jul 2003 11:59:41 -0000 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? > > > > Thanks a lot! > > > > -mi > > > > P.S. Running recent -current. > > 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. This caught my eye as I think I saw a simlar message on one of my boxes ( I run 4.5 4.7 4.8 & 5.1 here) for me it was a 10M ether coax connector I'd forgotten to rotate tight (it was just sitting on), causing amd problems to a crontab job, for you maybe your $HOME/.nexrc is on another machine with intermittent net failure. Whatever the cause of your problem, How to trace: Too often on FreeBSD lists one sees error messages treated as great mysteries, but they're often not ! Perhaps we all forget at times but" "Use The Source" ! The curse of Microsfoft "No Source Here" does not apply :-) Use find & grep (I use my script: http://berklix.com/~jhs/bin/.csh/Grep ) Grep "Resource temporarily unavailable" ) contrib/isc-dhcp/common/errwarn.c: return "Resource temporarily unavailable"; contrib/isc-dhcp/omapip/errwarn.c: return "Resource temporarily unavailable"; contrib/sendmail/mail.local/mail.local.c: case EAGAIN: /* Resource temporarily unavailable */ contrib/sendmail/src/conf.c: case EAGAIN: /* Resource temporarily unavailable */ lib/libc/gen/errlst.c: "Resource temporarily unavailable", /* 35 - EAGAIN */ lib/libc/sys/intro.2:.It Er 35 EAGAIN Em "Resource temporarily unavailable" . share/examples/mdoc/example.3:Resource temporarily unavailable. sys/i386/isa/pcvt/pcvt_sup.c: * will cause an EAGAIN (resource temporarily unavailable) to be returned. sys/sys/errno.h:#define EAGAIN 35 /* Resource temporarily unavailable */ Grep on your current; tweak each text occurence differently, EG add a debug number, make world; then you can report &/or investigate where error originates. - Julian Stacey Freelance Systems Engineer, Unix & Net Consultant, Munich. Ihr Rauchen => mein allergischer Kopfschmerz ! Schnupftabak probieren.