From owner-freebsd-questions Wed Apr 2 13:19:34 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA25122 for questions-outgoing; Wed, 2 Apr 1997 13:19:34 -0800 (PST) Received: from xs1.simplex.nl (xs1.simplex.NL [193.78.46.10]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA25112 for ; Wed, 2 Apr 1997 13:19:31 -0800 (PST) Received: (from maartje@localhost) by xs1.simplex.nl (8.8.5/8.8.5-RS) id XAA08512; Wed, 2 Apr 1997 23:15:02 +0200 (MET DST) Date: Wed, 2 Apr 1997 23:15:02 +0200 (MET DST) From: Maartje van der Heide Message-Id: <199704022115.XAA08512@xs1.simplex.nl> To: freebsd-questions@freebsd.org Subject: INN1.5.1 and FreeBSD2.2 Cc: maartje@simplex.nl Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, I'm running FreeBSD 2.2 with INN1.5.1 and am experiencing the following problems: 1. NNRP readers often get "cant read Connection reset by peer" errors 2. my NNTP feeder frequently serves me with two or more simultaneous feeds, when there is one active and the secondd kicks in, I get the following error message (syslog trace), and the first one closes. (a few checkpoint messages are edited out for readability) Apr 2 22:17:23 news innd: news.NL.net connected 20 streaming allowed Apr 2 22:17:23 news innd: news.NL.net:18 cant write Broken pipe Apr 2 22:17:23 news innd: news.NL.net:18 closed seconds 671 accepted 1688 refused 0 rejected 331 Apr 2 22:17:23 news innd: news.NL.net:20 NCmode "mode stream" received Apr 2 22:23:28 news innd: news.NL.net:20 closed seconds 365 accepted 907 refused 3 rejected 171 Apr 2 22:24:29 news innd: news.NL.net connected 18 streaming allowed Apr 2 22:24:29 news innd: news.NL.net:18 NCmode "mode stream" received Apr 2 22:33:49 news innd: news.NL.net connected 20 streaming allowed Apr 2 22:33:49 news innd: news.NL.net:20 NCmode "mode stream" received Apr 2 22:33:49 news innd: news.NL.net:18 cant write Broken pipe Apr 2 22:33:49 news innd: news.NL.net:18 closed seconds 560 accepted 1736 refused 0 rejected 283 Apr 2 22:45:13 news innd: news.NL.net connected 18 streaming allowed Apr 2 22:45:13 news innd: news.NL.net:20 cant write Broken pipe Apr 2 22:45:13 news innd: news.NL.net:20 closed seconds 684 accepted 1579 refused 3 rejected 433 Apr 2 22:45:13 news innd: news.NL.net:18 NCmode "mode stream" received Apr 2 22:55:06 news innd: news.NL.net:18 cant write Broken pipe Apr 2 22:55:06 news innd: news.NL.net:18 closed seconds 593 accepted 1627 refused 3 rejected 385 Apr 2 22:55:21 news innd: news.NL.net connected 18 streaming allowed Apr 2 22:55:21 news innd: news.NL.net:18 NCmode "mode stream" received I've tracked error 2. down to the following piece of code in innd/chan.c, but that doesn't help me much. if (bp->Left) { cp->LastActive = Now.time; i = largewrite(fd, &bp->Data[bp->Used], bp->Left); if (i <= 0) { oerrno = errno; p = CHANname(cp); errno = oerrno; if (i < 0) # Here comes the error syslog(L_ERROR, "%s cant write %m", p); else syslog(L_ERROR, "%s cant write", p); cp->BadWrites++; if (i < 0 && oerrno == EPIPE) { SITEchanclose(cp); CHANclose(cp, p); } else if (i < 0 && oerrno == EWOULDBLOCK) { WCHANremove(cp); CHANwritesleep(cp, p); } else if (cp->BadWrites >= BAD_IO_COUNT) { syslog(L_ERROR, "%s sleeping", p); WCHANremove(cp); SCHANadd(cp, (time_t)(Now.time + PAUSE_RETRY_TIME), Does anyone have an idea what may be causing this ? Regards, - Maartje. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= | Maartje van der Heide email: maartje@simplex.nl | + Simplex Networking Amsterdam + | Postbus 36068 tel: (+3120) 6932433 | + 1020 MB Amsterdam fax: (+3130) 6051329 + | modem: (+3120) 6653388 | =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=