Article View: news.software.nntp
Article #81562slow expireover
From: Geoff Brozny
Date: Thu, 09 Jul 2009 17:10
Date: Thu, 09 Jul 2009 17:10
106 lines
5118 bytes
5118 bytes
Hello, recently I setup a new reader box that replaced one that promptly
failed on me, I'm using the exact same config from the old server on the new
one, the only difference is I added two additional CNFS buffers for the
article spool, still using tradindexed for the overview. Expireover seems to
be taking the whole day:
expireover start Wed Jul 8 00:36:56 EDT 2009: (
-Z/var/log/news/expire.lowmark)
expireover end Wed Jul 8 18:16:42 EDT 2009
lowmarkrenumber begin Wed Jul 8 18:16:42 EDT 2009:
(/var/log/news/expire.lowmark)
lowmarkrenumber end Wed Jul 8 18:16:42 EDT 2009
I attached an strace to see what it was doing, and I see a lot of this:
open("/overview/group.index", O_RDWR|O_CREAT, 0664) = 20
fstat(20, {st_mode=S_IFREG|0664, st_size=5382152, ...}) = 0
fcntl(20, F_GETFD) = 0
fcntl(20, F_SETFD, FD_CLOEXEC) = 0
mmap(NULL, 5382152, PROT_READ|PROT_WRITE, MAP_SHARED, 20, 0) =
0x2b025a683000
fcntl(20, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=4192832, len=88})
= 0
open("/overview/d/a/debian.arm.IDX", O_RDWR|O_CREAT, 0664) = 21
fstat(21, {st_mode=S_IFREG|0664, st_size=0, ...}) = 0
fcntl(21, F_GETFD) = 0
fcntl(21, F_SETFD, FD_CLOEXEC) = 0
open("/overview/d/a/debian.arm.DAT", O_RDWR|O_CREAT|O_APPEND, 0664) = 22
fcntl(22, F_GETFD) = 0
fcntl(22, F_SETFD, FD_CLOEXEC) = 0
unlink("/overview/d/a/debian.arm.IDX-NEW") = -1 ENOENT (No such file or
directory)
unlink("/overview/d/a/debian.arm.DAT-NEW") = -1 ENOENT (No such file or
directory)
open("/overview/d/a/debian.arm.IDX-NEW", O_RDWR|O_CREAT, 0664) = 23
fstat(23, {st_mode=S_IFREG|0664, st_size=0, ...}) = 0
fcntl(23, F_GETFD) = 0
fcntl(23, F_SETFD, FD_CLOEXEC) = 0
open("/overview/d/a/debian.arm.DAT-NEW", O_RDWR|O_CREAT|O_APPEND, 0664) = 24
fcntl(24, F_GETFD) = 0
fcntl(24, F_SETFD, FD_CLOEXEC) = 0
fstat(21, {st_mode=S_IFREG|0664, st_size=0, ...}) = 0
fstat(22, {st_mode=S_IFREG|0664, st_size=0, ...}) = 0
close(23) = 0
close(24) = 0
msync(0x2b025aa82000, 4096, MS_ASYNC) = 0
close(21) = 0
close(22) = 0
rename("/overview/d/a/debian.arm.IDX", "/overview/d/a/debian.arm.IDX-BAK") =
0
rename("/overview/d/a/debian.arm.IDX-NEW", "/overview/d/a/debian.arm.IDX") =
0
rename("/overview/d/a/debian.arm.DAT-NEW", "/overview/d/a/debian.arm.DAT") =
0
unlink("/overview/d/a/debian.arm.IDX-BAK") = 0
msync(0x2b025aa82000, 4096, MS_ASYNC) = 0
fcntl(20, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=4192832, len=88})
= 0
munmap(0x2b025a683000, 5382152) = 0
close(20) = 0
open("/overview/group.index", O_RDWR|O_CREAT, 0664) = 20
fstat(20, {st_mode=S_IFREG|0664, st_size=5382152, ...}) = 0
fcntl(20, F_GETFD) = 0
fcntl(20, F_SETFD, FD_CLOEXEC) = 0
mmap(NULL, 5382152, PROT_READ|PROT_WRITE, MAP_SHARED, 20, 0) =
0x2b025a683000
fcntl(20, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=4192920, len=88})
= 0
open("/overview/d/b/c/debian.bugs.closed.IDX", O_RDWR|O_CREAT, 0664
<unfinished ...>
This is is mainly what it is doing:
pwrite(23,
"_\372\v\0\0\0\0\0\f\1\0\0\0\0\0\0k]NJ\0\0\0\0\0\0\0\0\0\0\0\0"..., 56,
137480) = 56
write(24, "63161\tRe: [Haskell-cafe] type me"..., 403) = 403
lseek(24, 0, SEEK_CUR) = 785662
pwrite(23,
"k\373\v\0\0\0\0\0\223\1\0\0\0\0\0\0k]NJ\0\0\0\0\0\0\0\0\0\0\0\0"..., 56,
137536) = 56
write(24, "63162\tRe: [Haskell-cafe] type me"..., 345) = 345
lseek(24, 0, SEEK_CUR) = 786007
pwrite(23,
"\376\374\v\0\0\0\0\0Y\1\0\0\0\0\0\0l]NJ\0\0\0\0\0\0\0\0\0\0\0\0"..., 56,
137592) = 56
write(24, "63163\tRe: [Haskell-cafe] Haskell"..., 308) = 308
lseek(24, 0, SEEK_CUR) = 786315
The system is not running out of memory, and is not getting into the swap at
all. On my other system that is basically the same setup, it takes
expireover only 1 hr to complete. Any ideas what could be wrong?
thanks,
geoff
Technical Details
Message-ID:
<h358b4$kv2$1@posting2.glorb.com>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-spur2.glorb.com!homer.glorb.com!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <h358b4$kv2$1@posting2.glorb.com> Subject: slow expireover Date: Thu, 9 Jul 2009 13:10:54 -0400 From: "Geoff Brozny" <gbrozny@glorb.columbus.oh.us> 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-spur2.glorb.com!homer.glorb.com!not-for-mail Newsgroups: news.software.nntp Organization: Glorb Internet Services, http://www.glorb.com Lines: 106 NNTP-Posting-Host: 1h39Zq3qee4SGKBFPzNmxA.user.posting2.glorb.com X-Complaints-To: abuse@glorb.com NNTP-Posting-Date: Thu, 9 Jul 2009 17:11:00 +0000 (UTC) X-Notice: Scanned by Mr. Bill X-Newsreader: Microsoft Outlook Express 6.00.2900.5512