MapServer / MapServer

Source code of the MapServer project. Please submit pull requests to the 'main' branch.
https://mapserver.org
Other
1.03k stars 373 forks source link

Mapfile limit size #5040

Closed gprigent closed 9 years ago

gprigent commented 9 years ago

Hello,

i guess 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 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)

jmckenna commented 9 years ago

please use the MapServer-users mailing list for questions (subscribe at http://lists.osgeo.org/listinfo/mapserver-users). You might also include output of shp2img -map_debug 5 in your message so mailing list readers can help you. The issue tracker is for issues/bugs in the software.