Article delegate-en/1331 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
[Reference:<_A1330@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: nntp posting limit?
16 Sep 2001 23:12:23 GMT Martin Loeffler <pfqcqbdyi-jqwqhpdvu6xr.ml@ml.delegate.org>


Yutaka Sato wrote:

> In message <_A1329@delegate-en.ML_> on 09/17/01(04:41:24)
> you "Mr. Sharkey" <pfycqbdyi-jqwqhpdvu6xr.ml@ml.delegate.org> wrote:


>  |Ok, this is wht is recorded - It's worthwhile to note that after the
> 
> Thank you.  I've become confident that the cause of the problem
> is because the server does not respond at the end of POSTed data.
> 


..

> 
> Could you test what will happen if you post this record of message
> as a whole (removing ^M at line end, sending ending "." line at the
> same time) to the server by hand ?



Ok - the same thing happened; it just locked. To be sure I understood
you correctly, you wanted me to send the entire body of the message
as one long string, then a '.' on a line by itself afterwards?


>  
>  |This is when it's in the process of hanging -
>  |(btw - upgraded to v 7.5.2, but no differnece)
>  |
>  |root@solar:~/delegate7.5.2 # gdb src/delegated 9683
> 
> You must inspect the hanging process rather than the main process
> of DeleGate, the pid is 10341 in this case.
> 
>  |09/16 15:16:36.99 [10341] 1+0: NNTP POST: 340 Send Article to be Posted^M
> 



Thank you. Here's the output from a waiting process:

root@solar:~/delegate7.5.2/src # gdb delegated 11094
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-suse-linux"...(no debugging symbols found)...
/root/delegate7.5.2/src/11094: No such file or directory.
Attaching to program: /root/delegate7.5.2/src/delegated, Pid 11094
Reading symbols from /lib/libnsl.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_dns.so.2...done.
Loaded symbols for /lib/libnss_dns.so.2
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
0x400f91f7 in poll () from /lib/libc.so.6
(gdb) where
#0  0x400f91f7 in poll () from /lib/libc.so.6
#1  0x812b193 in PollIn1 ()
#2  0x811860b in _PollIn ()
#3  0x81185a8 in PollIn ()
#4  0x8064da0 in xPollIn ()
#5  0x8065bb1 in fgetsTIMEOUT ()
#6  0x80b59f8 in fgetsFSline ()
#7  0x80b5a92 in fgetsFS ()
#8  0x80b9c92 in NNTP_POST ()
#9  0x80bbad6 in do_sync ()
#10 0x80bc918 in NNTPrelay_request ()
#11 0x80c1292 in service_nntpX ()
#12 0x80c0eaf in service_nntp ()
#13 0x806cf41 in execSpecialist ()
#14 0x806c582 in execGeneralist1 ()
#15 0x812af5f in alloca_call ()
#16 0x811fddb in randstack_call ()
#17 0x80587bf in execGeneralist ()
#18 0x804fac6 in ExecGeneralist ()
#19 0x804f73f in call_client1 ()
#20 0x804ff76 in EXEC_client ()
#21 0x805212f in forkOnetimeServer ()
#22 0x8051ec8 in _main ()
#23 0x8050ba3 in delegate_main ()
#24 0x812af5f in alloca_call ()
#25 0x811fddb in randstack_call ()
#26 0x80555bc in mainX ()
#27 0x804ad0d in main ()
#28 0x40051baf in __libc_start_main () from /lib/libc.so.6
(gdb)






> 
> By the way, the enclosed patch, which repaces the copyfile() function
> with four lines of code with informational loggin, might change your
> situation .  Try it please.
> 


Ok, I did, and connections failed with 'permission denied':


09/16 19:05:58.50 [11180] 0+0: -- Fork(daemon): 1 -> 11180
09/16 19:05:58.50 [11180] 0+0: server_open(delegate,:119,listen=20)
09/16 19:05:58.50 [11180] 0+0: server_open(delegate,:119) BOUND
09/16 19:05:58.50 [11180] 0+0: DGROOT=/var/lib/nobody/delegate^M
09/16 19:05:58.50 [11180] 0+0: <DeleGate/7.5.2 by ysato@delegate.org> [11180] -P119 READY^M
09/16 19:05:58.48 [11180] 0+0: PORT= 119/7 (0,119)
09/16 19:05:58.48 [11180] 0+0: OWNER=nobody => OWNER=nobody/nogroup(nobody/nogroup)
09/16 19:05:58.49 [11180] 0+0: REMITTABLE = nntp
09/16 19:05:58.51 [11180] 0+0: ADMIN=delegate@bpal.. protocol=nntp(specialist)
09/16 19:05:58.49 [11180] 0+0: WORKDIR=/var/lib/nobody/delegate/work/119
09/16 19:05:58.49 [11180] 0+0: MOUNT[0]=[0] /-* =
09/16 19:05:58.49 [11180] 0+0: MOUNT[1]=[1] /=* =
09/16 19:05:58.49 [11180] 0+0: MOUNT[2]=[2] = nntp://aaaa.bbbbbbbb.com/* default
09/16 19:05:58.70 [11180] 0+0: env[46] LIBPATH=.:/root/delegate7.5.2:/var/lib/nobody/delegate/lib:src
09/16 19:05:58.70 [11180] 0+0: arg[2] ADMIN=delegate@bpal..
09/16 19:05:58.70 [11180] 0+0: arg[3] ADMINPASS=qbert
09/16 19:05:58.70 [11180] 0+0: arg[4] SERVER=nntp://aaaa.bbbbbbbb.com/
09/16 19:05:58.70 [11180] 0+0: arg[5] LOGFILE=${PORT}[date+.%d]
09/16 19:05:58.70 [11180] 0+0: arg[6] PERMIT=*:*:*
09/16 19:05:58.70 [11180] 0+0: arg[7] CACHE=no-article
09/16 19:05:58.71 [11180] 0+0: arg[8] FTOSV=-tee-v-L
09/16 19:05:58.71 [11180] 0+0: arg[9] FFROMSV=-tee-v-L
09/16 19:05:58.71 [11180] 0+0: arg[10] NNTPCONF=nntpcc:0
09/16 19:05:58.72 [11180] 0+0: DELEGATE_Modified[1]: 3ba53056
09/16 19:05:58.72 [11180] 0+0: --INITIALIZATION DONE--



09/16 19:06:03.83 [11182] 1+0: -- Fork(OnetimeServer): 11180 -> 11182
09/16 19:06:03.86 [11182] 1+0: (0) accepted [32] -@[192.168.2.100]foo_machine:1089 (0.027s)(1)
09/16 19:06:03.83 [11182] 1+0: PATH: nntp://aaaa.bbbbbbbb.com:119!192.168.2.3:119!foo_machine:1089!anonymous@foo_machine;1000681563
09/16 19:06:03.86 [11182] 1+0: ConnectToServer: DFLT=nntp://aaaa.bbbbbbbb.com:119 REAL=://:0
09/16 19:06:04.11 [11182] 1+0: ConnectToServer connected [7] {A.B.C.C:119 <- 192.168.2.3:53499} [0.254s]
09/16 19:06:04.12 [11183] 1+0: -- Fork(FTOSV): 11182 -> 11183
09/16 19:06:04.09 [11184] 1+0: -- Fork(FFROMSV): 11182 -> 11184
09/16 19:06:04.10 [11182] 1+0: NNTP-LOGIN; from=foo_machine; to=aaaa.bbbbbbbb.com:119; ACCEPTED
09/16 19:06:04.30 [11182] 1+0: FQDN: aaaa.bbbbbbbb.com
09/16 19:06:04.30 [11182] 1+0: [0] newServer = nntp://aaaa.bbbbbbbb.com:119
09/16 19:06:04.30 [11182] 1+0: islocal = 1
09/16 19:06:04.30 [11182] 1+0: setLISTcache: private=0 created=0 TIMEOFF=0 /var/lib/nobody/delegate/cache/nntp/aaaa.bbbbbbbb.com/LIST/active
09/16 19:06:04.30 [11182] 1+0: [0][0] = <=> nntp://:@aaaa.bbbbbbbb.com:119/
09/16 19:06:04.30 [11182] 1+0: MOUNT[0] aaaa.bbbbbbbb.com[1]
09/16 19:06:04.31 [11182] 1+0: MOUNT[0] aaaa.bbbbbbbb.com[1] rw
09/16 19:06:04.31 [11182] 1+0: #### no authorization required
502 Permission Denied - Permission Denied - NNTP Server^M
09/16 19:06:04.52 [11182] 1+0: ## S-C 502 Permission Denied - Permission Denied - NNTP Server [][]
09/16 19:06:04.49 [11182] 1+0: delay do_sync(1) untill all servers(1) up, Q=0
09/16 19:06:04.49 [11182] 1+0: NNTP S-C EOF[12](11184).
09/16 19:06:04.49 [11182] 1+0: cleaned up zombi: 11184 (EOF)
09/16 19:06:04.49 [11182] 1+0: ## S-C 400 server closed (502 Permission Denied - Permission Denied - NNTP Server) [][]
09/16 19:06:04.49 [11182] 1+0: EOF from server[0]
09/16 19:06:04.50 [11182] 1+0: EOF from servers
09/16 19:06:04.50 [11182] 1+0: NNTP: DONE
09/16 19:06:04.51 [11182] 1+0: disconnected [32] -@[192.168.2.100]foo_machine:1089 (0.678s)(0)
09/16 19:06:05.69 [11182] 1+0: CFI process remaining (1/1)





M.


  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V