Thread View: news.software.nntp
20 messages
20 total messages
Started by Tuc
Tue, 27 Jan 2004 20:35
Reserved for a pid that doesn't exist
Author: Tuc
Date: Tue, 27 Jan 2004 20:35
Date: Tue, 27 Jan 2004 20:35
12 lines
1349 bytes
1349 bytes
Hi,
Recently we've seen our daily message have
ctlinnd: Reserved "Expiring process 50040"
Daily Usenet report from Jan 26 03:00:03 to Jan 27 03:00:02
day after day. If I "unreserve" it, it just comes up with a new
pid the next day. Whats causing this, and how do I get it to stop (I
guess) dying.
Thanks, Tuc/TTSG Internet Services, Inc.
Re: Reserved for a pid that doesn't exist
Author: Paul Tomblin
Date: Tue, 27 Jan 2004 20:48
Date: Tue, 27 Jan 2004 20:48
16 lines
1902 bytes
1902 bytes
In a previous article, google@ttsg.com (Tuc) said: >ctlinnd: Reserved "Expiring process 50040" >Daily Usenet report from Jan 26 03:00:03 to Jan 27 03:00:02 > > day after day. If I "unreserve" it, it just comes up with a new >pid the next day. Whats causing this, and how do I get it to stop (I >guess) dying. This means that news.daily or one if its subprocesses is dying. Try looking through you logs to see where it's dying. Maybe it's left a log message or a core dump. -- Paul Tomblin <ptomblin@xcski.com> http://xcski.com/blogs/pt/ Computers are not intelligent. They only think they are.
Re: Reserved for a pid that doesn't exist
Author: Tuc
Date: Wed, 28 Jan 2004 16:34
Date: Wed, 28 Jan 2004 16:34
28 lines
2227 bytes
2227 bytes
ptomblin+netnews@xcski.com (Paul Tomblin) wrote in message news:<bv6iqg$ifs$1@allhats.xcski.com>... > In a previous article, google@ttsg.com (Tuc) said: > >ctlinnd: Reserved "Expiring process 50040" > >Daily Usenet report from Jan 26 03:00:03 to Jan 27 03:00:02 > > > > day after day. If I "unreserve" it, it just comes up with a new > >pid the next day. Whats causing this, and how do I get it to stop (I > >guess) dying. > > This means that news.daily or one if its subprocesses is dying. Try > looking through you logs to see where it's dying. Maybe it's left a log > message or a core dump. > I do see : Jan 25 03:28:08 hermod innd: SERVER cant sendto CCreader bytes 2520 Message too long Jan 25 18:52:34 hermod innd: SERVER cant sendto CCreader bytes 2451 Message too long Jan 25 18:52:39 hermod innd: SERVER cant sendto CCreader bytes 2451 Message too long Jan 26 03:00:01 hermod innd: SERVER cant sendto CCreader bytes 2474 Message too long in news.err . Otherwise, I can't see any cores or anything else. Which subprocess does a reserve? I can't seem to find it. Tuc/TTSG Internet Services, Inc.
Re: Reserved for a pid that doesn't exist
Author: Paul Tomblin
Date: Wed, 28 Jan 2004 17:26
Date: Wed, 28 Jan 2004 17:26
33 lines
2644 bytes
2644 bytes
In a previous article, google@ttsg.com (Tuc) said: >ptomblin+netnews@xcski.com (Paul Tomblin) wrote in message >news:<bv6iqg$ifs$1@allhats.xcski.com>... >> This means that news.daily or one if its subprocesses is dying. Try >> looking through you logs to see where it's dying. Maybe it's left a log >> message or a core dump. >> >I do see : > >Jan 25 03:28:08 hermod innd: SERVER cant sendto CCreader bytes 2520 >Message too long >Jan 25 18:52:34 hermod innd: SERVER cant sendto CCreader bytes 2451 >Message too long >Jan 25 18:52:39 hermod innd: SERVER cant sendto CCreader bytes 2451 >Message too long >Jan 26 03:00:01 hermod innd: SERVER cant sendto CCreader bytes 2474 >Message too long That's not it. For one thing they're the wrong time of day, and for another they shouldn't be fatal errors. >in news.err . Otherwise, I can't see any cores or anything else. >Which subprocess does a reserve? I can't seem to find it. Try running the news.daily from the command line. Do you get your daily email report from news.daily? Sometimes there are clues in that. news.daily itself does the throttle, I think. -- Paul Tomblin <ptomblin@xcski.com> http://xcski.com/blogs/pt/ "You're one of those condescending Unix computer users!" "Here's a nickel, kid. Get yourself a better computer" - Dilbert.
Re: Reserved for a pid that doesn't exist
Author: Paul Tomblin
Date: Wed, 28 Jan 2004 17:29
Date: Wed, 28 Jan 2004 17:29
18 lines
2127 bytes
2127 bytes
In a previous article, google@ttsg.com (Tuc) said: >Which subprocess does a reserve? I can't seem to find it. Forget what I said earlier - it's the expire process itself that throttles with the string you are seeing, not news.daily. But since expire is run from within news.daily, it's kind of a moot point. BTW: Check to make sure you have LOTS of room in the file system where your history file lives. Over the years, I've had lots of problems when I didn't have enough room on that file system for two copies of history and its .pag and .dir files. -- Paul Tomblin <ptomblin@xcski.com> http://xcski.com/blogs/pt/ If I have to deal with another salesweasel, I shall scream, if only to cover the sound caused by me ripping his head from his body to use the carcass as a footstool. -- MC Langston
Re: Reserved for a pid that doesn't exist
Author: Tuc
Date: Thu, 29 Jan 2004 14:09
Date: Thu, 29 Jan 2004 14:09
29 lines
2451 bytes
2451 bytes
ptomblin+netnews@xcski.com (Paul Tomblin) wrote in message news:<bv8rhn$ppn$2@allhats.xcski.com>...
> In a previous article, google@ttsg.com (Tuc) said:
> >Which subprocess does a reserve? I can't seem to find it.
>
> Forget what I said earlier - it's the expire process itself that throttles
> with the string you are seeing, not news.daily. But since expire is run
> from within news.daily, it's kind of a moot point.
>
> BTW: Check to make sure you have LOTS of room in the file system where
> your history file lives. Over the years, I've had lots of problems when I
> didn't have enough room on that file system for two copies of history and
> its .pag and .dir files.
>
Hi,
I kept looking for the "reserve" instead of pause/throttle, which
then got me to expire, which got me to news daily, which made me look
and find :
expire begin Mon Jan 26 03:29:06 EST 2004: (-v1)
expire: failed to malloc 667107200 bytes at dbz.c line 1292:
Cannot allocate memory
expire end Mon Jan 26 03:29:07 EST 2004
We switched from flat file storage (trad?) to cnfs, maybe we
finally ran out of articles to expire? Expire doesn't work on cnfs,
right?
Thanks, Tuc/TTSG Internet Services, Inc.
Re: Reserved for a pid that doesn't exist
Author: Russ Allbery
Date: Thu, 29 Jan 2004 20:03
Date: Thu, 29 Jan 2004 20:03
28 lines
2413 bytes
2413 bytes
Tuc <google@ttsg.com> writes:
> I kept looking for the "reserve" instead of pause/throttle, which
> then got me to expire, which got me to news daily, which made me look
> and find :
> expire begin Mon Jan 26 03:29:06 EST 2004: (-v1)
> expire: failed to malloc 667107200 bytes at dbz.c line 1292:
> Cannot allocate memory
> expire end Mon Jan 26 03:29:07 EST 2004
So your problem is that expire is unable to generate a new history file
because it thinks it needs 667MB for the hash table. That seems rather
large. How large are all the components of your existing history file?
Running makedbz to rebuild the indices may help with this.
> We switched from flat file storage (trad?) to cnfs, maybe we
> finally ran out of articles to expire? Expire doesn't work on cnfs,
> right?
No. expire works on everything. It's what cleans up the history file.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Reserved for a pid that doesn't exist
Author: Tuc
Date: Thu, 29 Jan 2004 23:02
Date: Thu, 29 Jan 2004 23:02
14 lines
1791 bytes
1791 bytes
ptomblin+netnews@xcski.com (Paul Tomblin) wrote in message news:<bv8rhn$ppn$2@allhats.xcski.com>... > > BTW: Check to make sure you have LOTS of room in the file system where > your history file lives. Over the years, I've had lots of problems when I > didn't have enough room on that file system for two copies of history and > its .pag and .dir files. > I started to do the "makehistory" and "makedbz". The makehistory took about 3 hours. And within a few seconds of the makedbz -s `wc -l <history.n` -f history.n it told me there were malloc issues. :-/ Now what? Thanks, Tuc/TTSG Internet Services, Inc.
Re: Reserved for a pid that doesn't exist
Author: Russ Allbery
Date: Thu, 29 Jan 2004 23:49
Date: Thu, 29 Jan 2004 23:49
15 lines
1795 bytes
1795 bytes
Tuc <google@ttsg.com> writes:
> I started to do the "makehistory" and "makedbz". The makehistory took
> about 3 hours. And within a few seconds of the makedbz -s `wc -l
> <history.n` -f history.n it told me there were malloc issues. :-/
> Now what?
How large is your history file?
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Reserved for a pid that doesn't exist
Author: Tuc
Date: Mon, 02 Feb 2004 10:23
Date: Mon, 02 Feb 2004 10:23
27 lines
2572 bytes
2572 bytes
Russ Allbery <rra@stanford.edu> wrote in message news:<87ad465xpy.fsf@windlord.stanford.edu>...
> Tuc <google@ttsg.com> writes:
>
> So your problem is that expire is unable to generate a new history file
> because it thinks it needs 667MB for the hash table. That seems rather
> large. How large are all the components of your existing history file?
>
-rw-rw-r-- 1 news news 908683496 Feb 2 05:17 history.index
-rw-rw-r-- 1 news news 5232708330 Feb 2 05:17 history
-rw-rw-r-- 1 news news 681512622 Feb 2 05:17 history.hash
-rw-rw-r-- 1 news news 120 Feb 2 05:17 history.dir
>
> Running makedbz to rebuild the indices may help with this.
>
Yes, I received a malloc message also.
>
> No. expire works on everything. It's what cleans up the history file.
>
Alright, then what does it mean in the INSTALL for cnfs when it
says as an Advantage "Unlike all other storage methods, does not
require manual article expiration; old articles are deleted to make
room for new ones when the buffers get too full." and in Disadvantages
"Article retention times are more difficult to control because old
articles are overwritten automatically." Does it just mean that
expire.ctl doesn't come into play for it?
Thanks, Tuc/TTSG Internet Services, Inc.
Re: Reserved for a pid that doesn't exist
Author: John Schmidt
Date: Mon, 02 Feb 2004 22:29
Date: Mon, 02 Feb 2004 22:29
21 lines
2190 bytes
2190 bytes
On 2 Feb 2004, Tuc wrote: > Alright, then what does it mean in the INSTALL for cnfs when it > says as an Advantage "Unlike all other storage methods, does not > require manual article expiration; old articles are deleted to make > room for new ones when the buffers get too full." and in Disadvantages > "Article retention times are more difficult to control because old > articles are overwritten automatically." Does it just mean that > expire.ctl doesn't come into play for it? The settings in expire.ctl aren't really relevant to the contents in your (meta)cycbuffs - articles are simply overwritten as you recieve more news and the cycbuffs roll over. However, expire is neccessary for cleaning up your history files so they don't grow without bounds, and also (assuming a reader box rather than a dedicated transit box) important for cleaning out old info from your overview to prevent similar unchecked growth. JS
Re: Reserved for a pid that doesn't exist
Author: Russ Allbery
Date: Mon, 02 Feb 2004 23:34
Date: Mon, 02 Feb 2004 23:34
21 lines
2398 bytes
2398 bytes
Tuc <google@ttsg.com> writes:
> Russ Allbery <rra@stanford.edu> wrote:
>> So your problem is that expire is unable to generate a new history file
>> because it thinks it needs 667MB for the hash table. That seems rather
>> large. How large are all the components of your existing history file?
> -rw-rw-r-- 1 news news 908683496 Feb 2 05:17 history.index
> -rw-rw-r-- 1 news news 5232708330 Feb 2 05:17 history
> -rw-rw-r-- 1 news news 681512622 Feb 2 05:17 history.hash
> -rw-rw-r-- 1 news news 120 Feb 2 05:17 history.dir
Well, you've got a 5GB history file. That's going to legitimately need
681MB of memory to rebuild the hash table for it. I think you're going to
need to either get more memory (or swap) or make your history file smaller.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Reserved for a pid that doesn't exist
Author: Tuc
Date: Tue, 03 Feb 2004 04:19
Date: Tue, 03 Feb 2004 04:19
83 lines
3960 bytes
3960 bytes
Russ Allbery <rra@stanford.edu> wrote in message news:<87fzdtoy1w.fsf@windlord.stanford.edu>...
> > -rw-rw-r-- 1 news news 908683496 Feb 2 05:17 history.index
> > -rw-rw-r-- 1 news news 5232708330 Feb 2 05:17 history
> > -rw-rw-r-- 1 news news 681512622 Feb 2 05:17 history.hash
> > -rw-rw-r-- 1 news news 120 Feb 2 05:17 history.dir
>
> Well, you've got a 5GB history file.
>
Yup!
>
> That's going to legitimately need
> 681MB of memory to rebuild the hash table for it.
>
:-/
>
> I think you're going to
> need to either get more memory (or swap) or make your history file smaller.
>
It has 4G of memory as is, and swapinfo reports :
$ swapinfo
Device 1K-blocks Used Avail Capacity Type
/dev/twed0s1b 1048448 32492 1015956 3% Interleaved
The top of "top" shows :
53 processes: 3 running, 50 sleeping
CPU states: 49.1% user, 14.9% nice, 23.8% system, 12.3% interrupt, 0.0% idle
Mem: 3290M Active, 146M Inact, 316M Wired, 141M Cache, 199M Buf, 5748K Free
Swap: 1024M Total, 32M Used, 992M Free, 3% Inuse
(It runs Seti so thats why every CPU cycle is used....)
login.conf has :
default:\
:passwd_format=md5:\
:copyright=/etc/COPYRIGHT:\
:welcome=/etc/motd:\
:setenv=MAIL=/var/mail/$,BLOCKSIZE=K,FTP_PASSIVE_MODE=YES:\
:path=/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/loca
l/bin /usr/X11R6/bin ~/bin:\
:nologin=/var/run/nologin:\
:cputime=unlimited:\
:datasize=unlimited:\
:stacksize=unlimited:\
:memorylocked=unlimited:\
:memoryuse=unlimited:\
:filesize=unlimited:\
:coredumpsize=unlimited:\
:openfiles=unlimited:\
:maxproc=unlimited:\
:sbsize=unlimited:\
:vmemoryuse=unlimited:\
:priority=0:\
:ignoretime@:\
:umask=022:
news:\
:tc=default:
The ulimit -a shows :
hermod% ulimit -a
cpu time (seconds) unlimited
file size (blocks) unlimited
data seg size (kbytes) 524288
stack size (kbytes) 65536
core file size (blocks) unlimited
resident set size (kbytes) unlimited
locked-in-memory size (kb) unlimited
processes 7390
file descriptors 40000
socket buffer size (kb) unlimited
virtual memory size (kb) unlimited
Shouldn't this allow it to use it all?
How do I make the history file smaller, just change retention time?
Thanks, Tuc/TTSG Internet Services, Inc.
Re: Reserved for a pid that doesn't exist
Author: Russ Allbery
Date: Tue, 03 Feb 2004 04:56
Date: Tue, 03 Feb 2004 04:56
31 lines
2786 bytes
2786 bytes
Tuc <google@ttsg.com> writes:
> 53 processes: 3 running, 50 sleeping
> CPU states: 49.1% user, 14.9% nice, 23.8% system, 12.3% interrupt, 0.0% idle
> Mem: 3290M Active, 146M Inact, 316M Wired, 141M Cache, 199M Buf, 5748K Free
> Swap: 1024M Total, 32M Used, 992M Free, 3% Inuse
I'm guessing that this isn't helping much on determining how much memory
is actually free. Is there a command that will tell you the amount of
actual memory free, not counting buffered files? (If that's in the above,
I can't puzzle it out.)
> The ulimit -a shows :
> hermod% ulimit -a
> cpu time (seconds) unlimited
> file size (blocks) unlimited
> data seg size (kbytes) 524288
This isn't large enough to rebuild history. I don't know if this is the
limit that matters, but it might be.
> How do I make the history file smaller, just change retention time?
Changing the /remember/ time in expire.ctl is the easiest way, I expect.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Reserved for a pid that doesn't exist
Author: Tuc
Date: Thu, 05 Feb 2004 16:26
Date: Thu, 05 Feb 2004 16:26
41 lines
2934 bytes
2934 bytes
Russ Allbery <rra@stanford.edu> wrote in message news:<87oesglq0j.fsf@windlord.stanford.edu>...
>
> I'm guessing that this isn't helping much on determining how much memory
> is actually free. Is there a command that will tell you the amount of
> actual memory free, not counting buffered files? (If that's in the above,
> I can't puzzle it out.)
>
hermod# vmstat 3
procs memory page disks faults
cpu
r b w avm fre flt re pi po fr sr tw0 md0 in sy cs
us sy id
5 2 0 1323128 189128 539 20 26 60 229 757 0 0 523 1055 572
65 35 0
5 2 0 1323628 162760 1968 0 8 48 3716 0 95 0 7143 11629
3946 66 34 0
6 4 0 1333144 142852 2868 0 11 33 3999 0 95 0 6162 11534
4039 70 30 0
> > The ulimit -a shows :
>
> > hermod% ulimit -a
> > cpu time (seconds) unlimited
> > file size (blocks) unlimited
> > data seg size (kbytes) 524288
>
> This isn't large enough to rebuild history. I don't know if this is the
> limit that matters, but it might be.
>
Alright.
>
> > How do I make the history file smaller, just change retention time?
>
> Changing the /remember/ time in expire.ctl is the easiest way, I expect.
>
Its 14 right now. If I change it to 10, and then run expire, will
that readjust everything? Or just write something to pull things older
than 10 out of history, then makehistory?
Thanks, Tuc/TTSG Internet Services, Inc.
Re: Reserved for a pid that doesn't exist
Author: Russ Allbery
Date: Thu, 05 Feb 2004 19:16
Date: Thu, 05 Feb 2004 19:16
16 lines
2151 bytes
2151 bytes
Tuc <google@ttsg.com> writes:
> Russ Allbery <rra@stanford.edu> wrote:
>> Changing the /remember/ time in expire.ctl is the easiest way, I expect.
> Its 14 right now. If I change it to 10, and then run expire, will
> that readjust everything?
Yup. Be sure to change artcutoff in inn.conf at the same time, though,
and you'll want to restart INN after expire finishes.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Reserved for a pid that doesn't exist
Author: Tuc
Date: Fri, 06 Feb 2004 00:12
Date: Fri, 06 Feb 2004 00:12
28 lines
2606 bytes
2606 bytes
Russ Allbery <rra@stanford.edu> wrote in message news:<873c9pcp5n.fsf@windlord.stanford.edu>...
>
> Yup. Be sure to change artcutoff in inn.conf at the same time, though,
> and you'll want to restart INN after expire finishes.
>
Done... There was a disparity between artcutoff and the
expire.ctl in my system, so no real need for a restart after all.
I had to use the "-i" parameter to it... Otherwise it would
malloc and stop.
It took a little more than an hour, and now (After 6 hours of
running) looks like :
-rw-rw-r-- 1 news news 706132387 Feb 5 19:08 history
-rw-rw-r-- 1 news news 50 Feb 5 19:08 history.dir
-rw-rw-r-- 1 news news 119999820 Feb 5 19:08 history.hash
-rw-rw-r-- 1 news news 159999760 Feb 5 19:08 history.index
Oddly, our inbound bandwidth has gone up 60% and is steady, our
outbound is up about 20% steady.
We'll see at 3am what happens.
Thanks to everyone, especially Russ!
Tuc/TTSG Internet Services, Inc.
Re: Reserved for a pid that doesn't exist
Author: Russ Allbery
Date: Fri, 06 Feb 2004 00:15
Date: Fri, 06 Feb 2004 00:15
17 lines
2252 bytes
2252 bytes
Tuc <google@ttsg.com> writes:
> It took a little more than an hour, and now (After 6 hours of
> running) looks like :
> -rw-rw-r-- 1 news news 706132387 Feb 5 19:08 history
> -rw-rw-r-- 1 news news 50 Feb 5 19:08 history.dir
> -rw-rw-r-- 1 news news 119999820 Feb 5 19:08 history.hash
> -rw-rw-r-- 1 news news 159999760 Feb 5 19:08 history.index
That looks *much* saner.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Reserved for a pid that doesn't exist
Author: Tuc
Date: Tue, 10 Feb 2004 08:15
Date: Tue, 10 Feb 2004 08:15
9 lines
1747 bytes
1747 bytes
Russ Allbery <rra@stanford.edu> wrote in message news:<87znbxoyfb.fsf@windlord.stanford.edu>...
>
> That looks *much* saner.
>
:-D Great, thanks, really appreciate the help.
On to my next problem.... See "INND keeps closing"...
Thanks, Tuc/TTSG Internet Services, Inc.
Re: Reserved for a pid that doesn't exist
Author: Tuc
Date: Tue, 10 Feb 2004 09:01
Date: Tue, 10 Feb 2004 09:01
9 lines
1735 bytes
1735 bytes
Russ Allbery <rra@stanford.edu> wrote in message news:<87znbxoyfb.fsf@windlord.stanford.edu>...
>
> That looks *much* saner.
>
:-D Great, thanks, really appreciate the help.
On to my next problem.... See "INND keeps closing"...
Thanks, Tuc/TTSG Internet Services, 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