🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
9 messages
9 total messages Started by John F. Morse Thu, 28 Jan 2010 09:45
dbzsync: putcore failed
#82680
Author: 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?
Re: dbzsync: putcore failed
#82686
Author: Bruce Esquibel
Date: Thu, 28 Jan 2010 15:31
32 lines
1945 bytes
John F. Morse <john@example.invalid> wrote:

> Filesystem           1K-blocks      Used Available Use% Mounted on
> /dev/hda2             19534436  19208460    325976  99% /

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


As a wild assed guess, if you are looking for problems under /var and don't
see anything, the problem is somewhere else.

Your root disk is out of space.

If you don't have any nfs mounts on this drive (imported from somewhere
else), there are 1e06+ ways of doing this but as root, from /, try this:

find . -type f -size +10000000c -print

which should give you a short list of all files on the drive larger than 10
megs.

Something should pop up out of the ordinary, maybe in /var/log or whatever.

Just saying don't sweat the INN errors, it's bailing because it doesn't have
any breathing room to run expire.

I wouldn't mess with buffers either, you are on the wrong track with that
idea.

-bruce
bje@ripco.com
Re: dbzsync: putcore failed
#82695
Author: John F. Morse
Date: Thu, 28 Jan 2010 19:44
148 lines
7291 bytes
Hi Bruce,

Bruce Esquibel wrote:

> As a wild assed guess, if you are looking for problems under /var and don't
> see anything, the problem is somewhere else.
>
> Your root disk is out of space.
>
> If you don't have any nfs mounts on this drive (imported from somewhere
> else), there are 1e06+ ways of doing this but as root, from /, try this:
>
> find . -type f -size +10000000c -print
>
> which should give you a short list of all files on the drive larger than 10
> megs.
>
> Something should pop up out of the ordinary, maybe in /var/log or whatever.
>
> Just saying don't sweat the INN errors, it's bailing because it doesn't have
> any breathing room to run expire.
>
> I wouldn't mess with buffers either, you are on the wrong track with that
> idea.


This disk's used space has been creeping up day by day. Nothing happened 
all of a sudden.

As we noticed, it now is to the point where expire has not enough room 
to operate.

It looks like I need to regain the space used by the oldest 2 GB cycbuff 
to restore some breathing room.

With the loss of a cycbuff, the history should be smaller as well.

Here's the output of your suggestion:


john@optima2:/$ sudo find . -type f -size +10000000c -print
./sys/devices/pci0000:00/0000:00:0a.0/resource0
./var/lib/apt/lists/debian.mirrors.tds.net_debian_dists_lenny_main_binary-i386_Packages
./var/lib/apt/lists/debian.mirrors.tds.net_debian_dists_lenny_main_source_Sources
./var/lib/news/history
./var/lib/news/history.index
./var/lib/news/history.hash
./var/cache/apt/srcpkgcache.bin
./var/cache/apt/pkgcache.bin
./var/spool/news/cleanfeed/log/emp.md5
./var/spool/news/cleanfeed/log/emp.phn
./var/spool/news/cleanfeed/log/cf.binary
./var/spool/news/cleanfeed/log/cf.scoring
./var/spool/news/overview/a/p/alt.politics.DAT
./var/spool/news/overview/c/o/l/a/comp.os.linux.advocacy.DAT
./var/spool/news/overview/c/s/m/a/comp.sys.mac.advocacy.DAT
./var/spool/news/overview/l/d/b/d/linux.debian.bugs.dist.DAT
./var/spool/news/overview/l/k/linux.kernel.DAT
./var/spool/news/overview/m/s/misc.survivalism.DAT
./var/spool/news/overview/p/c/t/perl.cpan.testers.DAT
./var/spool/news/overview/p/c/t/perl.cpan.testers.IDX
./var/spool/news/overview/r/a/d/rec.arts.drwho.DAT
./var/spool/news/overview/r/a/s/t/rec.arts.sf.tv.DAT
./var/spool/news/overview/r/a/s/w/rec.arts.sf.written.DAT
./var/spool/news/overview/r/a/t/rec.arts.tv.DAT
./var/spool/news/overview/r/b/rec.boats.DAT
./var/spool/news/overview/r/c/m/rec.crafts.metalworking.DAT
./var/spool/news/overview/r/f/c/rec.food.cooking.DAT
./var/spool/news/overview/r/g/p/rec.games.pinball.DAT
./var/spool/news/overview/r/g/p/rec.gambling.poker.DAT
./var/spool/news/overview/r/m/b/rec.music.beatles.DAT
./var/spool/news/overview/r/m/c/r/rec.music.classical.recordings.DAT
./var/spool/news/overview/r/o/r/rec.outdoors.rv-travel.DAT
./var/spool/news/overview/r/s/f/c/rec.sport.football.college.DAT
./var/spool/news/overview/r/s/p/rec.sport.pro-wrestling.DAT
./var/spool/news/overview/r/s/t/rec.sport.tennis.DAT
./var/spool/news/overview/s/c/c/soc.culture.china.DAT
./var/spool/news/overview/s/c/i/soc.culture.indian.DAT
./var/spool/news/overview/s/c/i/soc.culture.israel.DAT
./var/spool/news/overview/s/c/j/soc.culture.jewish.DAT
./var/spool/news/overview/s/c/p/soc.culture.pakistan.DAT
./var/spool/news/overview/s/c/s/soc.culture.scottish.DAT
./var/spool/news/overview/s/c/u/soc.culture.usa.DAT
./var/spool/news/overview/s/e/d/sci.electronics.design.DAT
./var/spool/news/overview/s/e/sci.econ.DAT
./var/spool/news/overview/s/l/sci.lang.DAT
./var/spool/news/overview/s/m/n/sci.military.naval.DAT
./var/spool/news/overview/s/m/sci.math.DAT
./var/spool/news/overview/s/p/r/sci.physics.relativity.DAT
./var/spool/news/overview/s/p/sci.physics.DAT
./var/spool/news/overview/s/r/soc.retirement.DAT
./var/spool/news/overview/t/o/talk.origins.DAT
./var/spool/news/overview/t/p/g/talk.politics.guns.DAT
./var/spool/news/overview/t/p/m/talk.politics.misc.DAT
./var/spool/news/overview/x/b/xanadu.brisbee.DAT
./var/spool/news/cycbuffs/001
./var/spool/news/cycbuffs/002
./var/spool/news/cycbuffs/003
./var/spool/news/cycbuffs/004
./var/spool/news/cycbuffs/005
./var/spool/news/cycbuffs/006
./var/spool/news/cycbuffs/007
./var/spool/news/cycbuffs/008
./var/spool/news/cycbuffs/009
./var/spool/news/cycbuffs/010
./proc/kcore
find: `./proc/26802/task/26802/fd/5': No such file or directory
find: `./proc/26802/task/26802/fdinfo/5': No such file or directory
find: `./proc/26802/fd/5': No such file or directory
find: `./proc/26802/fdinfo/5': No such file or directory
john@optima2:/$


