Article View: news.software.nntp
Article #18780Re: actived
From: R. Joyner
Date: Thu, 26 Jun 1997 00:00
Date: Thu, 26 Jun 1997 00:00
60 lines
3395 bytes
3395 bytes
aos@insync.net wrote: > > R. Joyner <rjoyner@ais.net> wrote: > > It does like to die every so often with an EAGAIN in a fcntl() call, but > > I haven't spent much time trying to track that down. Maybe this > > afternoon. > > Chances are this is my bug, not Joe's. I'll have a look and see if I can > tell what's happening. At least on my machine here (Solaris 2.4), it's been > running for about two weeks without a problem. > > > fcntl(5, F_SETLK, 0xEFFFF284) Err#11 EAGAIN > > You haven't said what file is descriptor 5. fcntl will get an EAGAIN if > it tries to work on an already-locked file, so it would help if you could > tell what file is open as number 5. Methinks this might have something to > do with my replacement of the daemon() call with a fork(). > It looks like FD 5 is the active file...I'm going to have to truss it again to make sure. The man page for fcntl() is a bit vague on which condition causes the EAGAIN in the first place..looks like I might have multiple options to investigate. Gee..when I ported it, I did the same replacement of daemon() with fork(). I should diff your port against mine and see just how different they are (sounds like they're almost identical..gee..great minds, yadda, yadda.. :) It's strange that my other 2.5.1 box (which runs a test INN server) doesn't seem to suffer from this nearly as much - if at all. That's part of what's making me mad. Identical machines with identical binaries where one works and one cores. *sigh* This is afterall Sun...I should be used to it by now. Finally - for Joe: I now understand way more of this code than I ever set out to when I first wanted to compile this on Solaris...and I must say, the underlying premise is very cool, and the method of implementation is so simple it's scary. Maybe that's why I admire stuff like this. It works, it's simple, and it makes you say "Well..DUH!..why didn't *I* think of this?!" Nice stuff Joe, very nice! When can we expect the next "Nifty Mod" (tm) from Greco's House of Enhancements? :) /rsj > -- > Andrew Smith -- Sysadmin, Insync Internet Services | PGP Fingerprint: > ----------------------------------------------------| 2A 50 AE 6D 51 53 18 77 > "A lot of people are afraid to listen, because what | F7 6C E9 2E E9 E1 59 2C > they hear may make them change." --Gloria Gery | (finger for full key) -- Reece Joyner Senior Systems Engineer rjoyner@ais.net American Information Systems, Inc. http://www.ais.net
Technical Details
Message-ID:
<33B29529.6C34@ais.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<33A6B41D.3382@iconnet.net> <33A968C6.2C67@raleigh.ibm.com> <5oc0in$11p$1@earth.execpc.com> <33A98953.6EEA@raleigh.ibm.com> <5oeh5s$rgk$1@earth.execpc.com> <5opppm$i2p$1@news.wco.com> <5opspf$2mt$1@synthemesc.insync.net> <5oqdqa$opu$1@news.wco.com> <5orasp$900$2@synthemesc.insync.net> <33B14F18.7298@ais.net> <5os14e$c87$1@synthemesc.insync.net>Show Full Headers
Complete Article Headers
Message-ID: <33B29529.6C34@ais.net> Subject: Re: actived Date: Thu, 26 Jun 1997 00:00:00 +0000 From: "R. Joyner" <rjoyner@ais.net> References: <33A6B41D.3382@iconnet.net> <33A968C6.2C67@raleigh.ibm.com> <5oc0in$11p$1@earth.execpc.com> <33A98953.6EEA@raleigh.ibm.com> <5oeh5s$rgk$1@earth.execpc.com> <5opppm$i2p$1@news.wco.com> <5opspf$2mt$1@synthemesc.insync.net> <5oqdqa$opu$1@news.wco.com> <5orasp$900$2@synthemesc.insync.net> <33B14F18.7298@ais.net> <5os14e$c87$1@synthemesc.insync.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 252744470 Organization: AIS, Inc. Reply-To: rjoyner@ais.net Newsgroups: news.software.nntp