Thread View: news.software.nntp
3 messages
3 total messages
Started by kevin
Thu, 05 Sep 1996 00:00
nntplink problems with freebsd 2.1.0 / Please Help!
Author: kevin
Date: Thu, 05 Sep 1996 00:00
Date: Thu, 05 Sep 1996 00:00
35 lines
2762 bytes
2762 bytes
I'm posting through DejaNews because this plea for help is too important to
leave up to my current FreeBSD 2.1.0-RELEASE, inn, and nntplink situation for
distribution. Three people have spent many hours on this and I've finally
got to break down and ask "what the f&%@!" because I haven't been able to
locate anyone else's answer on the Net and there ought to be one. :)
We've tried five various versions of nntplink from 3.1.0 to 3.3beta4wdPL3
and a 3.3.1 that turned up from somewhere with the same basic result from
all of them.. a select(): Invalid argument error bombs things every time,
but only when nntplink is started from INN's newsfeeds.. it works just fine
when run from the command line (it's gone under gdb many times). Studying
the kernel sources and cvsweb history, only two things should cause select()
to return EINVAL and I can't see that we're running into either of those.
Going with the 3.3pl2 (for example) configure script and defining HAVE_MMAP
and HAVE_WORKING_SELECT results in an instant crash (and respawning by innd)
of nntplink with a select():.*Invalid argument error every time. Undefining
HAVE_MMAP doesn't have any effect. Undefining HAVE_WORKING_SELECT bypasses
the code that causes it to abort immediately, but the select() calls still
fail and it never gets any news across. It's got to be one simple thing,
but I need someone else's fresh insight on how to fix it. I can't believe
that I haven't been able to locate a single reference on compiling nntplink
for FreeBSD (and it's not in the ports collection).. is nobody using it or
is my news server the only one having this problem?
Please copy any followups to me in email. Patches and specifics especially
appreciated. I'm dying to fix whatever it is.
thanks,
kevin
-----------------------------------------------------------------------
This article was posted to Usenet via the Posting Service at Deja News:
http://www.dejanews.com/ [Search, Post, and Read Usenet News!]
Re: nntplink problems with freebsd 2.1.0 / Please Help!
Author: Christoph Badura
Date: Thu, 05 Sep 1996 00:00
Date: Thu, 05 Sep 1996 00:00
20 lines
1414 bytes
1414 bytes
In <841885628.7779@dejanews.com> kevin@freeside.fc.net writes: >We've tried five various versions of nntplink from 3.1.0 to 3.3beta4wdPL3 >and a 3.3.1 that turned up from somewhere with the same basic result from >all of them.. a select(): Invalid argument error bombs things every time, >but only when nntplink is started from INN's newsfeeds.. You are not, per chance, tripping over some file descriptor limit in select? I don't know when it has been fixed in FreeBSD (if ever), but 4.4BSD's select() kernel code had a limit on the highest numbered file descriptor. Namely the value of FD_SETSIZE at the time the kernel was compiled. -- Christoph Badura O'Reilly/International Thomson Verlag
Re: nntplink problems with freebsd 2.1.0 / Please Help!
Author: J Wunsch
Date: Fri, 06 Sep 1996 00:00
Date: Fri, 06 Sep 1996 00:00
28 lines
1570 bytes
1570 bytes
bad@ora.de (Christoph Badura) wrote:
> You are not, per chance, tripping over some file descriptor limit in
> select?
>
> I don't know when it has been fixed in FreeBSD (if ever),
Only fairly recently in 2.2-current:
smpatel 96/08/20 00:18:11
Modified: sys/kern kern_exit.c sys_generic.c syscalls.master
sys/sys malloc.h proc.h sysproto.h
Log:
Remove the kernel FD_SETSIZE limit for select().
Make select()'s first argument 'int' not 'u_int'.
Reviewed by: bde
--
cheers, J"org
joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads