🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #82680

dbzsync: putcore failed

#82680
From: John F. Morse
Date: Thu, 28 Jan 2010 09:45
195 lines
12568 bytes
Out of room?

I've been watching the "Disk usage" which seems to slowly creep up every day. Today it seems it was more than INN could handle, so the server "paused" and required a "ctlinnd xexec innd" to get it to run.

Here is the bottom area of the Daily Report, showing the expire errors (maybe even a segfault bug in /usr/lib/news/bin/news.daily: line 345 on this INN 2.4.5?).

This is followed by the news.notice log entries for the period, and a few other helpful files for information.


------------------------------------------------------------------------

Expire messages:
expireover start Thu Jan 28 00:02:05 CST 2010: ( -z/var/log/news/expire.rm -Z/var/log/news/expire.lowmark)
    Article lines processed    44543
    Articles dropped               0
    Overview index dropped         0
expireover end Thu Jan 28 00:34:01 CST 2010
lowmarkrenumber begin Thu Jan 28 00:34:01 CST 2010: (/var/log/news/expire.lowmark)
lowmarkrenumber end Thu Jan 28 00:34:02 CST 2010
expire begin Thu Jan 28 00:34:32 CST 2010: (-v1)
    expire: dbzsync: putcore failed
    expire: can't dbzclose /var/lib/news/history.n No space left on device
    expire: dbzinit: dbzinit already called once
    expire: can't dbzinit /var/lib/news/history Success
    expire: dbz: fseeko failure in putconf: Bad file descriptor
    /usr/lib/news/bin/news.daily: line 345: 14530 Segmentation fault      expire -v1
expire end Thu Jan 28 00:39:39 CST 2010
	all done Thu Jan 28 00:39:39 CST 2010
---------

Post expiration status:

Server status:
Server paused Expiring process 14530
Allowing remote connections
Parameters c 10 i 50 (10) l 1000000 o 1011 t 300 H 2 T 60 X 0 normal specified
Not reserved
Readers follow disabled Expiring process 14530
Perl filtering enabled
Perl filter stats: Pass: 227662  Reject: 39322  Refuse: 14146  MD5: 1652  PHL: 460  PHN: 406  PHR: 0  FSL: 384

Disk usage:
/etc/news                                    329720 Kbytes available   (1.7%)
/var/lib/news                                329720 Kbytes available   (1.7%)
/var/log/news                                329720 Kbytes available   (1.7%)
/var/spool/news/articles                     329720 Kbytes available   (1.7%)
/var/spool/news/incoming                     329720 Kbytes available   (1.7%)
/var/spool/news/outgoing                     329720 Kbytes available   (1.7%)
/var/spool/news/overview                     329720 Kbytes available   (1.7%)


------------------------------------------------------------------------

