Linux, Apache 1.2b4 latest fastCGI unix socket problem

Anthony Rumble (anthonyr@ce.com.au)
Tue, 14 Jan 1997 11:20:16 +1100 (EST)

Message-Id: <m0vkL1x-0002VzC@enterprise.ce.com.au>
Subject: Linux, Apache 1.2b4 latest fastCGI unix socket problem
To: fastcgi-developers@OpenMarket.com
Date: Tue, 14 Jan 1997 11:20:16 +1100 (EST)
From: anthonyr@ce.com.au (Anthony Rumble)


I have a problem with the FastCGI routines in Apache...

Running on Linux 2.0.26

Using Apache 1.2b4 (also happened on 1.2b1,2,3)
I've tried the mod_fastcgi.c that comes with Apache,
and also the latest 1.4.2 one from http://www.fastcgi.com/servers/apache/1.4.2/apache-fastcgi.tar.Z

Im Running Perl 5.003_16 using sfio and FCGI module.

The server starts, and the FastCGI apps run up ok and run fine..

After a period of heavy usage, the clients one by one stop
responding.. doing a ps -lxaw the FCGI apps are stuck in the

"unix_data_wait". They are normally at the "unix_accept" state..
Once in data wait, they never respond again. I've tried 
killing them off , the apache server restarts them, but they are still
stuck in the unix_data_wait.. Only a server reload will reset them
back to a working state again.

Does anyone have any ideas? This is very frustrating.. as I had to restart
the server every few hours to fix it..

Oh.. I get this error in the error_log

[Tue Jan 14 10:45:12 1997] access to /home/httpd/html/matilda/jumpto.fcg failed 
for 202.0.90.217, reason: mod_fastcgi: Could not connect to application, OS erro
r 'Interrupted system call'
[Tue Jan 14 10:45:15 1997] read script input or send script output timed out for
 203.1.75.154
[Tue Jan 14 10:45:15 1997] access to /home/httpd/html/matilda/jumpto.fcg failed 
for 203.1.75.154, reason: mod_fastcgi: Could not connect to application, OS erro
r 'Interrupted system call'
[Tue Jan 14 10:45:15 1997] read: Broken pipe
[Tue Jan 14 10:45:15 1997] - lingering_close

Could this be the FastCGI application?

If so.. why doesn't killing it off fix it?

-- 
Anthony Rumble - Online Ordering Systems
Corporate Express Australia Limited
Phone 02-9335-0669 Fax 02-9335-0753 Mobile 015-955-042 Pager 016-634-997