🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #46575

Re: nnrp post is very slow

#46575
From: Frank Kloeker
Date: Wed, 24 May 2000 00:00
70 lines
4763 bytes
Kjetil Torgrim Homme wrote:
[...]
> No, I can't imagine why it is so slow.  It sounds like there is some
> timeout or alarm.  Did you manage to truss the nnrpd while it accepts
> and delivers the posting?
> 

ok, here is my truss-output:

Base time stamp:  959198871.6735  [ Wed May 24 22:07:51 MET DST 2000 ]
poll(0xFFBED8B8, 1, 600000)     (sleeping...)
 3.1896 poll(0xFFBED8B8, 1, 600000)                     = 1
 3.1900 read(0, " P O S T\r\n", 1024)                   = 6
 3.1908 write(1, " 3 4 0   O k\r\n", 8)                 = 8
 3.4147 poll(0xFFBED740, 1, 300000)                     = 1
 3.4151 read(0, " D a t e :   W e d ,   2".., 1024)     = 331
 3.4769 poll(0xFFBED740, 1, 300000)                     = 1
 3.4773 read(0, "\r\n .\r\n", 1024)                     = 5
 3.4781 getpid()                                        = 29720 [135]
 3.4784 time()                                          = 959198875
 3.4786 getpid()                                        = 29720 [135]
 3.4790 open("/usr/local/news/etc/distrib.pats", O_RDONLY) = 5
 3.4794 fstat64(5, 0xFFBECB00)                          = 0
 3.4799 ioctl(5, TCGETA, 0xFFBECA8C)                    Err#25 ENOTTY
 3.4802 read(5, " # #     $ R e v i s i o".., 8192)     = 495
 3.4806 read(5, 0x0061100C, 8192)                       = 0
 3.4808 lseek(5, 0, SEEK_SET)                           = 0
 3.4810 read(5, " # #     $ R e v i s i o".., 8192)     = 495
 3.4814 read(5, 0x0061100C, 8192)                       = 0
 3.4817 llseek(5, 0, SEEK_CUR)                          = 495
 3.4819 close(5)                                        = 0
 3.4825 getcontext(0xFFBECDC0)
 3.4835 so_socket(1, 2, 0, "", 1)                       = 5
 3.4840 connect(5, 0xFFBED160, 110, 1)                  = 0
 3.4843 fstat64(5, 0xFFBECE00)                          = 0
 3.4845 ioctl(5, TCGETA, 0xFFBECD8C)                    Err#22 EINVAL
read(5, 0x0061100C, 8192)       (sleeping...)
10.1787 read(5, " 2 0 0   n e w s . g e r".., 8192)     = 70
10.1802 dup(5)                                          = 6
10.1806 fstat64(6, 0xFFBEC328)                          = 0
10.1811 ioctl(6, TCGETA, 0xFFBEC2B4)                    Err#22 EINVAL
10.1815 write(6, " i h a v e   < 8 g h c q".., 39)      = 39
read(5, 0x0061100C, 8192)       (sleeping...)
14.9761 read(5, " 3 3 5\r\n", 8192)                     = 5
14.9772 write(6, " P a t h :   n o t - f o".., 578)     = 578
14.9778 write(6, " i g n o r e\r\n .\r\n", 11)          = 11
read(5, 0x0061100C, 8192)       (sleeping...)
19.5464 read(5, " 2 3 5\r\n", 8192)                     = 5
19.5472 write(6, " q u i t\r\n", 6)                     = 6
19.5500 close(6)                                        = 0
read(5, 0x0061100C, 8192)       (sleeping...)
23.0353 read(5, " 2 0 5   .\r\n", 8192)                 = 7
23.0358 llseek(5, 0, SEEK_CUR)                          Err#29 ESPIPE
23.0365 close(5)                                        = 0
23.0370 fstat(3, 0xFFBED610)                            = 0
23.0374 time()                                          = 959198894
23.0378 getpid()                                        = 29720 [135]
23.0384 putmsg(3, 0xFFBECCC8, 0xFFBECCBC, 0)            = 0
23.0394 open("/etc/.syslog_door", O_RDONLY)             = 5
23.0401 door_info(5, 0xFFBECC00)                        = 0
23.0407 getpid()                                        = 29720 [135]
23.0410 door_call(5, 0xFFBECBE8)                        = 0
23.0413 close(5)                                        = 0
23.0416 write(1, " 2 4 0   A r t i c l e  ".., 20)      = 20
poll(0xFFBED8B8, 1, 600000)     (sleeping...)

-- 
Don't dream your life, live your dream!

Technical Details
Message-ID: <8ghdjk$uv$1@news.germany.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <8fcka4$cvd$1@news.germany.net> <1rd7mtb7qn.fsf@haey.ifi.uio.no> <958110150.991368@news.netscum.dk> <8fv052$n7q$1@news.germany.net> <1rn1lmy7ms.fsf@haey.ifi.uio.no> <8gg412$n81$1@news.germany.net> <1r7lcknw5w.fsf@haey.ifi.uio.no> <8gggj1$1ah$1@news.germany.net> <1raehfn7dr.fsf@haey.ifi.uio.no>

Show Full Headers
Complete Article Headers
Message-ID: <8ghdjk$uv$1@news.germany.net>
Subject: Re: nnrp post is very slow
Date: Wed, 24 May 2000 00:00:00 +0000
From: Frank Kloeker <eumel@gno.de>
References: <8fcka4$cvd$1@news.germany.net> <1rd7mtb7qn.fsf@haey.ifi.uio.no> <958110150.991368@news.netscum.dk> <8fv052$n7q$1@news.germany.net> <1rn1lmy7ms.fsf@haey.ifi.uio.no> <8gg412$n81$1@news.germany.net> <1r7lcknw5w.fsf@haey.ifi.uio.no> <8gggj1$1ah$1@news.germany.net> <1raehfn7dr.fsf@haey.ifi.uio.no>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 626867046
Content-Transfer-Encoding: 7bit
X-Accept-Language: de, en
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: news@germany.net
X-Trace: news.germany.net 151.189.93.177 959199668 991
Organization: eumel@home
Mime-Version: 1.0
NNTP-Posting-Date: 24 May 2000 20:21:08 GMT
Newsgroups: news.software.nntp