[mapserver-users] Mapserver crashes with large number of layers
Oliver Wesp
oliver.wesp at gmail.com
Fri Dec 10 01:56:29 PST 2010
Thanks anyone for the help.
We didn't actually solved the problem but we found out how to avoid
it. First thing we found out was that the map was succesfully drawn
and that mapserver stucks after that. I tried it with mapscript and
the map image gets written to disk and after that php cgi stucks the
same way mapserver cgi does before. We didn't find out what exactly
happens but it's seems mapserver stucks when writing to the log files.
When we did some try and error with the logging mechanism we found out
(by accident) that everything is fine as soon as we turn of debugging
in the mapfile. For the moment I'm fine with this workaround but I
will try to get a small demo together as soon as as possible so maybe
somebody can have a look at it.
Best regards ,
Oliver
2010/12/8 Umberto Nicoletti <umberto.nicoletti at gmail.com>:
>
> Looks like a deadlock to me.
> If you have msvc on the machine try to attach the debugger to the
> process and see where it's stuck by requesting a stacktrace for
> example. If msvc is not available I'd try ProcessMonitor from
> sysinternals and last but not least good ole gdb (yes it does run on
> Windows).
>
> Recompile mapserver with debugging symbols to get accurate function
> names and line numbers from the debugger.
>
> Last step: verify that the mapserv process ran by apache is not
> loading different dlls from the command line you used to test it.
>
> HTH,
> Umberto
>
>
>> all. If I terminate the process using the task manager "Premature end
>> of script headers: mapserv.exe" is written to the apache error.log and
>> the client shows "Internal Server Error".
>>
>> Right know we have no idea of what to look at. If anybody has any hint
>> what might goes wrong we maybe would be able to look at it and maybe
>> fix it. But right now we're stuck.
>>
>> Best regards,
>> Oliver
>> _______________________________________________
>> 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