Jan 28 00:00:04 optima2 innd: SERVER servermode paused
Jan 28 00:00:04 optima2 innd: SERVER running
...
Jan 28 00:01:15 optima2 innd: ME time 600908 hishave 57(874) hiswrite 80(130) hissync 2(4) idle 592189(1158) artclean 24(137) artwrite 634(119) artcncl 1(1) hishave/artcncl 0(1) hiswrite/artcncl 1(1) artlog/artcncl 0(1) hisgrep/artcncl 0(0) sitesend 320(239) overv 603(119) perl 6008(130) nntpread 73(1166) artparse 47(454) artlog/artparse 0(0) artlog 25(137) datamove 12(1121) 
Jan 28 00:01:15 optima2 innd: ME HISstats 0 hitpos 0 hitneg 97 missed 63 dne
...
Jan 28 00:33:17 optima2 innfeed[1775]: ME articles active 1 bytes 0
Jan 28 00:33:17 optima2 innfeed[1775]: ME articles total 86 bytes 0
Jan 28 00:34:01 optima2 innd: CNFS-sm: CNFSflushallheads: flushing 001
Jan 28 00:34:01 optima2 innd: CNFS-sm: CNFSflushallheads: flushing 010
Jan 28 00:34:36 optima2 nocem: processed notice c2f6b903f6596634 by bleachbot@httrack.com (1 ids, 1.00000 s, 1.0/s)
...
Jan 28 00:39:34 optima2 innd: CNFS-sm: CNFSflushallheads: flushing 001
Jan 28 00:39:34 optima2 innd: CNFS-sm: CNFSflushallheads: flushing 010
Jan 28 00:39:34 optima2 innd: SERVER paused Expiring process 14530
Jan 28 00:39:42 optima2 innd: localhost connected 12
Jan 28 00:39:42 optima2 innd: localhost:12 closed seconds 0 accepted 0 refused 0 rejected 0 duplicate 0 accepted size 0 duplicate size 0
Jan 28 00:41:16 optima2 innd: ME time 600797 hishave 2758(341) hiswrite 1265(47) hissync 3(3) idle 572651(401) artclean 10(47) artwrite 1136(44) artcncl 351(4) hishave/artcncl 315(4) hiswrite/artcncl 35(4) artlog/artcncl 1(4) hisgrep/artcncl 0(0) sitesend 83(90) overv 20018(44) perl 1943(47) nntpread 31(429) artparse 16(120) artlog/artparse 0(0) artlog 17(48) datamove 3(367) 
Jan 28 00:41:16 optima2 innd: ME HISstats 0 hitpos 0 hitneg 0 missed 0 dne
...
Jan 28 00:51:16 optima2 innd: ME time 600295 hishave 0(0) hiswrite 0(0) hissync 0(0) idle 600151(153) artclean 0(0) artwrite 0(0) artcncl 0(0) hishave/artcncl 0(0) hiswrite/artcncl 0(0) artlog/artcncl 0(0) hisgrep/artcncl 0(0) sitesend 0(0) overv 0(0) perl 0(0) nntpread 8(137) artparse 6(108) artlog/artparse 0(0) artlog 0(0) datamove 3(102) 
Jan 28 00:51:16 optima2 innd: ME HISstats 0 hitpos 0 hitneg 0 missed 0 dne
...
Jan 28 01:01:17 optima2 innd: ME time 600516 hishave 0(0) hiswrite 0(0) hissync 0(0) idle 600351(115) artclean 0(0) artwrite 0(0) artcncl 0(0) hishave/artcncl 0(0) hiswrite/artcncl 0(0) artlog/artcncl 0(0) hisgrep/artcncl 0(0) sitesend 0(0) overv 0(0) perl 0(0) nntpread 3(93) artparse 3(65) artlog/artparse 0(0) artlog 0(0) datamove 3(46)
Jan 28 01:01:17 optima2 innd: ME HISstats 0 hitpos 0 hitneg 0 missed 0 dne
...
Jan 28 01:11:06 optima2 innd: localhost:108 closed seconds 0 accepted 0 refused 0 rejected 0 duplicate 0 accepted size 0 duplicate size 0
... There were 96 of these above lines until:
Jan 28 01:40:56 optima2 innd: localhost:108 closed seconds 0 accepted 0 refused 0 rejected 0 duplicate 0 accepted size 0 duplicate size 0
Jan 28 01:41:18 optima2 innd: ME time 600375 hishave 0(0) hiswrite 0(0) hissync 0(0) idle 600312(60) artclean 0(0) artwrite 0(0) artcncl 0(0) hishave/artcncl 0(0) hiswrite/artcncl 0(0) artlog/artcncl 0
(0) hisgrep/artcncl 0(0) sitesend 0(0) overv 0(0) perl 0(0) nntpread 0(3) artparse 0(1) artlog/artparse 0(0) artlog 0(0) datamove 0(2) 
Jan 28 01:41:18 optima2 innd: ME HISstats 0 hitpos 0 hitneg 0 missed 0 dne
Jan 28 01:41:32 optima2 innd: controlchan! closed
Jan 28 01:41:32 optima2 innd: nocem! closed
Jan 28 01:41:32 optima2 innd: innfeed! closed
Jan 28 01:41:32 optima2 innfeed[1775]: ME source lost . Exiting
Jan 28 01:41:32 optima2 innfeed[1775]: optima5 global seconds 307695 offered 100065 accepted 100058 refused 0 rejected 3 missing 0 accsize 390570068 rejsize 10580 spooled 0 unspooled 0
Jan 28 01:41:32 optima2 innd: inpaths! closed
Jan 28 01:41:32 optima2 innd: control:14 closed
Jan 28 01:41:32 optima2 innd: localconn:16 closed
... Many innfeed and innd entries for peers
Jan 28 01:41:32 optima2 innd: remconn:3 closed
Jan 28 01:41:32 optima2 innd: remconn:4 closed
Jan 28 01:41:32 optima2 innd: SERVER perl filtering disabled
Jan 28 01:41:34 optima2 innd: SERVER execv /usr/lib/news/bin/inndstart
Jan 28 01:41:34 optima2 innd: SERVER descriptors 1024
Jan 28 01:41:34 optima2 innd: SERVER outgoing 1011
Jan 28 01:41:34 optima2 innd: SERVER ccsetup control:14
Jan 28 01:41:34 optima2 innd: SERVER lcsetup localconn:16
Jan 28 01:41:34 optima2 innd: SERVER rcsetup remconn:3
Jan 28 01:41:35 optima2 innd: SERVER rcsetup remconn:4
Jan 28 01:41:35 optima2 innd: controlchan! spawned controlchan!:19:proc:15565
Jan 28 01:41:35 optima2 innd: nocem! spawned nocem!:20:proc:15566
Jan 28 01:41:35 optima2 innd: innfeed! spawned innfeed!:21:proc:15567
Jan 28 01:41:35 optima2 innfeed[15567]: ME starting innfeed 2.4.5 at Thu Jan 28 01:41:35 2010
Jan 28 01:41:36 optima2 innd: inpaths! spawned inpaths!:22:proc:15568
Jan 28 01:41:36 optima2 innfeed[15567]: loading /etc/news/innfeed.conf
Jan 28 01:41:39 optima2 innfeed[15567]: ME time 657 idle 0(1) blstats 0(1) stsfile 21(1) 
Jan 28 01:41:39 optima2 innfeed[15567]: optima5:0 connected
Jan 28 01:41:39 optima2 innfeed[15567]: optima5 remote MODE STREAM


