Same TCP Socket Descriptor for Two FastCGI Processes
Raj Thakur <thakurraj3747-/[email protected]> Sun, 19 Aug 2012 18:50:26 +0800 (SGT)
| Newsgroups | gmane.comp.web.fastcgi.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============8924568659938448856==
Content-Type: multipart/alternative; boundary="1044491220-1469325790-1345373426=:77635"
--1044491220-1469325790-1345373426=:77635
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Hi,=0A=A0=0A=A0=A0 I am using mod_fastcgi with=0Aapache webserver, I have m=
ade a module in c which cater fastcgi request and=0Aalso act as TCP Server =
which communicate with some other module-x acting as=0Aclient. It works fin=
e when only one such module runs. =0A=A0=0ABut when i configure to run anot=
her similar=0Amodule means fastcgi process, Both the process gets same file=
descriptors when=A0=0Asocket(PF_INET,SOCK_STREAM,0) is called and when new=
connection is accepted=0Afrom module-x, which results in unexpected behavi=
our while sending messages to=0Amodule-x.=0A=A0=0AHTTP Configuration=0A=A0=
=0AFastCgiServer /scripts/first.fcgi=0A-processes 1 =0AFastCgiServer /scrip=
ts/second.fcgi=0A-processes 1=0A=A0=0AAny one can help please .......=0A=A0=
=0AThanks,=0ARaj
--1044491220-1469325790-1345373426=:77635
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
<html><body><div style=3D"color:#000; background-color:#fff; font-family:ti=
mes new roman, new york, times, serif;font-size:12pt"><div><!--[if gte mso =
9]><xml>=0A <w:WordDocument>=0A <w:View>Normal</w:View>=0A <w:Zoom>0</w:Z=
oom>=0A <w:TrackMoves/>=0A <w:TrackFormatting/>=0A <w:PunctuationKerning=
/>=0A <w:ValidateAgainstSchemas/>=0A <w:SaveIfXMLInvalid>false</w:SaveIfX=
MLInvalid>=0A <w:IgnoreMixedContent>false</w:IgnoreMixedContent>=0A <w:Al=
waysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>=0A <w:DoNotPro=
moteQF/>=0A <w:LidThemeOther>EN-US</w:LidThemeOther>=0A <w:LidThemeAsian>=
X-NONE</w:LidThemeAsian>=0A <w:LidThemeComplexScript>X-NONE</w:LidThemeCom=
plexScript>=0A <w:Compatibility>=0A <w:BreakWrappedTables/>=0A <w:Snap=
ToGridInCell/>=0A <w:WrapTextWithPunct/>=0A <w:UseAsianBreakRules/>=0A =
<w:DontGrowAutofit/>=0A <w:SplitPgBreakAndParaMark/>=0A <w:DontVertAl=
ignCellWithSp/>=0A <w:DontBreakConstrainedForcedTables/>=0A <w:DontVert=
AlignInTxbx/>=0A <w:Word11KerningPairs/>=0A <w:CachedColBalance/>=0A <=
/w:Compatibility>=0A <w:BrowserLevel>MicrosoftInternetExplorer4</w:Browser=
Level>=0A <m:mathPr>=0A <m:mathFont m:val=3D"Cambria Math"/>=0A <m:brk=
Bin m:val=3D"before"/>=0A <m:brkBinSub m:val=3D"--"/>=0A <m:smallFr=
ac m:val=3D"off"/>=0A <m:dispDef/>=0A <m:lMargin m:val=3D"0"/>=0A <m:=
rMargin m:val=3D"0"/>=0A <m:defJc m:val=3D"centerGroup"/>=0A <m:wrapInd=
ent m:val=3D"1440"/>=0A <m:intLim m:val=3D"subSup"/>=0A <m:naryLim m:va=
l=3D"undOvr"/>=0A </m:mathPr></w:WordDocument>=0A</xml><![endif]--><!--[if=
gte mso 9]><xml>=0A <w:LatentStyles DefLockedState=3D"false" DefUnhideWhen=
Used=3D"true"=0A DefSemiHidden=3D"true" DefQFormat=3D"false" DefPriority=
=3D"99"=0A LatentStyleCount=3D"267">=0A <w:LsdException Locked=3D"false" =
Priority=3D"0" SemiHidden=3D"false"=0A UnhideWhenUsed=3D"false" QFormat=
=3D"true" Name=3D"Normal"/>=0A <w:LsdException Locked=3D"false" Priority=
=3D"9" SemiHidden=3D"false"=0A UnhideWhenUsed=3D"false" QFormat=3D"true" =
Name=3D"heading 1"/>=0A <w:LsdException Locked=3D"false" Priority=3D"9" QF=
ormat=3D"true" Name=3D"heading 2"/>=0A <w:LsdException Locked=3D"false" Pr=
iority=3D"9" QFormat=3D"true" Name=3D"heading 3"/>=0A <w:LsdException Lock=
ed=3D"false" Priority=3D"9" QFormat=3D"true" Name=3D"heading 4"/>=0A <w:Ls=
dException Locked=3D"false" Priority=3D"9" QFormat=3D"true" Name=3D"heading=
5"/>=0A <w:LsdException Locked=3D"false" Priority=3D"9" QFormat=3D"true" =
Name=3D"heading 6"/>=0A <w:LsdException Locked=3D"false" Priority=3D"9" QF=
ormat=3D"true" Name=3D"heading 7"/>=0A <w:LsdException Locked=3D"false" Pr=
iority=3D"9" QFormat=3D"true" Name=3D"heading 8"/>=0A <w:LsdException Lock=
ed=3D"false" Priority=3D"9" QFormat=3D"true" Name=3D"heading 9"/>=0A <w:Ls=
dException Locked=3D"false" Priority=3D"39" Name=3D"toc 1"/>=0A <w:LsdExce=
ption Locked=3D"false" Priority=3D"39" Name=3D"toc 2"/>=0A <w:LsdException=
Locked=3D"false" Priority=3D"39" Name=3D"toc 3"/>=0A <w:LsdException Lock=
ed=3D"false" Priority=3D"39" Name=3D"toc 4"/>=0A <w:LsdException Locked=3D=
"false" Priority=3D"39" Name=3D"toc 5"/>=0A <w:LsdException Locked=3D"fals=
e" Priority=3D"39" Name=3D"toc 6"/>=0A <w:LsdException Locked=3D"false" Pr=
iority=3D"39" Name=3D"toc 7"/>=0A <w:LsdException Locked=3D"false" Priorit=
y=3D"39" Name=3D"toc 8"/>=0A <w:LsdException Locked=3D"false" Priority=3D"=
39" Name=3D"toc 9"/>=0A <w:LsdException Locked=3D"false" Priority=3D"35" Q=
Format=3D"true" Name=3D"caption"/>=0A <w:LsdException Locked=3D"false" Pri=
ority=3D"10" SemiHidden=3D"false"=0A UnhideWhenUsed=3D"false" QFormat=3D"=
true" Name=3D"Title"/>=0A <w:LsdException Locked=3D"false" Priority=3D"1" =
Name=3D"Default Paragraph Font"/>=0A <w:LsdException Locked=3D"false" Prio=
rity=3D"11" SemiHidden=3D"false"=0A UnhideWhenUsed=3D"false" QFormat=3D"t=
rue" Name=3D"Subtitle"/>=0A <w:LsdException Locked=3D"false" Priority=3D"2=
2" SemiHidden=3D"false"=0A UnhideWhenUsed=3D"false" QFormat=3D"true" Name=
=3D"Strong"/>=0A <w:LsdException Locked=3D"false" Priority=3D"20" SemiHidd=
en=3D"false"=0A UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"Emphasi=
s"/>=0A <w:LsdException Locked=3D"false" Priority=3D"59" SemiHidden=3D"fal=
se"=0A UnhideWhenUsed=3D"false" Name=3D"Table Grid"/>=0A <w:LsdException=
Locked=3D"false" UnhideWhenUsed=3D"false" Name=3D"Placeholder Text"/>=0A =
<w:LsdException Locked=3D"false" Priority=3D"1" SemiHidden=3D"false"=0A U=
nhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"No Spacing"/>=0A <w:LsdEx=
ception Locked=3D"false" Priority=3D"60" SemiHidden=3D"false"=0A UnhideWh=
enUsed=3D"false" Name=3D"Light Shading"/>=0A <w:LsdException Locked=3D"fal=
se" Priority=3D"61" SemiHidden=3D"false"=0A UnhideWhenUsed=3D"false" Name=
=3D"Light List"/>=0A <w:LsdException Locked=3D"false" Priority=3D"62" Semi=
Hidden=3D"false"=0A UnhideWhenUsed=3D"false" Name=3D"Light Grid"/>=0A <w=
:LsdException Locked=3D"false" Priority=3D"63" SemiHidden=3D"false"=0A Un=
hideWhenUsed=3D"false" Name=3D"Medium Shading 1"/>=0A <w:LsdException Lock=
ed=3D"false" Priority=3D"64" SemiHidden=3D"false"=0A UnhideWhenUsed=3D"fa=
lse" Name=3D"Medium Shading 2"/>=0A <w:LsdException Locked=3D"false" Prior=
ity=3D"65" SemiHidden=3D"false"=0A UnhideWhenUsed=3D"false" Name=3D"Mediu=
m List 1"/>=0A <w:LsdException Locked=3D"false" Priority=3D"66" SemiHidden=
=3D"false"=0A UnhideWhenUsed=3D"false" Name=3D"Medium List 2"/>=0A <w:Ls=
dException Locked=3D"false" Priority=3D"67" SemiHidden=3D"false"=0A Unhid=
eWhenUsed=3D"false" Name=3D"Medium Grid 1"/>=0A <w:LsdException Locked=3D"=
false" Priority=3D"68" SemiHidden=3D"false"=0A UnhideWhenUsed=3D"false" N=
ame=3D"Medium Grid 2"/>=0A <w:LsdException Locked=3D"false" Priority=3D"69=
" SemiHidden=3D"false"=0A UnhideWhenUsed=3D"false" Name=3D"Medium Grid 3"=
/>=0A <w:LsdException Locked=3D"false" Priority=3D"70" SemiHidden=3D"false=
"=0A UnhideWhenUsed=3D"false" Name=3D"Dark List"/>=0A <w:LsdException Lo=
cked=3D"false" Priority=3D"71" SemiHidden=3D"false"=0A UnhideWhenUsed=3D"=
false" Name=3D"Colorful Shading"/>=0A <w:LsdException Locked=3D"false" Pri=
ority=3D"72" SemiHidden=3D"false"=0A UnhideWhenUsed=3D"false" Name=3D"Col=
orful List"/>=0A <w:LsdException Locked=3D"false" Priority=3D"73" SemiHidd=
en=3D"false"=0A UnhideWhenUsed=3D"false" Name=3D"Colorful Grid"/>=0A <w:=
LsdException Locked=3D"false" Priority=3D"60" SemiHidden=3D"false"=0A Unh=
ideWhenUsed=3D"false" Name=3D"Light Shading Accent 1"/>=0A <w:LsdException=
Locked=3D"false" Priority=3D"61" SemiHidden=3D"false"=0A UnhideWhenUsed=
=3D"false" Name=3D"Light List Accent 1"/>=0A <w:LsdException Locked=3D"fal=
se" Priority=3D"62" SemiHidden=3D"false"=0A UnhideWhenUsed=3D"false" Name=
=3D"Light Grid Accent 1"/>=0A <w:LsdException Locked=3D"false" Priority=3D=
"63" SemiHidden=3D"false"=0A UnhideWhenUsed=3D"false" Name=3D"Medium Shad=
ing 1 Accent 1"/>=0A <w:LsdException Locked=3D"false" Priority=3D"64" Semi=
Hidden=3D"false"=0A UnhideWhenUsed=3D"false" Name=3D"Medium Shading 2 Acc=
ent 1"/>=0A <w:LsdException Locked=3D"false" Priority=3D"65" SemiHidden=3D=
"false"=0A UnhideWhenUsed=3D"false" Name=3D"Medium List 1 Accent 1"/>=0A =
<w:LsdException Locked=3D"false" UnhideWhenUsed=3D"false" Name=3D"Revision=
"/>=0A <w:LsdException Locked=3D"false" Priority=3D"34" SemiHidden=3D"fals=
e"=0A UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"List Paragraph"/>=
=0A <w:LsdException Locked=3D"false" Priority=3D"29" SemiHidden=3D"false"=
=0A UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"Quote"/>=0A <w:Lsd=
Exception Locked=3D"false" Priority=3D"30" SemiHidden=3D"false"=0A Unhide=
WhenUsed=3D"false" QFormat=3D"true" Name=3D"Intense Quote"/>=0A <w:LsdExce=
ption Locked=3D"false" Priority=3D"66" SemiHidden=3D"false"=0A UnhideWhen=
Used=3D"false" Name=3D"Medium List 2 Accent 1"/>=0A <w:LsdException Locked=
=3D"false" Priority=3D"67" SemiHidden=3D"false"=0A UnhideWhenUsed=3D"fals=
e" Name=3D"Medium Grid 1 Accent 1"/>=0A <w:LsdException Locked=3D"false" P=
riority=3D"68" SemiHidden=3D"false"=0A UnhideWhenUsed=3D"false" Name=3D"M=
edium Grid 2 Accent 1"/>=0A <w:LsdException Locked=3D"false" Priority=3D"6=
9" SemiHidden=3D"false"=0A UnhideWhenUsed=3D"false" Name=3D"Medium Grid 3=
Accent 1"/>=0A <w:LsdException Locked=3D"false" Priority=3D"70" SemiHidde=
n=3D"false"=0A UnhideWhenUsed=3D"false" Name=3D"Dark List Accent 1"/>=0A =
<w:LsdException Locked=3D"false" Priority=3D"71" SemiHidden=3D"false"=0A =
UnhideWhenUsed=3D"false" Name=3D"Colorful Shading Accent 1"/>=0A <w:LsdEx=
ception Locked=3D"false" Priority=3D"72" SemiHidden=3D"false"=0A UnhideWh=
enUsed=3D"false" Name=3D"Colorful List Accent 1"/>=0A <w:LsdException Lock=
ed=3D"false" Priority=3D"73" SemiHidden=3D"false"=0A UnhideWhenUsed=3D"fa=
lse" Name=3D"Colorful Grid Accent 1"/>=0A <w:LsdException Locked=3D"false"=
Priority=3D"60" SemiHidden=3D"false"=0A UnhideWhenUsed=3D"false" Name=3D=
"Light Shading Accent 2"/>=0A <w:LsdException Locked=3D"false" Priority=3D=
"61" SemiHidden=3D"false"=0A UnhideWhenUsed=3D"false" Name=3D"Light List =
Accent 2"/>=0A <w:LsdException Locked=3D"false" Priority=3D"62" SemiHidden=
=3D"false"=0A UnhideWhenUsed=3D"false" Name=3D"Light Grid Accent 2"/>=0A =
<w:LsdException Locked=3D"false" Priority=3D"63" SemiHidden=3D"false"=0A =
UnhideWhenUsed=3D"false" Name=3D"Medium Shading 1 Accent 2"/>=0A <w:LsdEx=
ception Locked=3D"false" Priority=3D"64" SemiHidden=3D"false"=0A UnhideWh=
enUsed=3D"false" Name=3D"Medium Shading 2 Accent 2"/>=0A <w:LsdException L=
ocked=3D"false" Priority=3D"65" SemiHidden=3D"false"=0A UnhideWhenUsed=3D=
"false" Name=3D"Medium List 1 Accent 2"/>=0A <w:LsdException Locked=3D"fal=
se" Priority=3D"66" SemiHidden=3D"false"=0A UnhideWhenUsed=3D"false" Name=
=3D"Medium List 2 Accent 2"/>=0A <w:LsdException Locked=3D"false" Priority=
=3D"67" SemiHidden=3D"false"=0A UnhideWhenUsed=3D"false" Name=3D"Medium G=
rid 1 Accent 2"/>=0A <w:LsdException Locked=3D"false" Priority=3D"68" Semi=
Hidden=3D"false"=0A UnhideWhenUsed=3D"false" Name=3D"Medium Grid 2 Accent=
2"/>=0A <w:LsdException Locked=3D"false" Priority=3D"69" SemiHidden=3D"fa=
lse"=0A UnhideWhenUsed=3D"false" Name=3D"Medium Grid 3 Accent 2"/>=0A <w=
:LsdException Locked=3D"false" Priority=3D"70" SemiHidden=3D"false"=0A Un=
hideWhenUsed=3D"false" Name=3D"Dark List Accent 2"/>=0A <w:LsdException Lo=
cked=3D"false" Priority=3D"71" SemiHidden=3D"false"=0A UnhideWhenUsed=3D"=
false" Name=3D"Colorful Shading Accent 2"/>=0A <w:LsdException Locked=3D"f=
alse" Priority=3D"72" SemiHidden=3D"false"=0A UnhideWhenUsed=3D"false" Na=
me=3D"Colorful List Accent 2"/>=0A <w:LsdException Locked=3D"false" Priori=
ty=3D"73" SemiHidden=3D"false"=0A UnhideWhenUsed=3D"false" Name=3D"Colorf=
ul Grid Accent 2"/>=0A <w:LsdException Locked=3D"false" Priority=3D"60" Se=
miHidden=3D"false"=0A UnhideWhenUsed=3D"false" Name=3D"Light Shading Acce=
nt 3"/>=0A <w:LsdException Locked=3D"false" Priority=3D"61" SemiHidden=3D"=
false"=0A UnhideWhenUsed=3D"false" Name=3D"Light List Accent 3"/>=0A <w:=
LsdException Locked=3D"false" Priority=3D"62" SemiHidden=3D"false"=0A Unh=
ideWhenUsed=3D"false" Name=3D"Light Grid Accent 3"/>=0A <w:LsdException Lo=
cked=3D"false" Priority=3D"63" SemiHidden=3D"false"=0A UnhideWhenUsed=3D"=
false" Name=3D"Medium Shading 1 Accent 3"/>=0A <w:LsdException Locked=3D"f=
alse" Priority=3D"64" SemiHidden=3D"false"=0A UnhideWhenUsed=3D"false" Na=
me=3D"Medium Shading 2 Accent 3"/>=0A <w:LsdException Locked=3D"false" Pri=
ority=3D"65" SemiHidden=3D"false"=0A UnhideWhenUsed=3D"false" Name=3D"Med=
ium List 1 Accent 3"/>=0A <w:LsdException Locked=3D"false" Priority=3D"66"=
SemiHidden=3D"false"=0A UnhideWhenUsed=3D"false" Name=3D"Medium List 2 A=
ccent 3"/>=0A <w:LsdException Locked=3D"false" Priority=3D"67" SemiHidden=
=3D"false"=0A UnhideWhenUsed=3D"false" Name=3D"Medium Grid 1 Accent 3"/>=
=0A <w:LsdException Locked=3D"false" Priority=3D"68" SemiHidden=3D"false"=
=0A UnhideWhenUsed=3D"false" Name=3D"Medium Grid 2 Accent 3"/>=0A <w:Lsd=
Exception Locked=3D"false" Priority=3D"69" SemiHidden=3D"false"=0A Unhide=
WhenUsed=3D"false" Name=3D"Medium Grid 3 Accent 3"/>=0A <w:LsdException Lo=
cked=3D"false" Priority=3D"70" SemiHidden=3D"false"=0A UnhideWhenUsed=3D"=
false" Name=3D"Dark List Accent 3"/>=0A <w:LsdException Locked=3D"false" P=
riority=3D"71" SemiHidden=3D"false"=0A UnhideWhenUsed=3D"false" Name=3D"C=
olorful Shading Accent 3"/>=0A <w:LsdException Locked=3D"false" Priority=
=3D"72" SemiHidden=3D"false"=0A UnhideWhenUsed=3D"false" Name=3D"Colorful=
List Accent 3"/>=0A <w:LsdException Locked=3D"false" Priority=3D"73" Semi=
Hidden=3D"false"=0A UnhideWhenUsed=3D"false" Name=3D"Colorful Grid Accent=
3"/>=0A <w:LsdException Locked=3D"false" Priority=3D"60" SemiHidden=3D"fa=
lse"=0A UnhideWhenUsed=3D"false" Name=3D"Light Shading Accent 4"/>=0A <w=
:LsdException Locked=3D"false" Priority=3D"61" SemiHidden=3D"false"=0A Un=
hideWhenUsed=3D"false" Name=3D"Light List Accent 4"/>=0A <w:LsdException L=
ocked=3D"false" Priority=3D"62" SemiHidden=3D"false"=0A UnhideWhenUsed=3D=
"false" Name=3D"Light Grid Accent 4"/>=0A <w:LsdException Locked=3D"false"=
Priority=3D"63" SemiHidden=3D"false"=0A UnhideWhenUsed=3D"false" Name=3D=
"Medium Shading 1 Accent 4"/>=0A <w:LsdException Locked=3D"false" Priority=
=3D"64" SemiHidden=3D"false"=0A UnhideWhenUsed=3D"false" Name=3D"Medium S=
hading 2 Accent 4"/>=0A <w:LsdException Locked=3D"false" Priority=3D"65" S=
emiHidden=3D"false"=0A UnhideWhenUsed=3D"false" Name=3D"Medium List 1 Acc=
ent 4"/>=0A <w:LsdException Locked=3D"false" Priority=3D"66" SemiHidden=3D=
"false"=0A UnhideWhenUsed=3D"false" Name=3D"Medium List 2 Accent 4"/>=0A =
<w:LsdException Locked=3D"false" Priority=3D"67" SemiHidden=3D"false"=0A =
UnhideWhenUsed=3D"false" Name=3D"Medium Grid 1 Accent 4"/>=0A <w:LsdExcep=
tion Locked=3D"false" Priority=3D"68" SemiHidden=3D"false"=0A UnhideWhenU=
sed=3D"false" Name=3D"Medium Grid 2 Accent 4"/>=0A <w:LsdException Locked=
=3D"false" Priority=3D"69" SemiHidden=3D"false"=0A UnhideWhenUsed=3D"fals=
e" Name=3D"Medium Grid 3 Accent 4"/>=0A <w:LsdException Locked=3D"false" P=
riority=3D"70" SemiHidden=3D"false"=0A UnhideWhenUsed=3D"false" Name=3D"D=
ark List Accent 4"/>=0A <w:LsdException Locked=3D"false" Priority=3D"71" S=
emiHidden=3D"false"=0A UnhideWhenUsed=3D"false" Name=3D"Colorful Shading =
Accent 4"/>=0A <w:LsdException Locked=3D"false" Priority=3D"72" SemiHidden=
=3D"false"=0A UnhideWhenUsed=3D"false" Name=3D"Colorful List Accent 4"/>=
=0A <w:LsdException Locked=3D"false" Priority=3D"73" SemiHidden=3D"false"=
=0A UnhideWhenUsed=3D"false" Name=3D"Colorful Grid Accent 4"/>=0A <w:Lsd=
Exception Locked=3D"false" Priority=3D"60" SemiHidden=3D"false"=0A Unhide=
WhenUsed=3D"false" Name=3D"Light Shading Accent 5"/>=0A <w:LsdException Lo=
cked=3D"false" Priority=3D"61" SemiHidden=3D"false"=0A UnhideWhenUsed=3D"=
false" Name=3D"Light List Accent 5"/>=0A <w:LsdException Locked=3D"false" =
Priority=3D"62" SemiHidden=3D"false"=0A UnhideWhenUsed=3D"false" Name=3D"=
Light Grid Accent 5"/>=0A <w:LsdException Locked=3D"false" Priority=3D"63"=
SemiHidden=3D"false"=0A UnhideWhenUsed=3D"false" Name=3D"Medium Shading =
1 Accent 5"/>=0A <w:LsdException Locked=3D"false" Priority=3D"64" SemiHidd=
en=3D"false"=0A UnhideWhenUsed=3D"false" Name=3D"Medium Shading 2 Accent =
5"/>=0A <w:LsdException Locked=3D"false" Priority=3D"65" SemiHidden=3D"fal=
se"=0A UnhideWhenUsed=3D"false" Name=3D"Medium List 1 Accent 5"/>=0A <w:=
LsdException Locked=3D"false" Priority=3D"66" SemiHidden=3D"false"=0A Unh=
ideWhenUsed=3D"false" Name=3D"Medium List 2 Accent 5"/>=0A <w:LsdException=
Locked=3D"false" Priority=3D"67" SemiHidden=3D"false"=0A UnhideWhenUsed=
=3D"false" Name=3D"Medium Grid 1 Accent 5"/>=0A <w:LsdException Locked=3D"=
false" Priority=3D"68" SemiHidden=3D"false"=0A UnhideWhenUsed=3D"false" N=
ame=3D"Medium Grid 2 Accent 5"/>=0A <w:LsdException Locked=3D"false" Prior=
ity=3D"69" SemiHidden=3D"false"=0A UnhideWhenUsed=3D"false" Name=3D"Mediu=
m Grid 3 Accent 5"/>=0A <w:LsdException Locked=3D"false" Priority=3D"70" S=
emiHidden=3D"false"=0A UnhideWhenUsed=3D"false" Name=3D"Dark List Accent =
5"/>=0A <w:LsdException Locked=3D"false" Priority=3D"71" SemiHidden=3D"fal=
se"=0A UnhideWhenUsed=3D"false" Name=3D"Colorful Shading Accent 5"/>=0A =
<w:LsdException Locked=3D"false" Priority=3D"72" SemiHidden=3D"false"=0A =
UnhideWhenUsed=3D"false" Name=3D"Colorful List Accent 5"/>=0A <w:LsdExcept=
ion Locked=3D"false" Priority=3D"73" SemiHidden=3D"false"=0A UnhideWhenUs=
ed=3D"false" Name=3D"Colorful Grid Accent 5"/>=0A <w:LsdException Locked=
=3D"false" Priority=3D"60" SemiHidden=3D"false"=0A UnhideWhenUsed=3D"fals=
e" Name=3D"Light Shading Accent 6"/>=0A <w:LsdException Locked=3D"false" P=
riority=3D"61" SemiHidden=3D"false"=0A UnhideWhenUsed=3D"false" Name=3D"L=
ight List Accent 6"/>=0A <w:LsdException Locked=3D"false" Priority=3D"62" =
SemiHidden=3D"false"=0A UnhideWhenUsed=3D"false" Name=3D"Light Grid Accen=
t 6"/>=0A <w:LsdException Locked=3D"false" Priority=3D"63" SemiHidden=3D"f=
alse"=0A UnhideWhenUsed=3D"false" Name=3D"Medium Shading 1 Accent 6"/>=0A=
<w:LsdException Locked=3D"false" Priority=3D"64" SemiHidden=3D"false"=0A =
UnhideWhenUsed=3D"false" Name=3D"Medium Shading 2 Accent 6"/>=0A <w:LsdE=
xception Locked=3D"false" Priority=3D"65" SemiHidden=3D"false"=0A UnhideW=
henUsed=3D"false" Name=3D"Medium List 1 Accent 6"/>=0A <w:LsdException Loc=
ked=3D"false" Priority=3D"66" SemiHidden=3D"false"=0A UnhideWhenUsed=3D"f=
alse" Name=3D"Medium List 2 Accent 6"/>=0A <w:LsdException Locked=3D"false=
" Priority=3D"67" SemiHidden=3D"false"=0A UnhideWhenUsed=3D"false" Name=
=3D"Medium Grid 1 Accent 6"/>=0A <w:LsdException Locked=3D"false" Priority=
=3D"68" SemiHidden=3D"false"=0A UnhideWhenUsed=3D"false" Name=3D"Medium G=
rid 2 Accent 6"/>=0A <w:LsdException Locked=3D"false" Priority=3D"69" Semi=
Hidden=3D"false"=0A UnhideWhenUsed=3D"false" Name=3D"Medium Grid 3 Accent=
6"/>=0A <w:LsdException Locked=3D"false" Priority=3D"70" SemiHidden=3D"fa=
lse"=0A UnhideWhenUsed=3D"false" Name=3D"Dark List Accent 6"/>=0A <w:Lsd=
Exception Locked=3D"false" Priority=3D"71" SemiHidden=3D"false"=0A Unhide=
WhenUsed=3D"false" Name=3D"Colorful Shading Accent 6"/>=0A <w:LsdException=
Locked=3D"false" Priority=3D"72" SemiHidden=3D"false"=0A UnhideWhenUsed=
=3D"false" Name=3D"Colorful List Accent 6"/>=0A <w:LsdException Locked=3D"=
false" Priority=3D"73" SemiHidden=3D"false"=0A UnhideWhenUsed=3D"false" N=
ame=3D"Colorful Grid Accent 6"/>=0A <w:LsdException Locked=3D"false" Prior=
ity=3D"19" SemiHidden=3D"false"=0A UnhideWhenUsed=3D"false" QFormat=3D"tr=
ue" Name=3D"Subtle Emphasis"/>=0A <w:LsdException Locked=3D"false" Priorit=
y=3D"21" SemiHidden=3D"false"=0A UnhideWhenUsed=3D"false" QFormat=3D"true=
" Name=3D"Intense Emphasis"/>=0A <w:LsdException Locked=3D"false" Priority=
=3D"31" SemiHidden=3D"false"=0A UnhideWhenUsed=3D"false" QFormat=3D"true"=
Name=3D"Subtle Reference"/>=0A <w:LsdException Locked=3D"false" Priority=
=3D"32" SemiHidden=3D"false"=0A UnhideWhenUsed=3D"false" QFormat=3D"true"=
Name=3D"Intense Reference"/>=0A <w:LsdException Locked=3D"false" Priority=
=3D"33" SemiHidden=3D"false"=0A UnhideWhenUsed=3D"false" QFormat=3D"true"=
Name=3D"Book Title"/>=0A <w:LsdException Locked=3D"false" Priority=3D"37"=
Name=3D"Bibliography"/>=0A <w:LsdException Locked=3D"false" Priority=3D"3=
9" QFormat=3D"true" Name=3D"TOC Heading"/>=0A </w:LatentStyles>=0A</xml><![=
endif]--><!--[if gte mso 10]>=0A<style>=0A /* Style Definitions */=0A table=
.MsoNormalTable=0A=09{mso-style-name:"Table Normal";=0A=09mso-tstyle-rowban=
d-size:0;=0A=09mso-tstyle-colband-size:0;=0A=09mso-style-noshow:yes;=0A=09m=
so-style-priority:99;=0A=09mso-style-qformat:yes;=0A=09mso-style-parent:"";=
=0A=09mso-padding-alt:0in 5.4pt 0in 5.4pt;=0A=09mso-para-margin:0in;=0A=09m=
so-para-margin-bottom:.0001pt;=0A=09mso-pagination:widow-orphan;=0A=09font-=
size:11.0pt;=0A=09font-family:"Calibri","sans-serif";=0A=09mso-ascii-font-f=
amily:Calibri;=0A=09mso-ascii-theme-font:minor-latin;=0A=09mso-fareast-font=
-family:"Times New Roman";=0A=09mso-fareast-theme-font:minor-fareast;=0A=09=
mso-hansi-font-family:Calibri;=0A=09mso-hansi-theme-font:minor-latin;=0A=09=
mso-bidi-font-family:"Times New Roman";=0A=09mso-bidi-theme-font:minor-bidi=
;}=0A</style>=0A<![endif]-->=0A=0A</div><div style=3D"font-family: Courier =
New,courier,monaco,monospace,sans-serif;" class=3D"MsoNormal"><span lang=3D=
"EN">Hi,</span></div>=0A=0A<div style=3D"font-family: Courier New,courier,m=
onaco,monospace,sans-serif;" class=3D"MsoNormal"> </div>=0A=0A<div sty=
le=3D"font-family: Courier New,courier,monaco,monospace,sans-serif;" class=
=3D"MsoNormal"> I am using mod_fastcgi with=0Aapache webserver,=
I have made a module in c which cater fastcgi request and=0Aalso act as TC=
P Server which communicate with some other module-x acting as=0Aclient. It =
works fine when only one such module runs. </div>=0A=0A<div style=3D"font-f=
amily: Courier New,courier,monaco,monospace,sans-serif;" class=3D"MsoNormal=
"> </div>=0A=0A<div style=3D"font-family: Courier New,courier,monaco,m=
onospace,sans-serif;" class=3D"MsoNormal">But when i configure to run anoth=
er similar=0Amodule means fastcgi process, Both the process gets same file =
descriptors when =0Asocket(PF_INET,SOCK_STREAM,0) is called and when n=
ew connection is accepted=0Afrom module-x, which results in unexpected beha=
viour while sending messages to=0Amodule-x.</div>=0A=0A<div style=3D"font-f=
amily: Courier New,courier,monaco,monospace,sans-serif;" class=3D"MsoNormal=
"> </div>=0A=0A<div style=3D"font-family: Courier New,courier,monaco,m=
onospace,sans-serif;" class=3D"MsoNormal">HTTP Configuration</div>=0A=0A<di=
v style=3D"font-family: Courier New,courier,monaco,monospace,sans-serif;" c=
lass=3D"MsoNormal"> </div>=0A=0A<div style=3D"font-family: Courier New=
,courier,monaco,monospace,sans-serif;" class=3D"MsoNormal">FastCgiServer /s=
cripts/first.fcgi=0A-processes 1 </div>=0A=0A<div style=3D"font-family: Cou=
rier New,courier,monaco,monospace,sans-serif;" class=3D"MsoNormal">FastCgiS=
erver /scripts/second.fcgi=0A-processes 1</div>=0A=0A<div style=3D"font-fam=
ily: Courier New,courier,monaco,monospace,sans-serif;" class=3D"MsoNormal">=
</div>=0A=0A<div style=3D"font-family: Courier New,courier,monaco,mon=
ospace,sans-serif;" class=3D"MsoNormal">Any one can help please .......</di=
v>=0A=0A<div style=3D"font-family: Courier New,courier,monaco,monospace,san=
s-serif;" class=3D"MsoNormal"> </div>=0A=0A<div style=3D"font-family: =
Courier New,courier,monaco,monospace,sans-serif;" class=3D"MsoNormal">Thank=
s,</div>=0A=0A<div style=3D"font-family: Courier New,courier,monaco,monospa=
ce,sans-serif;" class=3D"MsoNormal">Raj</div>=0A=0A</div></body></html>
--1044491220-1469325790-1345373426=:77635--
--===============8924568659938448856==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
FastCGI-developers mailing list
FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org
http://mailman.fastcgi.com/mailman/listinfo/fastcgi-developers
--===============8924568659938448856==--