[mapserver-users] Mapfile limit size

thomas bonfort thomas.bonfort at gmail.com
Wed Nov 26 06:45:08 PST 2014


Glenn,
I have had no other reports of issues related to mapfile sizes,
includes, or tabs vs. spaces. Ideally provide a backtrace of the
segfault after having recompiled mapserver with debugging symbols
turned on, from the command line with a bounding box that triggers the
500 error:

gdb --args /path/to/mapserv
QUERY_STRING='map=foo.map&....&BBOX=0.61720000000017,37.762166666667,1.6673000000002,39.512333333333'
> run
... wait for segfault
> bt


regards,
thomas

On 26 November 2014 at 15:06, Prigent, Glenn
<glenn.prigent at capgemini.com> wrote:
> Hello,
>
>
> i wonder if there is any size limit for the mapfile.
> I have a mapfile (23 ko) which includes many other file (17 includes of a
> 0.517 ko file, 7 includes of a 6.466 ko file, 6 includes of a 5.996 ko file
> and 4 includes of a 5.788 ko file)
> I use url parameters to filter data with %% in the mapfile.
> With some parameters i have a ERROR 500 and sometimes i get no response from
> mapserver (timeout).
> I use regexp in mapfile from BBOX url to filter data in request.
> With this BBOX :
> BBOX=0.61720000000017,37.762166666667,1.6673000000002,39.51233, no problem.
> With this BBOX :
> BBOX=0.61720000000017,37.762166666667,1.6673000000002,39.51233333333,
> timeout
> With this BBOX :
> BBOX=0.61720000000017,37.762166666667,1.6673000000002,39.512333333333, ERROR
> 500.
> I have no log when those errors come.
>
> I guess it was a BBOX touble but testing those BBOX on another mapfile,
> everything is ok.
>
> After removing some tabulations from an include file, everything works fine.
>
> So i suppose there is a size limit problem.
>
> Has anyone encountered the same problem and has a solution ?
>
> (I will reformat my mapfile by removing tabulations to avoid the problem)
>
>
> Glenn Prigent
>
> This message contains information that may be privileged or confidential and
> is the property of the Capgemini Group. It is intended only for the person
> to whom it is addressed. If you are not the intended recipient, you are not
> authorized to read, print, retain, copy, disseminate, distribute, or use
> this message or any part thereof. If you receive this message in error,
> please notify the sender immediately and delete all copies of this message.
>
> _______________________________________________
> 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