------------------------------------------------------------------------

john@optima2:/etc/news$ df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda2             19534436  19208460    325976  99% /
tmpfs                   128320         0    128320   0% /lib/init/rw
udev                     10240       540      9700   6% /dev
tmpfs                   128320         0    128320   0% /dev/shm
/dev/hda1               124427     28924     89079  25% /boot

john@optima2:/etc/news$ ls -l /var/lib/news
total 358448
-rw-rw-r-- 1 news news    179785 2010-01-28 03:19 active
-rw-rw-r-- 1 news news    179738 2010-01-24 12:13 active.old
-rw-r--r-- 1 news news     51038 2010-01-24 12:13 active.times
-rw-rw-r-- 1 news news 314968547 2010-01-28 03:19 history
-rw-rw-r-- 1 news news       108 2010-01-28 03:19 history.dir
-rw-rw-r-- 1 news news  29238000 2010-01-28 03:19 history.hash
-rw-rw-r-- 1 news news  19492000 2010-01-28 03:19 history.index
-rw-r--r-- 1 news news   2566860 2009-05-31 08:44 newsgroups

john@optima2:/etc/news$ cat cycbuff.conf
cycbuff:001:/var/spool/news/cycbuffs/001:65535
cycbuff:002:/var/spool/news/cycbuffs/002:262143
cycbuff:003:/var/spool/news/cycbuffs/003:524287
cycbuff:004:/var/spool/news/cycbuffs/004:2097151
cycbuff:005:/var/spool/news/cycbuffs/005:2097151
cycbuff:006:/var/spool/news/cycbuffs/006:2097151
cycbuff:007:/var/spool/news/cycbuffs/007:2097151
cycbuff:008:/var/spool/news/cycbuffs/008:2097151
cycbuff:009:/var/spool/news/cycbuffs/009:2097151
cycbuff:010:/var/spool/news/cycbuffs/010:2097151