Do you see anything I could remove without breaking the system?

I noticed that the Cleanfeed logs are quite large, and that may be where 
the slow filling of disk space is:


john@optima2:/var/spool/news/cleanfeed/log$ ls -al
total 603892
drwxr-xr-x 2 news news       384 2009-10-15 20:09 .
drwxr-xr-x 4 news news        96 2009-06-13 19:06 ..
-rw-rw-r-- 1 news news  26294777 2010-01-28 12:30 cf.binary
-rw-rw-r-- 1 news news  35288893 2010-01-28 12:14 cf.scoring
-rw-rw-r-- 1 news news     14265 2010-01-24 03:51 cf.uuenc
-rw-rw-r-- 1 news news      4385 2010-01-28 13:09 cleanfeed.stats
-rw-rw-r-- 1 news news       815 2010-01-28 13:09 cleanfeed.stats.html
-rw-rw-r-- 1 news news    233124 2010-01-24 08:25 empdump
-rw-rw-r-- 1 news news     46234 2009-11-28 16:10 emp.fsl
-rw-rw-r-- 1 news news 409757879 2010-01-28 13:06 emp.md5
-rw-rw-r-- 1 news news      4048 2009-07-25 09:13 emp.md5.bin
-rw-rw-r-- 1 news news   1263597 2010-01-27 16:21 emp.phl
-rw-rw-r-- 1 news news 144790725 2010-01-28 13:09 emp.phn
-rw-rw-r-- 1 news news     59487 2009-12-20 17:21 emp.phr


There is nearly 604 MB right there!

Evidentially these logs do not rotate.

Can these simply be removed?


-- 
John

When a person has -- whether they knew it or not -- already rejected the Truth, by what means do they discern a lie?
Re: dbzsync: putcore failed
#82697
Author: Tony
Date: Thu, 28 Jan 2010 20:26
17 lines
1868 bytes
On 28/01/2010 19:44, John F. Morse wrote:

> I noticed that the Cleanfeed logs are quite large, and that may be where
> the slow filling of disk space is:
> There is nearly 604 MB right there!
> Can these simply be removed?

Yes.

You could pop something into /etc/logrotate.d to rotate them as well.

