Weird behavior (Perl + FastCGI + Apache)

Yuji Maeda <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
Hi there,

I have a problem about weird behavior of FastCGI.

There is no problem when the number of requests is low.
But the behavior becomes weird after many request at one time.


For instance, The CGI code is below:

#!/usr/bin/perl
use strict;
use MyApp;
use CGI::Fast;
while(my $q = new CGI::Fast){
    my $app = MyApp->new(QUERY => $q);
    $app->run;
}

And after many request, %ENV is always updated rightly.
However $q is NOT.  $q does not correspond to $ENV{QUERY_STRING}.


My environment:
 Perl 5.8.5
   CGI.pm 3.05
 Apache/2.0.55
 mod_fastcgi-2.4.2


I have a few years experience in FastCGI with Perl,
and this is first time to get this kind of problem.


If you have some idea, please tell me.

Thanks in advance,


Yuji Maeda
___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.