Thread View: news.software.nntp
9 messages
9 total messages
Started by Brian
Sun, 18 Jan 1998 00:00
actived errors
Author: Brian
Date: Sun, 18 Jan 1998 00:00
Date: Sun, 18 Jan 1998 00:00
30 lines
1642 bytes
1642 bytes
I started seeing these in news.err: Jan 18 02:46:41 news nnrpd[26835]: 208.214.44.215 actived socket returned a different request-ID 866539081/866437660 Jan 18 02:46:42 news nnrpd[26835]: 208.214.44.215 actived socket returned a different request-ID 866539081/866437660 Jan 18 02:46:43 news nnrpd[26835]: 208.214.44.215 actived socket returned a different request-ID 866437660/866773852 .. .. .. There were a few of those xxx.xxx.xxx.xxx is NOT using actived errors as well. What is the general cause of this? Brian /-------------------------- signal@shreve.net -----------------------------\ | Brian Feeny | USR TC Hubs | ShreveNet Inc. (318)222-2638 | | Systems Administrator | Perl, Linux | Web hosting, online stores, | | ShreveNet Inc. | USR Pilot | Dial-Up 14.4-56k, ISDN & LANs | | 89 CRX DX w/MPFI, lots of |-=*:Quake:*=-| http://www.shreve.net/ | | mods/Homepage coming soon |LordSignal/SN| Quake server: 208.206.76.3 | \-------------------------- 318-222-2638 x109 -----------------------------/
Re: actived errors
Author: Andrew
Date: Mon, 19 Jan 1998 00:00
Date: Mon, 19 Jan 1998 00:00
16 lines
1306 bytes
1306 bytes
Trevor Fiatal <trevor@home.net> wrote:
> The first ('...returned a different...') is, I believe, due to a shortage of
> file descriptors. I've reduced, but not completely eliminated, this problem
> on my big Solaris boxen by upping the number of file descriptors at the
> beginning of rc.news.
At what do you keep your max? I have mine set to 1023 and I have yet to see
any of these errors in my logs (Solaris 2.5.1 btw).
--
Andrew O. Smith - <aos@insync.net> | "Especially if your kids enjoy
Sysadmin, Insync Internet Services | jokes about hashish and sexy,
Houston, Texas, USA | sexy dancers." --Mr. Laupin
Re: actived errors
Author: Trevor Fiatal
Date: Mon, 19 Jan 1998 00:00
Date: Mon, 19 Jan 1998 00:00
41 lines
2295 bytes
2295 bytes
[posted to news.software.nntp and mailed to Andrew] On 19 Jan 1998 05:48:07 GMT, Andrew <aos@insync.net> spake thusly: >Trevor Fiatal <trevor@home.net> wrote: >> Had to log in and check, 'cause I couldn't remember. > >Bad sysadmin. Bad, bad sysadmin. You're supposed to dream these things. >:-) Yeah, I know. It was mostly the fact that I had to get off my butt and get my SecurID fob from the other room to log in that made me gripe... >> Anyway, it's at 256 right now, and I've been meaning to crank it up further. >> I'll try 1023 next, and see if that does the trick. > >You might want to make a system-wide 1023. That'll prevent any future >problems if you install new software and/or forget to raise the limit in >a script. > >A nice little 'set rlim_fd_cur=0x3ff' in /etc/system and a reboot should >do it. Heh. You talk about rebooting an E4000 HA cluster as if it were something we did on a regular basis. :) I'll be sure to mention that to the Architecture guys who get to worry about crappy stuff like /etc/system and patch installs. Thanks. -T. -- /--------------------------------=-------------------------------------\ |Trevor Fiatal - trevor@home.net | WANTED: Experienced Usenet and mail | |Internet Applications Architect | systems admin. Relocation available | |@Home Network, SF Bay Area, CA | for right candidate. Email for info.| \--------------------------------|-------------------------------------/
Re: actived errors
Author: Andrew
Date: Mon, 19 Jan 1998 00:00
Date: Mon, 19 Jan 1998 00:00
23 lines
1512 bytes
1512 bytes
Trevor Fiatal <trevor@home.net> wrote: > Had to log in and check, 'cause I couldn't remember. Bad sysadmin. Bad, bad sysadmin. You're supposed to dream these things. :-) > Anyway, it's at 256 right now, and I've been meaning to crank it up further. > I'll try 1023 next, and see if that does the trick. You might want to make a system-wide 1023. That'll prevent any future problems if you install new software and/or forget to raise the limit in a script. A nice little 'set rlim_fd_cur=0x3ff' in /etc/system and a reboot should do it. -- Andrew O. Smith - <aos@insync.net> | "Especially if your kids enjoy Sysadmin, Insync Internet Services | jokes about hashish and sexy, Houston, Texas, USA | sexy dancers." --Mr. Laupin
Re: actived errors
Author: Trevor Fiatal
Date: Mon, 19 Jan 1998 00:00
Date: Mon, 19 Jan 1998 00:00
45 lines
2309 bytes
2309 bytes
[posted to news.software.nntp and mailed to Brian]
On Sun, 18 Jan 1998 13:13:34 -0600, Brian <signal@shreve.net>
spake thusly:
>I started seeing these in news.err:
>
>Jan 18 02:46:41 news nnrpd[26835]: 208.214.44.215 actived socket returned
>a different request-ID 866539081/866437660
>Jan 18 02:46:42 news nnrpd[26835]: 208.214.44.215 actived socket returned
>a different request-ID 866539081/866437660
>Jan 18 02:46:43 news nnrpd[26835]: 208.214.44.215 actived socket returned
>a different request-ID 866437660/866773852
>.
>.
>.
>
>There were a few of those xxx.xxx.xxx.xxx is NOT using actived errors as
>well. What is the general cause of this?
Could be two separate problems.
The first ('...returned a different...') is, I believe, due to a shortage of
file descriptors. I've reduced, but not completely eliminated, this problem
on my big Solaris boxen by upping the number of file descriptors at the
beginning of rc.news.
The second means that an nnrpd process could not get a response from actived,
and is falling back to using old-style active-file access. This could be due
to two things: (a) actived is out of fd's and can't open a new socket to
process the request, or (b) actived isn't running at all.
Helpful?
-Trevor
--
/--------------------------------=-------------------------------------\
|Trevor Fiatal - trevor@home.net | WANTED: Experienced Usenet and mail |
|Internet Applications Architect | systems admin. Relocation available |
|@Home Network, SF Bay Area, CA | for right candidate. Email for info.|
\--------------------------------|-------------------------------------/
Re: actived errors
Author: Trevor Fiatal
Date: Mon, 19 Jan 1998 00:00
Date: Mon, 19 Jan 1998 00:00
28 lines
1825 bytes
1825 bytes
On 19 Jan 1998 04:50:52 GMT, Andrew <aos@insync.net>
spake thusly:
>Trevor Fiatal <trevor@home.net> wrote:
>> The first ('...returned a different...') is, I believe, due to a shortage of
>> file descriptors. I've reduced, but not completely eliminated, this problem
>> on my big Solaris boxen by upping the number of file descriptors at the
>> beginning of rc.news.
>
>At what do you keep your max? I have mine set to 1023 and I have yet to see
>any of these errors in my logs (Solaris 2.5.1 btw).
Had to log in and check, 'cause I couldn't remember.
Anyway, it's at 256 right now, and I've been meaning to crank it up further.
I'll try 1023 next, and see if that does the trick.
-Trevor
--
/--------------------------------=-------------------------------------\
|Trevor Fiatal - trevor@home.net | WANTED: Experienced Usenet and mail |
|Internet Applications Architect | systems admin. Relocation available |
|@Home Network, SF Bay Area, CA | for right candidate. Email for info.|
\--------------------------------|-------------------------------------/
Re: actived errors
Author: USENET news
Date: Tue, 20 Jan 1998 00:00
Date: Tue, 20 Jan 1998 00:00
50 lines
2817 bytes
2817 bytes
In article <69upen$2ud$3@synthemesc.insync.net>,
Andrew <aos@insync.net> wrote:
>Trevor Fiatal <trevor@home.net> wrote:
>> Had to log in and check, 'cause I couldn't remember.
>
>Bad sysadmin. Bad, bad sysadmin. You're supposed to dream these things.
>:-)
>
>> Anyway, it's at 256 right now, and I've been meaning to crank it up further.
>> I'll try 1023 next, and see if that does the trick.
>
>You might want to make a system-wide 1023. That'll prevent any future
>problems if you install new software and/or forget to raise the limit in
>a script.
>
>A nice little 'set rlim_fd_cur=0x3ff' in /etc/system and a reboot should
>do it.
Given that stdio breaks on Solaris 2 for file descriptors over 255, this
thread raises two questions:
(a) does INN (and common add-ons, like actived) take adequate precautions to
ensure that anything involving stdio only ever uses a sufficiently
low-numbered file descriptor?
(b) what may (frequently? occasionally?) break elsewhere in the system due
to taking no special precautions regarding stdio and file descriptors, and
being sabotaged by an increased limit (possibly having worse effects than
simply hitting the limit)? Since programs failing to run out of descriptors
is rare even with lower limits, I suppose the main problem may be programs
that need a lot of open files, check the limits and work within the range
available, but maybe fail to allow for the stdio limitation if the max FD is
larger.
These concerns have made me wary of increasing the limits beyond 255
system-wide, or even just for INN (or other software that might find a
larger limit useful).
[From discussion in the context of the Squid web cache, I think the next
hurdle on Solaris 2 is 1023 or 1024 - if you allow more open files than that,
2, you can't use select() on higher numbered descriptors - you have to use
poll() instead.]
John Line
--
Cambridge University Computing Service - USENET news manager. Usually John Line
newsmaster@ucs.cam.ac.uk (alias {newsmaster,news,usenet}@news.cam.ac.uk)
Re: actived errors
Author: Andrew
Date: Tue, 20 Jan 1998 00:00
Date: Tue, 20 Jan 1998 00:00
19 lines
1478 bytes
1478 bytes
USENET news <news@news.cam.ac.uk> wrote: > Given that stdio breaks on Solaris 2 for file descriptors over 255, this > thread raises two questions: > (a) does INN (and common add-ons, like actived) take adequate precautions to > ensure that anything involving stdio only ever uses a sufficiently > low-numbered file descriptor? I'm not aware of any attempts to do that (I know actived doesn't, don't know the INN source well enough to say), but I have yet to see it cause a problem. -- Andrew O. Smith - <aos@insync.net> | "Especially if your kids enjoy Sysadmin, Insync Internet Services | jokes about hashish and sexy, Houston, Texas, USA | sexy dancers." --Mr. Laupin
Re: actived errors
Author: R. Joyner
Date: Tue, 20 Jan 1998 00:00
Date: Tue, 20 Jan 1998 00:00
33 lines
1880 bytes
1880 bytes
USENET news wrote in message <6a1r2m$aou$1@lyra.csx.cam.ac.uk>... >These concerns have made me wary of increasing the limits beyond 255 >system-wide, or even just for INN (or other software that might find a >larger limit useful). > >[From discussion in the context of the Squid web cache, I think the next >hurdle on Solaris 2 is 1023 or 1024 - if you allow more open files than that, >2, you can't use select() on higher numbered descriptors - you have to use >poll() instead.] > > John Line >-- Last I saw, poll() suffers from the same bug that select() has. I seem to remember that after 1k (or was it 2k) FDs, it encounters problems. Wonder when Sun will get around to fixing *that* (not so) little bug. If memory serves, it's been around since 2.3. I've had to listen to the IRC kids bitch about this for years. They seem to be the only group (besides us newshounds) that have a legitimate need to have that many FDs open at once. Sad, isn't it? /rsj ---- Reece Joyner Sr. Systems Engineer American Information Systems, Inc.
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