Re: fastcgi echo hangs if called via form
Kelly Carney (kcarney@gomer.stortek.com)
Tue, 23 Sep 1997 17:22:09 -0600
Message-Id: <34284F21.779E@gomer.stortek.com>
Date: Tue, 23 Sep 1997 17:22:09 -0600
From: Kelly Carney <kcarney@gomer.stortek.com>
To: dbenhur@egames.com
Subject: Re: fastcgi echo hangs if called via form
Thanks for the problem verification. I'm never quite sure if it's
just me or not with this stuff.
FYI, I sent Stan (the main man) a stack dump and a couple truss
(system call traces) files that show the hanging process getting
stuck on a call to poll(). Looks like there should have been one
more file descriptor being polled. Hope that's a clue as to what's
really going wrong.
I REALLY need this to stuff to work better. We have things setup
so we get paged when our application hangs. Happening 1 to 5 times
a day now. It'll only get worse.
Kelly
Devin Ben-Hur wrote:
>
> Sonya Rikhtverchik wrote:
> > From: Kelly Carney <Kelly_Carney@stortek.com>
> > Subject: fastcgi echo hangs if called via form
> >
> > Can someone verify this problem. It's simple to demonstrate
> > and it's driving me crazy.
> >
> > A link that uses the fastcgi "echo" (Perl or C version) example
> > program works fine. But a FORM action set to call the fastcgi
> > echo program will hang.
> >
> > My current setup:
> > perl5.004 compiled with sfio
> > fastcgi library 2.01b2.1 (from http://fastcgi.idle.com/ )
> > cgi-fcgi with Netscape Server 2.0 (also have 3.0)
> > FCGI.pm 0.31
> > Solaris 5.4 (I also have 5.5.1 available)
> >
> > Using fastcgi 1.5.2 cgi-fcgi works fine!
>
> I ran into this problem too using cgi-fcgi with Netscape Commerce Server
> & SunOS 4.1.2. The 2.x version of the fastcgi kit would hang on any
> POST (though form GETs worked fine). Going back to the 1.5x kit worked
> fine with POSTs.
>
> > I'd appreciate any ideas on how to debug this problem. I've been
> > using "sudo truss -rall -wall -p pid" to connect to running fastcgi
> > processes then look through the system calls for clues. But first,
> > let me know if this is busted for anyone else.
>
> It's busted for me. I'm not sure about debugging. I'm moving my
> site to Solaris+Apache soon so I'll trade this one for a different set
> of problems :(
>
> --
> Devin Ben-Hur <dbenhur@egames.com>
> eGames.com, Inc. http://www.egames.com/ The Ultimate Game Store
> "Dark is the suede that mows like a harvest" -- Martian Ambassador