[mapserver-dev] pink screen after activating several layers (mapserver version 6.2.0)

Stephen Woodbridge woodbri at swoodbridge.com
Thu Dec 3 10:42:57 PST 2015


Also, LAYERS=[layergroup] in your url does not look valid.

-Steve

On 12/3/2015 12:35 PM, Donald wrote:
> The number of layers of the mapfile is above 250.
> I get a error in the console of the browser when the pink screen shows.
> It's 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
> *(net::ERR_EMPTY_RESPONSE) *
>
> The mapfile generated by mapserv exists in the tmp folder and the
> structure of the file is right. The map file generated has chmod 777 as
> well as the folder. Any help would be appreciated.
>
>
>
>
>
> 2015-12-03 14:35 GMT+00:00 Stephen Woodbridge <woodbri at swoodbridge.com
> <mailto:woodbri at swoodbridge.com>>:
>
>     Please reply to the list so everyone can benefit from the questions
>     and answers and there are a lot of other people that might have
>     input to the problem.
>
>     On 12/3/2015 5:35 AM, Donald wrote:
>
>         Hi Steve,
>
>         I don't believe that it is a problem with open layers. I tested
>
>
>     The point is to load the pink tile in a separate window so you can
>     view the error message and see why it failed.
>
>         individually one layer at a time and I could conclude that I got the
>         pink screen when a certain amount of activated layers are reached
>         regardless of the order. Do you know if mapserver has some
>         configuration
>         that restrict the number of layers to render or some
>         configuration about
>         memory limit to render the layers ?
>
>
>     No, I do not think this is the case. How many layers are in your
>     mapfile?
>
>     -Steve W
>
>         thanks
>
>         2015-12-02 16:28 GMT+00:00 Stephen Woodbridge
>         <woodbri at swoodbridge.com <mailto:woodbri at swoodbridge.com>
>         <mailto:woodbri at swoodbridge.com <mailto:woodbri at swoodbridge.com>>>:
>
>              On 12/2/2015 11:22 AM, Donald wrote:
>
>                  cheers,
>
>                  I have several layers that I can activate. When I
>         activate all
>                  at once I get
>                  a pink screen. If I activate a layer individually by
>         selecting
>                  one at a time
>                  I still get a pink screen even though some layers are
>         correctly
>                  drawn.  I
>                  checked the error log and I the last log line I have says
>                  "freeing map at
>                  0xa022230". To see the map again I have to unselect all
>         layers.
>
>                  Any thoughs on how to solve the problem ?
>
>
>              Mostly likely it is only one of some of the layers that are
>         having
>              an issue. So trying, selecting one layer at a time to
>         figure out
>              which layer is causing the problem.
>
>              Also a "pink screen" sounds like you are using OpenLayers
>         and the
>              pink is for a failure to render the image. In FireFox,
>         right click
>              on the pink image and select view image this image or copy
>         the image
>              url and paste it into a new tab/window and you might get an
>         error
>              message that would be helpful.
>
>              -Steve W
>
>              _______________________________________________
>              mapserver-dev mailing list
>         mapserver-dev at lists.osgeo.org
>         <mailto:mapserver-dev at lists.osgeo.org>
>         <mailto:mapserver-dev at lists.osgeo.org
>         <mailto:mapserver-dev at lists.osgeo.org>>
>         http://lists.osgeo.org/mailman/listinfo/mapserver-dev
>
>
>
>
>
>
> _______________________________________________
> mapserver-dev mailing list
> mapserver-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-dev
>



More information about the mapserver-dev mailing list