Thread View: news.software.nntp
3 messages
3 total messages
Started by John F. Morse
Tue, 20 Jun 2006 02:00
index inode mismatch
Author: John F. Morse
Date: Tue, 20 Jun 2006 02:00
Date: Tue, 20 Jun 2006 02:00
258 lines
12979 bytes
12979 bytes
Below is last night's Daily Report from a new Inn server (news7) which I fired up yesterday for testing some ideas.
I commented out the peering entries in incoming.conf, innfeed.conf, and newsfeeds, which were not in the configuration files for the news2 server anyway.
It appears there may be some problem with the hard drive, although it has worked fine in the past. At least I suspect this from the many errors mentioning "inode."
What specifically does Inn refer to when using the inode term?
Will this problem repair itself during the nightly housekeeping? Perhaps it already did so last night.
TIA,
--
John
------------------------------------------------------------------------
Server status:
Server running
Allowing remote connections
Parameters c 0 i 50 (0) l 1000000 o 1011 t 300 H 2 T 60 X 0 normal specified
Not reserved
Readers follow enabled
Perl filtering enabled
Disk usage:
/etc/news 1209824 Kbytes available (30.1%)
/var/lib/news 1209824 Kbytes available (30.1%)
/var/log/news 1209824 Kbytes available (30.1%)
/var/spool/news/articles 1209824 Kbytes available (30.1%)
/var/spool/news/incoming 1209824 Kbytes available (30.1%)
/var/spool/news/outgoing 1209824 Kbytes available (30.1%)
/var/spool/news/overview 1209824 Kbytes available (30.1%)
Batch file sizes:Log file sizes:
4 errlog 0 innfeed.log 4 news 0 news.crit 4 news.err 44 news.notice
Lock files:
LOCK.innwatch
Server connections:
TOTAL: 0 0
Error log:
innd: tradindexed: index inode mismatch for local.announce
innd: tradindexed: index inode mismatch for 7FB1C732AD427426B1BF1E5CF44D6B2E
---------
Daily Usenet report from Jun 18 09:37:39 to Jun 19 04:15:02
Unknown entries from news log file:
First 4 / 4 lines (100.0%)
Jun 18 09:37:39 localhost makehistory[1188]: tradspool: /var/spool/news/tradspool.map not found
Jun 18 13:10:01 localhost rnews: cant open_remote: Connection refused
Jun 18 23:39:31 localhost innd: tradindexed: index inode mismatch for local.announce
Jun 18 23:39:32 localhost innd: tradindexed: index inode mismatch for 7FB1C732AD427426B1BF1E5CF44D6B2E
Log entries by program:
Program name Lines %Lines Size %Size
nnrpd 195 41.2% 18.5 KB 44.2%
innfeed 128 27.1% 13.0 KB 31.0%
innd 127 26.8% 8.7 KB 20.8%
controlchan 15 3.2% 1.0 KB 2.5%
rnews 4 0.8% 0.3 KB 0.6%
inn 3 0.6% 0.3 KB 0.6%
makehistory 1 0.2% 0.1 KB 0.2%
TOTAL: 7 473 100.0% 41.8 KB 100.0%
nnrpd timer:
Code region Time Pct Invoked Min(ms) Avg(ms) Max(ms)
idle 01:49:35.465 99.0% 402 3171.608 16356.878 59155.615
newnews 00:00:00.000 0.0% 0 0.000 0.000 0.000
nntpwrite 00:00:20.746 0.3% 403 0.000 51.479 572.529
readart 00:00:00.024 0.0% 3 0.000 8.000 15.000
TOTAL: 01:50:39 01:49:56.235 99.4% - - - -
Control commands to INND:
Command Number
flushlogs 1
paused 1
reload 1
shutdown 2
throttle 2
TOTAL: 5 7
Newsgroups created:
Group Mode
alt.conspiracy.new-world-order y
alt.current-events y
alt.current.events y
humanities.philosophy y
misc.education.home-schooling y
misc.education.public y
misc.forsale y
misc.health y
misc.wanted y
news.announcements y
talk.abortion y
talk.euthanasia y
TOTAL 12
Newsgroups removed:
Group
alt.current.events
TOTAL: 1
Incoming Feeds (INN):
Server Connects Offered Taken Refused Reject %Accpt Elapsed
localhost 11 3 3 0 0 100% 00:00:01
TOTAL: 1 11 3 3 0 0 100% 00:00:01
Incoming Volume (INN):
Server AcceptVol DupVol TotalVol %Acc Vol/Art Elapsed
localhost 96.7 KB 0.0 KB 96.7 KB 100% 32.2 KB 00:00:01
TOTAL: 1 96.7 KB 0.0 KB 96.7 KB 100% 32.2 KB 00:00:01
Incoming articles:
Date Articles %Arts Art/sec Size %Size KB/sec
Jun 18 23:37:39 - 04:15:02 3 100.0% 0.00 96.7 KB 100.0% 0.04
TOTAL: 00:37:23 3 100.0% 0.00 96.7 KB 100.0% 0.04
Outgoing Feeds (innfeed) by Articles:
Server Offered Taken Refused Reject Miss Spool %Took Elapsed
news2.my.net 11 0 0 0 0 11 0% 00:15:12
TOTAL: 1 11 0 0 0 0 11 0% 00:15:12
Outgoing Feeds (innfeed) by Volume:
Server AcceptVol RejectVol TotalVol Volume/sec Vol/Art Elapsed
news2.my.net 0.0 KB 0.0 KB 0.0 KB 0.0 KB/s 0 00:15:12
TOTAL: 1 0.0 KB 0.0 KB 0.0 KB 0.0 KB/s 0 00:15:12
Rnews connections rejected:
Reason Conn
What server? 3
TOTAL: 1 3
NNRP readership statistics:
System Conn Arts Size Groups Post Rej Elapsed
wgn.my.net 16 3 98.8 KB 18 3 0 01:50:39
TOTAL: 1 16 3 98.8 KB 18 3 0 01:50:39
NNRP readership statistics (by domain):
System Conn Arts Size Groups Post Rej Elapsed
*.my.net 16 3 98.8 KB 18 3 0 01:50:39
TOTAL: 1 16 3 98.8 KB 18 3 0 01:50:39
NNRP auth users [Top 20]:
User Conn
john 11
TOTAL: 1 11
NNRP total resource statistics [Top 20]:
System User(ms) System(ms) Idle(ms) Elapsed
wgn18.my.net 6.560 5.670 0.286 01:50:39
TOTAL: 1 6.560 5.670 0.286 01:50:39
NNRP client timeouts [Top 20]:
System Conn Peer
wgn18.my.net 8 0
TOTAL: 1 8 0
Newsgroup request counts (by category):
Category Count Pct
alt 2 66.7%
local 1 33.3%
TOTAL: 2 3 100.0%
Newsgroup request counts (by newsgroup) [Top 100]:
Newsgroup Count
local.announce 1
alt.current-events 1
alt.current.events 1
TOTAL: 3 3
---------
Expire messages:
expireover start Mon Jun 19 04:15:09 CDT 2006: ( -z/var/log/news/expire.rm -Z/var/log/news/expire.lowmark)
expireover: tradindexed: index inode mismatch for control
expireover: tradindexed: index inode mismatch for control.cancel
expireover: tradindexed: index inode mismatch for control.checkgroups
expireover: tradindexed: index inode mismatch for control.newgroup
expireover: tradindexed: index inode mismatch for control.rmgroup
expireover: tradindexed: index inode mismatch for junk
expireover: tradindexed: index inode mismatch for local.test
expireover: tradindexed: index inode mismatch for brisbee
expireover: tradindexed: index inode mismatch for computers
expireover: tradindexed: index inode mismatch for petchat
expireover: tradindexed: index inode mismatch for soapbox
expireover: tradindexed: index inode mismatch for raucouscaucus
expireover: tradindexed: index inode mismatch for local.announce
Article lines processed 40668
Articles dropped 0
Overview index dropped 0
expireover end Mon Jun 19 04:15:31 CDT 2006
lowmarkrenumber begin Mon Jun 19 04:15:31 CDT 2006: (/var/log/news/expire.lowmark)
lowmarkrenumber end Mon Jun 19 04:15:31 CDT 2006
expire begin Mon Jun 19 04:16:01 CDT 2006: (-v1)
Article lines processed 46032
Articles retained 46031
Entries expired 1
expire end Mon Jun 19 04:16:20 CDT 2006
all done Mon Jun 19 04:16:20 CDT 2006
---------
Post expiration status:
Server status:
Server running
Allowing remote connections
Parameters c 0 i 50 (0) l 1000000 o 1011 t 300 H 2 T 60 X 0 normal specified
Not reserved
Readers follow enabled
Perl filtering enabled
Disk usage:
/etc/news 1210192 Kbytes available (30.1%)
/var/lib/news 1210192 Kbytes available (30.1%)
/var/log/news 1210192 Kbytes available (30.1%)
/var/spool/news/articles 1210192 Kbytes available (30.1%)
/var/spool/news/incoming 1210192 Kbytes available (30.1%)
/var/spool/news/outgoing 1210192 Kbytes available (30.1%)
/var/spool/news/overview 1210192 Kbytes available (30.1%)
Batch file sizes:
Log file sizes:
0 errlog 0 innfeed.log 0 news.crit 4 news.notice
4 expire.log 0 news 0 news.err 0 unwanted.log
Lock files:
LOCK.innwatch
Server connections:
TOTAL: 0 0
Re: index inode mismatch
Author: Russ Allbery
Date: Tue, 20 Jun 2006 02:10
Date: Tue, 20 Jun 2006 02:10
34 lines
2531 bytes
2531 bytes
John F Morse <xanadu.bbs@invalid.net> writes:
> Below is last night's Daily Report from a new Inn server (news7) which I
> fired up yesterday for testing some ideas.
> I commented out the peering entries in incoming.conf, innfeed.conf, and
> newsfeeds, which were not in the configuration files for the news2
> server anyway.
> It appears there may be some problem with the hard drive, although it
> has worked fine in the past. At least I suspect this from the many
> errors mentioning "inode."
> What specifically does Inn refer to when using the inode term?
> Will this problem repair itself during the nightly housekeeping? Perhaps
> it already did so last night.
This means that the inode of the index file for the overview for a
particular group does not match the inode recorded in the overall database
index. INN uses the inode as a hint to avoid locking in the common case,
so this mismatch causes nnrpd to run somewhat slower since it has to lock
each overview file as it opens it. This is usually caused by moving the
overview to a different disk, and other than the slight slowdown from
doing otherwise unnecessary locking is harmless.
Nightly expire will rewrite all of the overview files and will thereby fix
this problem.
--
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: index inode mismatch
Author: John F. Morse
Date: Tue, 20 Jun 2006 06:16
Date: Tue, 20 Jun 2006 06:16
71 lines
3659 bytes
3659 bytes
Russ Allbery wrote: >John F Morse <xanadu.bbs@invalid.net> writes: > > >>What specifically does Inn refer to when using the inode term? >> >> > > > >>Will this problem repair itself during the nightly housekeeping? Perhaps >>it already did so last night. >> >> > >This means that the inode of the index file for the overview for a >particular group does not match the inode recorded in the overall database >index. INN uses the inode as a hint to avoid locking in the common case, >so this mismatch causes nnrpd to run somewhat slower since it has to lock >each overview file as it opens it. This is usually caused by moving the >overview to a different disk, and other than the slight slowdown from >doing otherwise unnecessary locking is harmless. > >Nightly expire will rewrite all of the overview files and will thereby fix >this problem. > Thanks, Russ. Yes the problem fixed itself at the 0415 expiry routine. All looks well now. Later in the morning I changed the /etc/cron.d/inn2 time to 0 0 instead of the 15 4 default. The newest Daily Report looks fine, and there were no entries in any of the error log files prior to midnight. I did find an error in the From: TLD of exim4 from months ago and fixed it as well. The reason for the inode problem is exactly what you mentioned. As a quick method to get the new server operating after an apt-get install, I simply used remote copy to snag all of the configuration files, and the spool stuff, from the news2 server, which is headless, and located in the basement with news7. For instance, I ran the following from another BASH terminal, three floors distant from the news2 and news7 servers, while ssh to var/spool/news of news7, news' home: news@news7:~$ rcp -r news@news2:/var/spool/news/articles . (the dot means "here") Cheap and somewhat fast, considering around 50k articles or so. Faster than pullnews or suck, and the message numbers remained the same. The paths will be wrong, but this server is for experimental use. I couldn't get the following to work: news@main_computer:~$ rcp -r news@news2:/var/spool/news/articles news@news7:/var/spool/news This method, if it would have worked, would probably have doubled the LAN traffic, since main_computer would have to relay everything. Again, thanks. -- John
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