I got the error message trying to establish a QGIS WMS:

One or more layers failed to draw.

QGIS Map Server: This WMS service has a layer limit of 99 per request.

I did not find anyone who already had this problem.

  • You have probably run into a max limit on open files for your OS. However, you have provided practically no additional information, beyond the noted error. Also, it is unclear if you mean the error is originating from a QGIS Server (providing a WMS service), or a completely different server, e.g. a WMS layer as part of your project that is being served by QGIS Server, etc. – dakcarto Nov 4 '14 at 0:23
  • It was a first simple test. I published a service out of one shapefile on a local machine. If I try to open this local service I get the error message. – pinkyinbrain Nov 9 '14 at 7:50

To fix the problem, you should put MAX_CACHE_LAYERS to 255 or higher in your fcgid environment.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.