<HTML>
<HEAD>
<TITLE>Re: [mapserver-users] FastCGI, MapServer and Apache on Linux</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Nic,<BR>
<BR>
In the 2010 benchmarking effort, we are using mod_fcgid with the latest Apache. Here are the fcgi parameters we have in our conf file<BR>
<BR>
&lt;IfModule fcgid_module&gt;<BR>
&nbsp;&nbsp;FcgidInitialEnv LD_LIBRARY_PATH /usr/lib64:/usr/lib:/usr/local/lib:/opt/mapserverfull/lib:/oracle/instantclient_11_2:/opt/mapserver/lib<BR>
&nbsp;&nbsp;FcgidMinProcessesPerClass 0 &nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;FcgidIdleScanInterval 1 &nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;FcgidProcessLifeTime 10<BR>
&nbsp;&nbsp;FcgidIOTimeout 100<BR>
&nbsp;&nbsp;FcgidMinProcessesPerClass 0<BR>
&lt;/IfModule&gt;<BR>
<BR>
<BR>
Mike<BR>
<BR>
<BR>
-- <BR>
Michael Smith<BR>
US Army Corps of Engineers<BR>
Remote Sensing/GIS Center<BR>
Hanover, NH <BR>
<BR>
<BR>
<BR>
On 9/1/10 10:43 AM, &quot;Nicolas Chenier&quot; &lt;<a href="nicolas.chenier@agr.gc.ca">nicolas.chenier@agr.gc.ca</a>&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Thank you Jeff!<BR>
<BR>
So you mean to tell me that this old tutorial is still the baseline for FastCGI w/ Mapserver and Apache? This was written a while back, and seems to be specific to Apache 1.3... Does anyone know of any modifications that need to be done for Apache httpd 2.2? Any other/new optimizations to the fastCGI settings?<BR>
<BR>
Thanks,<BR>
<BR>
Nic<BR>
<BR>
<BR>
<BR>
On Wed, 2010-09-01 at 07:48 +0200, Jeff McKenna wrote: <BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
On 10-08-31 9:44 PM, Nicolas Chenier wrote:<BR>
&gt; Good day all,<BR>
&gt;<BR>
&gt; I am fairly new at this, and I am seeking help.<BR>
&gt;<BR>
&gt; We are currently using a MapServer setup with Apache on Linux, supported<BR>
&gt; by Tilecache.<BR>
&gt;<BR>
&gt; Due to the growing number of maps and tiles, we need to cut back on<BR>
&gt; caching as we are running out of disk space to store the tilecache.<BR>
&gt;<BR>
&gt; We would like to use FastCGI to generate tiles on the fly with<BR>
&gt; MapServer, Apache and our SDE db connection, all running on Linux.<BR>
&gt;<BR>
&gt; I am looking for the optimal way to get this setup, using the latest<BR>
&gt; Mapserver release with Apache2.<BR>
&gt;<BR>
&gt; Is there an easy step-by-step guide on getting this setup? I have been<BR>
&gt; searching through the web, the mapserver wiki and mailing list without luck.<BR>
&gt;<BR>
&gt; I am simply looking for the optimal FastCGI configuration settings,<BR>
&gt; along with deployment instructions from scratch... doesn't have to be<BR>
&gt; too detailed but just an outline of how we should proceed... Does<BR>
&gt; anything need to be recompiled with FastCGI support, etc etc...<BR>
&gt;<BR>
&gt; I really appreciate the help.<BR>
&gt;<BR>
<BR>
Hello,<BR>
<BR>
You will find instructions on this at: <BR>
<a href="http://www.mapserver.org/optimization/fastcgi.html">http://www.mapserver.org/optimization/fastcgi.html</a><BR>
<BR>
If, during your MapServer/FastCGI travels, you have additional notes to <BR>
add to the documentation, it would be great if you could file a ticket <BR>
on MapServer Trac and record your additional notes there <BR>
(<a href="http://trac.osgeo.org/mapserver/">http://trac.osgeo.org/mapserver/</a>) - if you do not have a login, create <BR>
one at: <a href="https://www.osgeo.org/cgi-bin/ldap_create_user.py">https://www.osgeo.org/cgi-bin/ldap_create_user.py</a><BR>
<BR>
Happy travels.<BR>
<BR>
-jeff<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>_______________________________________________<BR>
mapserver-users mailing list<BR>
<a href="mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><BR>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><BR>
</SPAN></FONT></FONT></BLOCKQUOTE>
</BODY>
</HTML>