metacycbuff:veryfast:001
metacycbuff:fastbins:002
metacycbuff:fasttext:003
metacycbuff:slowbins:004
metacycbuff:slowtext:005,006,007,008,009,010:SEQUENTIAL


------------------------------------------------------------------------

I don't know where the space is being lost. I've removed all of the older files accumulating in /var/www, /var/www/pics and /var/log/news/path.

Nothing has been posted to the tradspool groups, so /var/spool/news/articles is not growing.

All of the other groups are in CNFS buffers.

I guess I'll need to remove one 2 GB cycbuff from cycbuff.conf (right now the oldest is 005), and the metacycbuff entry "005," then rem /var/spool/news/cycbuffs/005 to free up 2 GB of space.

Class slowtext  for groups matching "*"
 Buffer 005, size:  2.00 GBytes, position:   528 kBytes  2.00 cycles
  Newest: 2009-10-05 18:26:29,  114 days,  8:13:25 ago
  Oldest: 2009-09-09  9:20:55,  140 days, 17:18:59 ago
 Buffer 006, size:  2.00 GBytes, position:   528 kBytes  2.00 cycles
  Newest: 2009-11-01 22:34:54,   87 days,  4:58:14 ago
  Oldest: 2009-10-05 18:26:55,  114 days, 10:06:13 ago
 Buffer 007, size:  2.00 GBytes, position:   528 kBytes  2.00 cycles
  Newest: 2009-11-29  9:51:37,   59 days, 17:41:32 ago
  Oldest: 2009-11-01 22:35:26,   87 days,  4:57:43 ago
 Buffer 008, size:  2.00 GBytes, position:   528 kBytes  2.00 cycles
  Newest: 2009-12-26 13:41:05,   32 days, 13:52:04 ago
  Oldest: 2009-11-29  9:52:04,   59 days, 17:41:05 ago
 Buffer 009, size:  2.00 GBytes, position:   528 kBytes  2.00 cycles
  Newest: 2010-01-20 15:02:08,    7 days, 12:31:01 ago
  Oldest: 2009-12-26 13:41:17,   32 days, 13:51:52 ago
 Buffer 010, size:  2.00 GBytes, position:   596 MBytes  1.29 cycles
  Newest: 2010-01-28  3:32:56,    0 days,  0:00:13 ago
  Oldest: 2009-08-31 14:20:44,  149 days, 14:12:25 ago

That shouldn't be a problem for a transit server.

Before I do this, are there any ideas where the "leak" might be, and how to fix it?



-- 
John

When a person has -- whether they knew it or not -- already rejected the Truth, by what means do they discern a lie?
Technical Details
Message-ID: <hjrmb3$umq$1@optima5.xanadu-bbs.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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!news.glorb.com!news2.glorb.com!news.glorb.com!optima2.xanadu-bbs.net!optima5.xanadu-bbs.net!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <hjrmb3$umq$1@optima5.xanadu-bbs.net>
Subject: dbzsync: putcore failed
Date: Thu, 28 Jan 2010 03:45:06 -0600
From: "John F. Morse" <john@example.invalid>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!news.glorb.com!news2.glorb.com!news.glorb.com!optima2.xanadu-bbs.net!optima5.xanadu-bbs.net!not-for-mail
Newsgroups: news.software.nntp
Organization: Xanadu BBS
Lines: 195
Reply-To: dont.bother
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: optima5.xanadu-bbs.net 1264671907 31450 192.168.89.210 (28 Jan 2010
X-Complaints-To: newsmaster@xanadu-bbs.net
NNTP-Posting-Date: Thu, 28 Jan 2010 09:45:07 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
X-Enigmail-Version: 0.96.0