Thread View: news.software.nntp
3 messages
3 total messages
Started by pink aka Chr. Boesgaard
Wed, 05 Jan 2000 00:00
expire causing fs-problems on INN 2.2.2 on Linux
Author: pink aka Chr. Boesgaard
Date: Wed, 05 Jan 2000 00:00
Date: Wed, 05 Jan 2000 00:00
114 lines
4430 bytes
4430 bytes
We're running INN on Linux 2.2 on an IA-32, using CNFS.
The problem is that something is not clearing inodes right. After an
expire there is about 500Mb less space on the drive holding history
and overview.
The historyfiles and friends is about 500Mb, but it could also be the
overview...
The difference is shown using df and du.
A e2fsck shows something like:
2265 non-contiguous inodes (11.4%)
After that, everything feels good again :)
I'm really not sure if it's a problem with inn, but ideas would be
appriciated...
The following is from the newsdaily report:
------------------------------------------------
Date: Wed, 5 Jan 2000 05:28:26 +0100
From: DIKU News Administrator <news@diku.dk>
To: news@diku.dk
Subject: munin.diku.dk Daily Usenet report for Wed Jan 5 04:00:01 CET 2000
Server status:
Server running
Allowing remote connections
Parameters c 14 i 50 (1) l 1000000 o 930 t 300 H 2 T 60 X 0 normal specified
Not reserved
Readers separate enabled
Perl filtering enabled
Disk usage:
/usr/local/news/db 2350475 Kbytes available
/usr/local/news/etc 2350475 Kbytes available
/usr/local/news/log 2350475 Kbytes available
/usr/local/news/spool/articles 2350475 Kbytes available
/usr/local/news/spool/incoming 2350475 Kbytes available
/usr/local/news/spool/outgoing 2350475 Kbytes available
/usr/local/news/spool/overview 2350475 Kbytes available
Batch file sizes:
Log file sizes:
0 errlog 31461 news 0 news.notice
1 expire.log 0 news.crit 0 nntpsend.log
0 innfeed.log 0 news.err 52 unwanted.log
Lock files:
LOCK.innwatch
Server connections:
newsfeed.net.uni-c.dk 1 (117)
TOTAL: 1 1
[...]
Expire messages:
expire begin Wed Jan 5 04:02:55 CET 2000: (-v1 -c -e
-z/usr/local/news/log/expire.rm -u/usr/local/news/log/expire.index.rm
-Z/usr/local/news/log/expire.lowmark)
Article lines processed 3997699
Articles retained 3803168
Entries expired 194531
Articles dropped 0
Overview index dropped 237513
Old entries dropped 111259
Old entries retained 732157
expire end Wed Jan 5 05:18:56 CET 2000
all done Wed Jan 5 05:18:56 CET 2000
lowmarkrenumber begin Wed Jan 5 05:18:57 CET 2000:
(/usr/local/news/log/expire.lowmark)
lowmarkrenumber end Wed Jan 5 05:18:58 CET 2000
expireindex start Wed Jan 5 05:19:07 CET 2000
expireindex end Wed Jan 5 05:28:23 CET 2000
---------
Post expiration status:
Server status:
Server running
Allowing remote connections
Parameters c 14 i 50 (2) l 1000000 o 930 t 300 H 2 T 60 X 0 normal specified
Not reserved
Readers separate enabled
Perl filtering enabled
Disk usage:
/usr/local/news/db 1820925 Kbytes available
/usr/local/news/etc 1820925 Kbytes available
/usr/local/news/log 1820925 Kbytes available
/usr/local/news/spool/articles 1820925 Kbytes available
/usr/local/news/spool/incoming 1820925 Kbytes available
/usr/local/news/spool/outgoing 1820925 Kbytes available
/usr/local/news/spool/overview 1820925 Kbytes available
Batch file sizes:
Log file sizes:
0 errlog 2027 news 0 news.notice
1 expire.log 0 news.crit 0 nntpsend.log
0 innfeed.log 0 news.err 54 unwanted.log
Lock files:
LOCK.innwatch
------------------------------------------------
Re: expire causing fs-problems on INN 2.2.2 on Linux
Author: pink aka Chr. Boesgaard
Date: Wed, 05 Jan 2000 00:00
Date: Wed, 05 Jan 2000 00:00
7 lines
937 bytes
937 bytes
pink@munin.diku.dk (pink aka Chr. Boesgaard) writes: > We're running INN on Linux 2.2 on an IA-32, using CNFS. AUCH -- a little work with lsof and kill did the job...
Re: expire causing fs-problems on INN 2.2.2 on Linux
Author: Ray Rocker
Date: Wed, 05 Jan 2000 00:00
Date: Wed, 05 Jan 2000 00:00
29 lines
1708 bytes
1708 bytes
In article <xkbhfgsbrhl.fsf@munin.diku.dk>, pink aka Chr. Boesgaard <pink@munin.diku.dk> wrote: > >We're running INN on Linux 2.2 on an IA-32, using CNFS. > >The problem is that something is not clearing inodes right. After an >expire there is about 500Mb less space on the drive holding history >and overview. > >The historyfiles and friends is about 500Mb, but it could also be the >overview... > >The difference is shown using df and du. That just means some running process (an nnrpd?) still has an open filehandle to the old history file. du won't see it because it's no longer linked in the directory structure, but df will, until all processes have closed their filehandles to it, allowing it to be deallocated. To find out which process it is, you could look up the inode # (ls -li) of the old history file, wait for expire to replace it, then look through /proc/[0-9]*/fd to see who still has it open. -- Ray Rocker rocker@datasync.com
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