libfcgi with fd > 1024
Howard May <Howard.May-3Vf4qVogE1JWk0Htik3J/[email protected]> Thu, 21 Apr 2011 04:48:06 -0400
| Newsgroups | gmane.comp.web.fastcgi.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============1762466841==
Content-Language: en-US
Content-Type: multipart/alternative;
boundary="_000_3256B665A5FD30499BA25BFF2EB77F3F054652A53FMBXdialogicco_"
--_000_3256B665A5FD30499BA25BFF2EB77F3F054652A53FMBXdialogicco_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
I am using Lighttpd with a fastCGI client using libfcgi on Linux. If Lightt=
pd opens more than 1024 tcp connections it seems that libfcgi fails and I b=
elieve this is on account of using 'select' with the default FD_SETSIZE val=
ue of 1024.
My question is whether this is a known issue with a tried and tested work a=
round.
Note: my application is required to support more than 1024 simultaneous HTT=
P requests.
Best regards
Howard May
--_000_3256B665A5FD30499BA25BFF2EB77F3F054652A53FMBXdialogicco_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" xmlns:w=3D"urn:sc=
hemas-microsoft-com:office:word" xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3DContent-Type content=3D"text/html; charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"MS Mincho";
panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
{font-family:"\@MS Mincho";
panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:595.3pt 841.9pt;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=3DEN-GB link=3Dblue vlink=3Dpurple>
<div class=3DSection1>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'>I am using Lighttpd with a fastCGI client using libfcgi =
on
Linux. If Lighttpd opens more than 1024 tcp connections it seems that libfc=
gi
fails and I believe this is on account of using ‘select’ with t=
he default
FD_SETSIZE value of 1024. <o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'>My question is whether this is a known issue with a trie=
d
and tested work around. <o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'>Note: my application is required to support more than 10=
24 simultaneous
HTTP requests.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'>Best regards<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'>Howard May<o:p></o:p></span></font></p>
</div>
</body>
</html>
--_000_3256B665A5FD30499BA25BFF2EB77F3F054652A53FMBXdialogicco_--
--===============1762466841==
Content-Type: text/plain; charset="iso-8859-1"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
_______________________________________________
FastCGI-developers mailing list
FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org
http://mailman.pins.net/mailman/listinfo.cgi/fastcgi-developers
--===============1762466841==--