<div dir="ltr">Found the problem. Query string has two many parameters. The request should be done by post and not by get. Anyone knows a quick way to make mapserver to make request by post instead of get ? </div><div class="gmail_extra"><br><div class="gmail_quote">2015-12-04 9:49 GMT+00:00 Rahkonen Jukka (MML) <span dir="ltr"><<a href="mailto:jukka.rahkonen@maanmittauslaitos.fi" target="_blank">jukka.rahkonen@maanmittauslaitos.fi</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="FI" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Apache has a max size of the request string set to 8190 by default but it can be configured to some other value. Perhaps
you should check that.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><a href="http://httpd.apache.org/docs/2.0/mod/core.html#limitrequestline" target="_blank"><span lang="EN-US">http://httpd.apache.org/docs/2.0/mod/core.html#limitrequestline</span></a></span><span class="HOEnZb"><font color="#888888"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u><u></u></span></font></span></p><span class="HOEnZb"><font color="#888888">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">-Jukka Rahkonen-<u></u><u></u></span></p></font></span><div><div class="h5">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Donald wrote:<br>
<br>
<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US">I've tried your query on the URL copied from the browser console when I enable all the layers wich is: <u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">http://[my-ip]/cgi-</span>bin/mapserv?MAP=%2Fvar%2Fwww%2Fhtdocs%2Fwebsig%2Fv5%2Ftmp%2Ftmp%2F0jtbdfs8dcivii2ugk0gmgf9g3.map&TRANSPARENT=FALSE&LAYERS=0cc6928e741d75e7a92396317522069e%2C11953163dd7fb12669b41a48f78a29b6%2Ca1ef52d000a69fe51471bfb2c5f33f2b%2C44f4d07f1c8299921e49ad583e6172ac%2C193aeff547d5ae031961a398f3d85103%2C436be651135fc8603fe1eebef755a414%2Ca189d1d6323604bf825894b367be53d8%2C56aac7f0dc0698c8fd1d78b5775cad8b%2C96291e7f00056d5fa2a29a7bb01a5c69%2C9c94ffae5dafd57bc0a5a9a74c33bda1%2Ce2cf648ae25fae6974151b3d8cfe1bd5%2Ca28656725f374cb3e71a201b531e80cd%2C8dc37d46aebc3afc7600e5ff3a98701e%2C8915c77907ad5fc844b6cac7fd4a36ca%2C7209f9f3fb9d9fe99ce4f89b9287fb53%2C35d0e2d968e9feccbca2e105770b7d1a%2C1ff33d2387634a2ba74bfd89e4fae299%2C499dd1b7fff1fe45c60c1e0327f31ac7%2C90542348786781a92dc3159edb3acaeb%2C8f1483fd43d37f2b201b6013cf560548%2Cc031bd271524cfaf3ca33d9a7cdd6963%2C3b51f0944a15a288a8f63a69184eefed%2Cbe0c65808c8b98930fd422c71f4eb503%2C214f89202b43814a91023650bcd7812e%2C466faab804ea25abe829be99d5e9bd62%2C67f56f1066f936643e650ab9abbe8782%2C98a38e6bc3df67b13c88f895b0475bda%2C1ceea623bcd09fd1c588eeab49348267%2C654d83ccc5d76820d377ca1ae5c1b1e7%2Cec66e23e08411ca94ac3140f8b092b32%2C7e87e2573bea6ca53812c110c8b3044f%2C86425ea19a3ef32b8e04bf17d99d7a46%2C6b8f11ea22cc3b3d21054af721405f74%2C1315d315bde3c15132bfe573c31f2e16%2C7504b254d644b0f91405e4fdddc19ae0%2C60cd83680a9c13ad66f64746a7017f5e%2C2bde0769323a37aaf488a8ea7925f80f%2C77404689d7440aaf8316d8ef916244cb%2C1bb0595cd85c6f555b1a421c714a70a2%2C55f5be4757a81d063e68ec307346ead8%2Cd9c9e5d87b555029cddd3ca66e016595%2C76534893b6a38e0b25f8140f1f580968%2Ce7e425d53704ee79df4fdd45e58bf4e6%2C61228e7887c83f5b85a0e781d5f3de2e%2C782d1a09faf16eee2bdf365b137c3aae%2C53766bdaf3f63849b506cb5191f961e7%2C40a0c0facfcdad4e0dc618e60ca9e413%2C2622ea890afbebb5521428fc07ba589b%2C15f3489c410bbc3dd881bb4b759acffb%2C5ce0ca293fb953c464dda085f538b782%2C7f927cda8670e1a6f507076d937850ed%2C65a5fed29aae278c485f89232901404c%2Cb47e509fd65154585d8e77ff11f03015%2C51505d09eb905e7248bf0fed77d2816d%2Cec4858f5b660a6df588e03c32f3e735e%2C7da04e3d53d8c5a62541bd5e42fa0672%2C34bf9aeb79753c6e872c0bd58f51c146%2C3daeb348a79430565833d5cd79fba92f%2C4a78403560ef86c4eea1a0b2573203b3%2C43b0ef7d354de97451c4c319cf9db3b5%2C7238ccb9e6c000e224e5454aa784080c%2C311beab01e8c21adb5a026229ecb839d%2C574b903a819d3fa92a1880f6622c9ab5%2C0e06dc3580edf9e4fc3f3dac76e76f71%2Cc02b5c894edff19a96b3422394c04911%2Cf9521e71f41095bc3ccf8021007cb023%2Cbbadaf32ecbe37b60628d0c230dc412f%2Cc7d53014f8da9740eae6afb8513f3ac4%2C709060ead0f67f018416c4fc035e2c3a%2C2b24c444b2c5fe58b1ffaec61f466d00%2C6719949fc8101ddeb59ed1b67512761e%2Cf7ffc9008d90fe6a9a15f796fad2b657%2C3ba8291855c46ebde15bb92a2a633aeb%2Ce75adec1484a3b03c3a79a27a10901e8%2C80b006c1ce5bf675b5590cfbb417abbe%2C47f5bb8284b4015e41c2e7c250d27543%2C35ce7d65b04081847b87b62a81e597b0%2C143a21bafc7707f9373794e1d2d827cf%2C4ec6eddc8d3c20a0b057b6ad8fc67d50%2Cf1159a1c807f13eec2bd7692ab1975b3%2C2059b13e67326286c4398f15782b43bb%2C8571dd34c9eea72bea2fe57c3d60eebc%2C933a3113365e0576c37383fc9f4dd248%2C22fd995384fdb060697414c52cd15b2f%2Cfffd934ee97bdb7d3c2c90ee19e3651c%2Cab27d90bf463cc0a3f264ec7b2ef8578%2Cfe412288e246b9db179a5252d963578a%2C587de9dc60af8a0a804647e9a534a7e0%2C62bf355cb6fa693e7346b9ce036b97a9%2C7adad602a8e6b21bea8b9a8f765a693a%2Cd3c0bd08ee26893f13cbdee1867092da%2Cbe0907ace4d9ca60c8117e11992f1d5a%2C6dd1992ff78e50d024020d02facd8080%2C13cf57a40ad01e563379e776cd04fc37%2Ca21b5f37cd84b6a519f2fc1f8ea28438%2C72d84e1c154562da0ad2655c8ab5234f%2Ca885eeb0ddd95becfd42ee3a7dcaec2b%2Cd57cf3418fa7038113584a393ff6b260%2Cb400d27e54ba06bffd875b6ff73680f8%2C4ed10cf7ef5fb0e73f9c43b2e5e3677a%2C08f16dbb49febf87e541b04407cf2174%2C59534f8c330d4c27d4a8875ba9155748%2Cb1ec86eb9b540dca4654cb9c610ccfa0%2Cbe34bbd1866b0e986ee9bd7107c36a31%2Ccef38aef772342ec503124046ad6a753%2C884d6ae8aafc603f1e8181103ee9b29c%2Cd7ede8e3595c31b88ca9bd673972ed86%2Cbc000578e49ba3a149c8bafa4560974c%2Cf0749ca842cb10ad3c018ce4ec2bcb2f%2C111bc1c0d5b441f0c89e7193ad20d72c%2C6c3fc16410795c0043c51c7203cf5ddf%2C2fc97b3183948688ff4b6b568081b4d9%2Ce28f27c2a1bb6d772b4f46badc754676%2Ca3f9786e1d897b30211ba252f4847209%2C14b2db52dffc5b6d7a936f4fdf8aa3e2%2C67dda89af34162c1a71a71e4275e7e56%2Cab99a810f6723e06e4558b64d41d6498%2Cc40cd16a3a97071d48ce70e644688e29%2C2c512def841aba91d2e9243aadd652ad%2Cc83ad544d048b82d40f977e00157d101&FORMAT=png&MAXEXTENT=29754.890054972%2C-218525.78697617%2C87631.601716573%2C-160649.07531457&GUTTER=0&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&SRS=EPSG%3A27492&RANDOM=0.6882094601169229&BBOX=-27150.262730475,-250353.85249421,163349.63439958,-138435.16293029&WIDTH=1440&HEIGHT=846<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I get from the command line a bunch of weird characters such as:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<div>
<p class="MsoNormal">8$I*.}(Laà$©¸ô¡0<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">C¤ÖÒWÀ I*³8$Iê+}cà$©¯ô}0C¤¾Ò÷À8IúJßã8$Iê+}cà$©¯ô}0C¤²ÒÇÀDIúJßã8$Iê+}cà$©¯ô}0C¤¾Ò÷À8I*³8$Iª,}"Ìbà$©²ô0C¤ÖÒWÀ IZK_ 8$I*.}(Laà$©»ô0C¤úÒç@?$IJ_<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">å<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">µ}443pH4§ôÝPËÀ!IÒÒw@-$IsJß<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">µ*}:t2pH4ªôéÐÉÀ!IÒÒw@-$IsJß<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">$<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">ÍÍ)}7Ô2pH4§ôÝPËÀ!IÒÒG@3$ICJ<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Í}443pH4¤ôÑÐÌÀ!IÒÒG@3$ICJ<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Í}443pH4¤ôÑÐÌÀ!IÒÒG@3$ICJ<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">µ}443pH4§ôÝPËÀ!IÒÒw@-$IsJß<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> *}:t2pH4ôõPÈÀ!IÒÌÒ7@$IcK=<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">$<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">/}L40pH4¿ô=gà$i~é{ ÎÀ!IÒüÒ÷@C¤ù¥ï 8$IÃK<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">$M.}I0pH4§ôÝPËÀ!IÒ<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> Ò@9$Iõ¥Ï~IºKß<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">#ümVoÐMxÒzIEND®B`ngwebsig@websigv5:/usr/lib/cgi-bin$ PuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTuTTYPuTTYPuTTYTYP<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I checked the folder and the map file is there and is readable. I also tried the same command on a string that has no layers enabled and I get a clean response. I've copied the same project to localhost environment, enabled all the same
layers and it worked fine. Could this be something related to the amount of variables passed in the URL ? <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">2015-12-03 18:42 GMT+00:00 Stephen Woodbridge <<a href="mailto:woodbri@swoodbridge.com" target="_blank">woodbri@swoodbridge.com</a>>:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal">Also, LAYERS=[layergroup] in your url does not look valid.<br>
<br>
-Steve<br>
<br>
On 12/3/2015 12:35 PM, Donald wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal">The number of layers of the mapfile is above 250.<br>
I get a error in the console of the browser when the pink screen shows.<br>
<span lang="EN-US">It's </span><a><span lang="EN-US">http://[myIP]/cgi-bin/mapserv?MAP=%2Fvar%2Fwww%2Fhtdocs%2Fwebsig%2Fv5%2Ftmp%2Ftmp%2F0olt4opvnq180qoiaukec1t6o2.map&TRANSPARENT=FALSE&LAYERS=[layergroup]&FORMAT=png&MAXEXTENT=29754.890054972%2C-218525.78697617%2C87631.601716573%2C-160649.07531457&GUTTER=0&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&SRS=EPSG%3A27492&RANDOM=0.6198567883111537&BBOX=-36556.702679255,-245546.77592733,153943.1944508,-133628.08636341&WIDTH=1440&HEIGHT=846</span></a><span lang="EN-US"><br>
*(net::ERR_EMPTY_RESPONSE) *<br>
<br>
The mapfile generated by mapserv exists in the tmp folder and the<br>
structure of the file is right. </span>The map file generated has chmod 777 as<br>
well as the folder. Any help would be appreciated.<br>
<br>
<br>
<br>
<br>
<br>
2015-12-03 14:35 GMT+00:00 Stephen Woodbridge <<a href="mailto:woodbri@swoodbridge.com" target="_blank">woodbri@swoodbridge.com</a><br>
<mailto:<a href="mailto:woodbri@swoodbridge.com" target="_blank">woodbri@swoodbridge.com</a>>>:<br>
<br>
Please reply to the list so everyone can benefit from the questions<br>
and answers and there are a lot of other people that might have<br>
input to the problem.<br>
<br>
On 12/3/2015 5:35 AM, Donald wrote:<br>
<br>
Hi Steve,<br>
<br>
I don't believe that it is a problem with open layers. I tested<br>
<br>
<br>
The point is to load the pink tile in a separate window so you can<br>
view the error message and see why it failed.<br>
<br>
individually one layer at a time and I could conclude that I got the<br>
pink screen when a certain amount of activated layers are reached<br>
regardless of the order. Do you know if mapserver has some<br>
configuration<br>
that restrict the number of layers to render or some<br>
configuration about<br>
memory limit to render the layers ?<br>
<br>
<br>
No, I do not think this is the case. How many layers are in your<br>
mapfile?<br>
<br>
-Steve W<br>
<br>
thanks<br>
<br>
2015-12-02 16:28 GMT+00:00 Stephen Woodbridge<br>
<<a href="mailto:woodbri@swoodbridge.com" target="_blank">woodbri@swoodbridge.com</a> <mailto:<a href="mailto:woodbri@swoodbridge.com" target="_blank">woodbri@swoodbridge.com</a>><br>
<mailto:<a href="mailto:woodbri@swoodbridge.com" target="_blank">woodbri@swoodbridge.com</a> <mailto:<a href="mailto:woodbri@swoodbridge.com" target="_blank">woodbri@swoodbridge.com</a>>>>:<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><br>
<br>
On 12/2/2015 11:22 AM, Donald wrote:<br>
<br>
cheers,<br>
<br>
I have several layers that I can activate. When I<br>
activate all<br>
at once I get<br>
a pink screen. If I activate a layer individually by<br>
selecting<br>
one at a time<br>
I still get a pink screen even though some layers are<br>
correctly<br>
drawn. I<br>
checked the error log and I the last log line I have says<br>
"freeing map at<br>
0xa022230". To see the map again I have to unselect all<br>
layers.<br>
<br>
Any thoughs on how to solve the problem ?<br>
<br>
<br>
Mostly likely it is only one of some of the layers that are<br>
having<br>
an issue. So trying, selecting one layer at a time to<br>
figure out<br>
which layer is causing the problem.<br>
<br>
Also a "pink screen" sounds like you are using OpenLayers<br>
and the<br>
pink is for a failure to render the image. In FireFox,<br>
right click<br>
on the pink image and select view image this image or copy<br>
the image<br>
url and paste it into a new tab/window and you might get an<br>
error<br>
message that would be helpful.<br>
<br>
-Steve W<br>
<br>
_______________________________________________<br>
mapserver-dev mailing list<br>
<a href="mailto:mapserver-dev@lists.osgeo.org" target="_blank">mapserver-dev@lists.osgeo.org</a><br>
<mailto:<a href="mailto:mapserver-dev@lists.osgeo.org" target="_blank">mapserver-dev@lists.osgeo.org</a>><u></u><u></u></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"> <mailto:<a href="mailto:mapserver-dev@lists.osgeo.org" target="_blank">mapserver-dev@lists.osgeo.org</a><br>
<mailto:<a href="mailto:mapserver-dev@lists.osgeo.org" target="_blank">mapserver-dev@lists.osgeo.org</a>>><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-dev" target="_blank">
http://lists.osgeo.org/mailman/listinfo/mapserver-dev</a><br>
<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
mapserver-dev mailing list<br>
<a href="mailto:mapserver-dev@lists.osgeo.org" target="_blank">mapserver-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-dev</a><u></u><u></u></p>
</blockquote>
<p class="MsoNormal"><br>
_______________________________________________<br>
mapserver-dev mailing list<br>
<a href="mailto:mapserver-dev@lists.osgeo.org" target="_blank">mapserver-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-dev</a><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div></div></div>
</div>
</blockquote></div><br></div>