Kip Cranford wrote:
> 
> Again, I'm using mod_perl 1.21, apache 1.3.9, Apache::Session 1.03, on a
> RedHat 6 linux system with perl 5.005_03, and am using Netscape Comm.
> 4.51 as my browser.
> 
> The problem now seems to be Apache::Session and file uploads.  My
> handler is providing a simple file upload interface, and I'm using
> Apache::Session to keep track of filenames, content types, sizes, etc.
> 
> Using a very simple script, in which I store only a single scalar
> variable in my session, and using the "multipart/form-data" encoding
> type on my form, I can get the script to hang every time.  It _always_
> hangs in the same place in the "op" function:
> 
>   DB<1> IPC::Semaphore::op(/usr/lib/perl5/5.00503/IPC/Semaphore.pm:90):
> 90:     croak 'Bad arg count' if @_ % 3;
>   DB<1> IPC::Semaphore::op(/usr/lib/perl5/5.00503/IPC/Semaphore.pm:91):
> 91:     my $data = pack("s*",@_);
>   DB<1> IPC::Semaphore::op(/usr/lib/perl5/5.00503/IPC/Semaphore.pm:92):
> 92:     semop($$self,$data);

The problem is that you are leaking session handles.  For
Apache::Session to work, there must be zero references to the session
hash at the end of the request.

-jwb
-- 
Jeffrey W. Baker * [EMAIL PROTECTED]
Critical Path, Inc. * we handle the world's email * www.cp.net
415.808.8807

Reply via email to