[FASTCGI] Same TCP Socket Descriptor for Two FastCGI Processes

Raj Thakur thakurraj3747 at yahoo.com
Sun Aug 19 06:50:26 EDT 2012

   I am using mod_fastcgi with
apache webserver, I have made a module in c which cater fastcgi request and
also act as TCP Server which communicate with some other module-x acting as
client. It works fine when only one such module runs. 
But when i configure to run another similar
module means fastcgi process, Both the process gets same file descriptors when 
socket(PF_INET,SOCK_STREAM,0) is called and when new connection is accepted
from module-x, which results in unexpected behaviour while sending messages to
HTTP Configuration
FastCgiServer /scripts/first.fcgi
-processes 1 
FastCgiServer /scripts/second.fcgi
-processes 1
Any one can help please .......
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.fastcgi.com/pipermail/fastcgi-developers/attachments/20120819/5b230dfa/attachment.html>

More information about the FastCGI-developers mailing list