Skip Menu |

This queue is for tickets about the libnet CPAN distribution.

Report information
The Basics
Id: 29785
Status: resolved
Priority: 0/
Queue: libnet

People
Owner: Nobody in particular
Requestors: Sherman.Beus [...] pnl.gov
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Multi-threaded FTP
Date: Thu, 04 Oct 2007 16:54:12 -0700
To: <bug-libnet [...] rt.cpan.org>
From: "Beus, Sherman J" <Sherman.Beus [...] pnl.gov>
Hello, First of all, here is some brief configuration info: Perl 5.8.8 libnet (whatever comes with 5.8.8) Server SunOS 5.10 Generic_125100-07 sun4u sparc SUNW,Sun-Fire-V240 Using Net::FTP in a multi-threaded setting causes sporadic uncaught FTP errors. For example, small test files being sent from two concurrent threads are merged on destination host. The error is reproducible, but not on a consistent basis - usually within 3-4 runs of our test program, which has 32 threads jointly sending 320 10-byte files. We cannot reproduce the error when running our application in non-threaded mode. This post might be describing the same problem we are seeing: http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2005-10/msg00865.html We also occasionally encounter these fatal error messages only when running in threaded mode: thread failed to start: Can't call method "sockport" on an undefined value at perl5.8.8/lib/5.8.8/Net/FTP.pm line 837 thread failed to start: Can't locate object method "new" via package "Net::FTP::I" at perl5.8.8/lib/5.8.8/sun4-solaris-thread-multi/IO/Socket.pm line 168 We are extremely interested in resolving this problem as our application is mission critical and requires the use of threading. Many thanks in advance, Sherman Beus
This looks like it is an issue with the loading of IO::Socket and IO::Socket::INET, not with Net::FTP itself Graham.