nnrpd very slow

Kenichi Okada okada at opaopa.org
Fri Nov 19 09:27:42 UTC 1999


I have serious problem.
I have CNFS and small tradspool under inn-1999-10-31_03-00
(or inn-1999-11-17_03-01).
I increased SCSI disks. I started INN, and it took much time
to start up. It seems very slow to read `tradspool.map'.
What should I do?

I tried next command to test.
% time truss nnrpd >& /tmp/log </dev/null
===================================================================
getpid()                                        = 4284 [4283]
fcntl(4, F_SETLK, 0xEFFFE7FC)                   Err#11 EAGAIN
open("/usr/news/etc/storage.conf", O_RDONLY)    = 6
fstat(6, 0xEFFFF080)                            = 0
ioctl(6, TCGETA, 0xEFFFF00C)                    Err#25 ENOTTY
read(6, " #   T h i s   f i l e  ".., 8192)     = 3198
read(6, 0x0010680C, 8192)                       = 0
lseek(6, 0, SEEK_CUR)                           = 3198
close(6)                                        = 0
open("/usr/news/spool/tradspool.map", O_RDONLY) = 6
fstat(6, 0xEFFFF150)                            = 0
read(6, " c o n t r o l   1\n c o".., 8192)     = 8192
brk(0x0010C800)                                 = 0
brk(0x0010D800)                                 = 0
brk(0x0010E800)                                 = 0
brk(0x0010F800)                                 = 0
read(6, " / f l e a m a r k e t /".., 8190)     = 8190

...
..
very slow
...
..
read(6, " y   3 7 6 0 4\n a l t /".., 8174)     = 8174
read(6, " c t r o n i c s / b a s".., 8176)     = 8176
read(6, " e x u a l i t y / h a t".., 8174)     = 6336
read(6, 0x00106808, 8192)                       = 0
close(6)                                        = 0
sysconfig(_CONFIG_PAGESIZE)                     = 4096
open("/usr/news/etc/cycbuff.conf", O_RDONLY)    = 6
fstat(6, 0xEFFFF150)                            = 0
read(6, " #\n #   M e t a   c n f".., 2028)     = 2028
close(6)                                        = 0
stat("/spool/cnfs/control1", 0xEFFFF150)        = 0
stat("/spool/cnfs/junk1", 0xEFFFF150)           = 0
stat("/spool/cnfs/junk2", 0xEFFFF150)           = 0
stat("/spool/cnfs/binaries1", 0xEFFFF150)       = 0
stat("/spool/cnfs/fj", 0xEFFFF150)              = 0
stat("/spool/cnfs/fj2", 0xEFFFF150)             = 0
stat("/spool/cnfs/japan", 0xEFFFF150)           = 0
stat("/spool/cnfs/japan2", 0xEFFFF150)          = 0
stat("/spool/cnfs/misc", 0xEFFFF150)            = 0
stat("/spool/cnfs/misc2", 0xEFFFF150)           = 0
stat("/spool/cnfs/oversea1", 0xEFFFF150)        = 0

...

..
270.39u 0.99s 6:50.29 66.1%
===================================================================

Full log of it is ftp://opaopa.org/pub/tmp/nnrpd.log .

Thank you.
-- 
Kenichi Okada
mailto:okada at opaopa.org


More information about the inn-workers mailing list