-- 
Tony Evans
Saving trees and wasting electrons since 1993
blog -> http://perceptionistruth.com/
olmr -> http://www.onelinemoviereviews.co.uk/
[ anything below this line wasn't written by me ]
Re: dbzsync: putcore failed
#82704
Author: Bruce Esquibel
Date: Fri, 29 Jan 2010 16:03
31 lines
2199 bytes
John F. Morse <john@example.invalid> wrote:

> I noticed that the Cleanfeed logs are quite large, and that may be where 
> the slow filling of disk space is:

> There is nearly 604 MB right there!

> Evidentially these logs do not rotate.

> Can these simply be removed?


Yes, they seem to be the likely suspect but even if they zero out daily, you
are still cutting things a bit close with the setup.

I think the history file when it gets rebuilt needs at least the amount of
free space it's currently using. Yours is around 315mb now and although
freeing up 600mb will probably fix the problem with expire, it's pretty
close to borderline.

If your idea of getting rid of one of the buffers, if that will put the disk
space back under /, if it was around 2GB, that will be a long term solution.

I use the raw device method under solaris, don't really have experience with
the file/block file thingy way of setting up the cnfs.

Anyway, killing off the log files, your expire should run normally, if it
does you pretty much nailed the problem.

-bruce
bje@ripco.com
Re: dbzsync: putcore failed
#82712
Author: John F. Morse
Date: Sun, 31 Jan 2010 10:53
53 lines
3076 bytes
Hi Bruce,

Bruce Esquibel wrote:
> John F. Morse <john@example.invalid> wrote:
>   
>> I noticed that the Cleanfeed logs are quite large, and that may be where 
>> the slow filling of disk space is:
>>     
>> There is nearly 604 MB right there!
>>     
>> Evidentially these logs do not rotate.
>>     
>> Can these simply be removed?
>>     
>
> Yes, they seem to be the likely suspect but even if they zero out daily, you
> are still cutting things a bit close with the setup.
>
> I think the history file when it gets rebuilt needs at least the amount of
> free space it's currently using. Yours is around 315mb now and although
> freeing up 600mb will probably fix the problem with expire, it's pretty
> close to borderline.
>
> If your idea of getting rid of one of the buffers, if that will put the disk
> space back under /, if it was around 2GB, that will be a long term solution.
>
> I use the raw device method under solaris, don't really have experience with
> the file/block file thingy way of setting up the cnfs.
>
> Anyway, killing off the log files, your expire should run normally, if it
> does you pretty much nailed the problem.
>
> -bruce
> bje@ripco.com
>   


Well, I deleted those and regained free space to nearly 1 GB now.

Expiry worked normally with the necessary breathing room.

I think I'll still delete the oldest cycbuff though, just to have a 
bigger safety margin in the future, and faster expiry.

Perhaps this Cleanfeed issue should be put into the documentation for 
Cleanfeed and/or INN.

Thanks for your assistance.

-- 
John

When a person has -- whether they knew it or not -- already rejected the Truth, by what means do they discern a lie?
Re: dbzsync: putcore failed
#82717
Author: Tony
Date: Sun, 31 Jan 2010 12:43
23 lines
2497 bytes
On 31/01/2010 10:53, John F. Morse wrote:

> Perhaps this Cleanfeed issue should be put into the documentation for
> Cleanfeed and/or INN.

Technically, cleanfeed is only logging anything because of your 
cleanfeed.local (which, if you use the default one that came with 
cleanfeed, will log some stuff using the saveart function).

But I think there's a strong recommendation to look at cleanfeed.local 
and make sure it's doing what you want.

Having said that, it's not entirely obvious what cleanfeed.local is up 
to unless you look at it in detail.  I (still) don't know enough perl to 
start submitting patches for cleanfeed, but I'd certainly consider one 
to manage logging in general to be useful.

-- 
Tony Evans
Saving trees and wasting electrons since 1993
blog -> http://perceptionistruth.com/
olmr -> http://www.onelinemoviereviews.co.uk/
[ anything below this line wasn't written by me ]
Re: dbzsync: putcore failed
#82718
Author: Julien ÉLIE
Date: Sun, 31 Jan 2010 13:22
24 lines
2271 bytes
Hi Tony,

> Technically, cleanfeed is only logging anything because of your cleanfeed.local 
> (which, if you use the default one that came with cleanfeed, will log some stuff 
> using the saveart function).
>
> But I think there's a strong recommendation to look at cleanfeed.local and make 
> sure it's doing what you want.

Yep!
I for one have removed or commented all the saveart() calls.

Another possibility is to unset the global debug_batch_directory variable.
It it is not set, saveart() and logart() do nothing.

    http://www.mixmin.net/cleanfeed/config.html

-- 
Julien ÉLIE

« En fait, je n'ai qu'une prétention, c'est de ne pas
  plaire à tout le monde. Plaire à tout le monde, c'est plaire
  à n'importe qui. » (Sacha Guitry) 
Re: dbzsync: putcore failed
#82719
Author: Steve Crook
Date: Sun, 31 Jan 2010 13:46
27 lines
1881 bytes
On Sun, 31 Jan 2010 04:53:57 -0600, John F. Morse wrote in
Message-Id: <hk3ng5$6j5$1@optima5.xanadu-bbs.net>:

> Perhaps this Cleanfeed issue should be put into the documentation for 
> Cleanfeed and/or INN.
Yes, it should.  Cleanfeed does have crude log rotation, (see
config{max_log_size} and config{rotate_file} but I missed them when
documenting the config options.  I'll try and remedy this in the coming
week.

I use the system logrotate to manage logfiles.  On my system this is
done with:-

news@snorky:/etc/logrotate.d$ cat cleanfeed
/usr/local/news/cleanfeed/log/* {
        rotate 7
        olddir old
        daily
        compress
        delaycompress
        missingok
        nocreate
}

This writes the rotated logs to /usr/local/news/cleanfeed/log/old (which
must exist).
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