[ms4w-users] Re: [mapserver-users] FastCGI on IIS6 - how to test ?

Alexandre Dube adube at mapgears.com
Fri Aug 15 09:38:09 EDT 2008


Hi James,

    I already did many tests a couple of months ago to see if fastCGI 
was worth the efforts, and as soon as it worked, I noticed a good 
difference of performances.  The map loaded much faster.  At the bottom 
left of my internet browser, files transfered from the server were 
downloaded much faster in fastCGI mode than normal.

    But I also did real actual tests using a small application called 
http_load, you can get it at : http://www.acme.com/software/http_load/

    Well, maybe Jeff McKenna knows a better way to do it...

    I definitively noticed a difference in performance between normal 
CGI and fastCGI.  Try to make a file containing url of a GetMap request 
and test it with http_load with normal CGI and fastCGI configurations to 
see the difference.

    To disable fastCGI, add quotes to your httpd.conf where the module 
is loaded :

    #LoadModule fcgid_module modules/mod_fcgid.so

    This should be enough to disable it without problems.  Then restart 
Apache.

    You can also see which modules are currently loaded with :

    go to --> /ms4w/Apache/bin
    type the following --> httpd -t -D DUMP_MODULES

    and see if your fastCGI module is there or not.

    A tip : when you start/restart/stop apache, be sure do it in a 
command window and not by clicking on the .bat file in windows mode.  
That way, you will be able to see if there is any error message.

    Best regards,

Alexandre

James Mapserver wrote:
> Hi,
>  
> I have been playing with installing this using Microsofts FastCGI addin.
> I am using the latest mapserv build from MS4W - which has fastcgi enabled
>  
> I seem to have it all up and running (in that if a alter Microsoft 
> configuration it stops working!)
>  
> But how do I test if its really working as it should - and giving me 
> the supposed benefits.
>  
> In task manager - I still see lots of mapserv processes appearing and 
> disappearing - belonging to IIS_USR - but there is a mapserv process 
> that hangs around for quite a while belonging to NETWORK_SERVICES - 
> which I didn't used to have.
>  
> Is there any easy way to test this - other than just under heavy 
> loading conditions ??
>  
> Thaks
> James
>  
> ------------------------------------------------------------------------
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>   


-- 
Alexandre Dubé
Mapgears
www.mapgears.com



More information about the ms4w-users mailing list