I am sorry, I have no clue about Apache on Windows and how it handles the FastCGI dll. I know on Linux this is not an issue. I do know however there is some registry information that pertains to max servers and other settings when used against IIS.
<br><br>HKEY_LOCAL_MACHINE\SOFTWARE\FASTCGI<br><br>The Rock<br><br><br><div><span class="gmail_quote">On 7/17/07, <b class="gmail_sendername">Scott, Brian</b> <<a href="mailto:ScottB@talgov.com">ScottB@talgov.com</a>> wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div><span><font color="#0000ff" face="Arial" size="2">Hi The
Rock - </font></span></div>
<div><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div><span><font color="#0000ff" face="Arial" size="2">Great
name. We are running Apache, not IIS. Below is the fastcgi
configuration section from the httpd.conf file. </font></span></div>
<div><span><font color="#0000ff" face="Arial" size="2"></font></span> </div><span>
<div><span></span><font face="Arial"><font color="#0000ff"><font size="2">*<span>*********************************************************************************************</span></font></font></font><br><font color="#0000ff" face="Arial" size="2">
FastCgiConfig -idle-timeout 120 -startDelay 1
-minProcesses 4 -maxClassProcesses 40 -multiThreshold 100 -singleThreshold 100
-killInterval 600<br>FastCgiServer "C:/Program
Files/MapGuideOpenSource/WebServerExtensions/php/php-cgi.exe" -processes 4
-idle-timeout 120 -initial-env PHP_FCGI_MAX_REQUESTS=500 -initial-env
PHP_FCGI_CHILDREN=1</font></div>
<div><font color="#0000ff" face="Arial" size="2"></font> </div>
<div><font color="#0000ff" face="Arial" size="2">#Start PHP FastCGI
config<br>ScriptAlias /php/ "C:/Program
Files/MapGuideOpenSource/WebServerExtensions/php/"<br><Directory "C:/Program
Files/MapGuideOpenSource/WebServerExtensions/php"><br>
Options ExecCGI<span> </span><br> AddHandler
fastcgi-script exe<br></Directory><br>Action application/x-httpd-php5
"/php/php-cgi.exe"<br>AddType application/x-httpd-php5 .php<br>#End PHP FastCGI
Config</font></div>
<div><font color="#0000ff" face="Arial" size="2"></font> </div>
<div><font color="#0000ff" face="Arial" size="2">#Start PHP Config<br>#ScriptAlias
/php/ "C:/Program Files/MapGuideOpenSource/WebServerExtensions/php/"<br>#Action
application/x-httpd-php "/php/php-cgi.exe"<br>#AddType application/x-httpd-php
.php<br>#End PHP Config</font></div>
<div><font color="#0000ff" face="Arial" size="2"><span>*******************************************************************************************</span></font></div>
<div><font color="#0000ff" face="Arial" size="2"></font> </div>
<div><span><font color="#0000ff" face="Arial" size="2">I'm
not too hip on FastCGI configuration, is there a mechanism to run as a process
instead of an instance per process by modifying this configuration?
</font></span></div>
<div><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div><span><font color="#0000ff" face="Arial" size="2">Thanks
for your help. </font></span></div>
<div><span><font color="#0000ff" face="Arial" size="2">brian</font></span></div>
<div><font color="#0000ff" face="Arial" size="2"></font></div></span> </div>
<blockquote><div><span class="e" id="q_113d4b2b32bf40d3_1">
<div dir="ltr" align="left"><font face="Tahoma" size="2">-----Original Message-----<br><b>From:</b>
<a href="mailto:mapguide-users-bounces@lists.osgeo.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">mapguide-users-bounces@lists.osgeo.org</a>
[mailto:<a href="mailto:mapguide-users-bounces@lists.osgeo.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">mapguide-users-bounces@lists.osgeo.org</a>]<b>On Behalf Of </b>Rock
Beans<br><b>Sent:</b> Tuesday, July 17, 2007 9:30 AM<br><b>To:</b> MapGuide
Users Mail List<br><b>Subject:</b> Re: [mapguide-users] MapAgent.exe persists
after browser close<br><br></font></div>Make sure your using the FastCGI for
the PHP and FCGI extentions within IIS. This allows the php-cgi.exe and
mapagent.exe to be run as a process vs. a new instance per process.<br><br>The
Rock<br><br><br>
<div><span class="gmail_quote">On 7/17/07, <b class="gmail_sendername">nicholda</b> <<a href="mailto:nicholda@talgov.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">nicholda@talgov.com</a>
> wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>Thanks
for your response Kenneth,<br><br>Our issue seems to be that the
functionality we are trying to provide winds<br>up creating additional
MapAgent.exe processes as a result of a
successful<br>run. Essentially we are opening the map, creating
serveral new layers with <br>1 to many points on each one, pushing the
layers into the map, then storing<br>the map back in the repository with the
users sesssion.<br><br>The report looks great. However, when the
map refreshes, it creates a new<br>MapAgent.exe process. So, if
we create 40 reports, we reach max class<br>processes reached and then have
to manually go in and start killing<br>processes / restarting
MapGuide.<br><br>The code we are using was taken / modified from the
development guide; I can <br>tell you that we are not doing anything
explicity to close any of the<br>resource or feature services created; is
there a chance that a simple<br>featureService.close() or something related
could keep this from happening? <br>Or does the creation of new layers on
the fly necessitate the creation of a<br>new MapAgent.exe process and our
only option includes kicking the timeout<br>down from 120
seconds.<br><br>Any and all insight is appreciated.
<br><br>Thanks,<br>David<br><br><br>Kenneth, GEOGRAF A/S
wrote:<br>><br>> I belive that MapAgent.exe is supposed to keep
running.<br>> IIS/Apache will load/unload fastCGI, to avoid continously
reloading<br>> MapAgent.exe .<br>><br>> If you are using WinXP IIS,
you are likely refering to the IIS<br>> connection limit on
WinXP.<br>> You can increase the number of allowed connections to
40.<br>> Instructions can be found here: <br>> <a href="http://weblogs.asp.net/cazzu/archive/2003/10/10/31476.aspx" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://weblogs.asp.net/cazzu/archive/2003/10/10/31476.aspx
</a><br>><br>>
Regards, Kenneth, GEOGRAF A/S<br>><br>><br>><br>> nicholda
skrev: <br>>> Hi All,<br>>><br>>> I am having
trouble with MapAgent.exe, after closing the web browser<br>>>
MapAgent.exe is still running in the background. Eventually I hit
the<br>>> max<br>>> number of connections and can't make another
connection until I manually <br>>> end<br>>> the MapAgent
processes running in the background. I am running MGOS
1.2.<br>>> Could someone point me in the right direction for resolving
this issue.<br>>><br>>> Thanks,<br>>>
David<br>>><br>>
_______________________________________________<br>> mapguide-users
mailing list<br>> <a href="mailto:mapguide-users@lists.osgeo.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">mapguide-users@lists.osgeo.org</a><br>>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>><br>><br><br>
--<br>View
this message in context: <a href="http://www.nabble.com/MapAgent.exe-persists-after-browser-close-tf4090604s16610.html#a11648611" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.nabble.com/MapAgent.exe-persists-after-browser-close-tf4090604s16610.html#a11648611
</a><br>Sent
from the MapGuide Users mailing list archive at <a href="http://Nabble.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Nabble.com</a>.<br><br>_______________________________________________
<br>mapguide-users mailing list<br><a href="mailto:mapguide-users@lists.osgeo.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">mapguide-users@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://lists.osgeo.org/mailman/listinfo/mapguide-users
</a><br></blockquote></div><br><br><br><br><br></span></div>************************************************************************************<br>This
footnote confirms that this email message has been scanned by<br>PineApp
Mail-SeCure for the presence of malicious code, vandals & computer
viruses.<br>************************************************************************************<br><br><br></blockquote>
<br>
<br>
<br>
<br>
************************************************************************************<br>
This footnote confirms that this email message has been scanned by<br>
PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses.<br>
************************************************************************************<br>
<br>
<br>
<br>_______________________________________________<br>mapguide-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br><br></blockquote></div>
<br>