[mapserver-users] FastCGI issues with MapServer 5.2, Ubuntu 8.04

Paul Ramsey pramsey at cleverelephant.ca
Fri Aug 22 15:55:39 EDT 2008


Andrea,

You might want to try mod_fcgi instead, as it has received maintenance
and is targetted at Apache 2, whereas the original mod_fastcgi was
built for 1.3 and received a cursory upgrade to 2.

http://fastcgi.coremail.cn/

That said, I have not experienced your problem before.

P.

On Fri, Aug 22, 2008 at 1:21 AM, Andrea Aime <aaime at opengeo.org> wrote:
> Andrea Aime ha scritto:
>>
>> Andrea Aime ha scritto:
>>>
>>> Hi,
>>> I'm struggling a trying to configure MapServer 5.2
>>> for the performance comparison presentation that we'll
>>> hold at FOSS4G 2008
>>> (http://conference.osgeo.org/index.php/foss4g/2008/paper/view/256)
>>>
>>> In particular, no matter what I do, a single, long running
>>> mapserv process seems to be handling all of the requests
>>> coming down the pipe, regardless of how many client threads
>>> I'm using to hit the server. Some details on what I've
>>> done so far follow.
>>
>> To answer myself, that was happening I added the
>> PROCESSING "CLOSE_CONNECTION=DEFER"
>> directive into a shapefile layer definition. It
>> seems it's not exactly irrelevant, it's actually
>> harmful (whilst it's beneficial, and works too,
>> for postgis layers).
>>
>> When I removed it the fastcgi processes started to get
>> spawn as configured in the fastcgi.conf file.
>
> This morning I started benchmarking again and ended up with a single
> fastcgi process again, so the above is probably not the cause.
> What made apache understand I want 20 processes instead of just one
> remains a mystery, it has magically disappeared as it magically
> appeared yesterday.
>
> Anyone has a clue? Is fastcgi supposed to be usable in production
> under Ubuntu servers, are there known issues/instabilities? (this may
> explain why out of the box mapserver is not built with fastcgi
> support enabled in Ubuntu).
>
> In the meantime I'm going to try out the FastCgiServer directive
> described here:
> http://www.fastcgi.com/mod_fastcgi/docs/mod_fastcgi.html#FastCgiConfig
> hoping it proves more reliable.
>
> Cheers
> Andrea
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>


More information about the mapserver-users mailing list