Wiggins has asked for the wisdom of the Perl Monks concerning the following question:
I believe the 5 minutes is an internal CPp/dependancy timeout for an incomplete FTP connection. Where should I look to modify this value to a more reasonable number?
CPp starts with a DNS for ftp.cpan.org which returns 3 entries (partial display):
The IP 149.20.20.135 is actually mirror1.kernel.org and is the site of interest. This mislabeling(?) is used later in the capture display below.[Time: 0.001157000 seconds] Transaction ID: 0x2b66 Flags: 0x8180 (Standard query response, No error) Questions: 1 Answer RRs: 3 Authority RRs: 0 Additional RRs: 0 Queries ftp.cpan.org: type A, class IN Answers ftp.cpan.org: type CNAME, class IN, cname ftp.cpan.ddns.develo +oper.com ftp.cpan.ddns.develooper.com: type A, class IN, addr 149.20.20 +.135 ftp.cpan.ddns.develooper.com: type A, class IN, addr 64.74.207 +.33
I removed packet 482-488 since they are arps and such. Note the time(seconds) of packets 479,480,and 489. Blimey.. 5 minutes have elapsed!! At packet 490, the process continues after the timeout. Using wireshark's 'follow' capability, the exchange looks like:No. Time Source Destination Protoc +ol Info 478 8.439037 ftp.cpan.ddns.develooper.com 192.168.42.133 + FTP Response: 230-\t\t\t mirrors.kernel.org 479 8.478342 192.168.42.133 ftp.cpan.ddns.develooper.com + TCP 35108 > ftp [ACK] Seq=44 Ack=181 Win=5840 Len=0 480 125.530181 ftp.cpan.ddns.develooper.com 192.168.42.133 + TCP ftp > 38778 [RST] Seq=585 Win=64239 Len=0 481 127.866995 ftp.cpan.ddns.develooper.com 192.168.42.133 + TCP ftp > 38780 [RST] Seq=587 Win=64239 Len=0 489 308.440613 ftp.cpan.ddns.develooper.com 192.168.42.133 + TCP ftp > 35108 [ACK] Seq=181 Ack=45 Win=64239 Len=0 490 308.517008 192.168.42.133 192.168.42.2 DNS + Standard query A ftp.cpan.org 491 308.518349 192.168.42.2 192.168.42.133 DNS + Standard query responseCNAME ftp.cpan.ddns.develooper.com A 64.74. +207.33 A 149.20.20.135
CPp is still waiting for the end of the multi-line reply started with the "230-\n"220 Welcome to mirrors.kernel.org. USER anonymous 331 Please specify the password. PASS cpanplus@example.com 230-..Welcome to the mirror archives of the 230-...LINUX KERNEL ARCHIVES 230-... mirrors.kernel.org 230-
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: CPANplus 5 minute timeout
by bingos (Vicar) on Jan 15, 2009 at 20:38 UTC | |
by Wiggins (Hermit) on Jan 16, 2009 at 14:38 UTC |