[mapguide-users] Maximum WMS request image size

Traian Stanev traian.stanev at autodesk.com
Fri Jan 4 13:00:30 EST 2008


The maximum size is 16384x16384, but I don't think it is enforced in the GDRenderer, only in the AGGRenderer which we added in 2.0.

Keep in mind that at 16384x16384 it takes 1 GB of RAM just for the back buffer. Your machine was likely swapping like crazy, hence it was taking a lot more than 4 times longer to render when compared to 8192x8192. There are also some inefficiencies in the label algorithms that may not scale well (i.e. not linearly) if you have way too many labels in the map.

Above 10kx10k pixels, it's probably better to generate a few image tiles and then glue them back together using a post-processing step.

Traian


From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of azpublic
Sent: Friday, January 04, 2008 8:51 AM
To: 'MapGuide Users Mail List'
Subject: [mapguide-users] Maximum WMS request image size

Hi,

I was wondering what was the maximum image size for a WMS getImage request ?

I successfully managed to generate a 8192 X 8192 image in a couple of minutes (I had to raise the session timeout both in the Mapguide and apache FastCGI configuration = I raised it to 1200 seconds instead of the initial 120)

When I tried the next level I need which is a 16384 X 16384 image  my machine just works eternally and eventually the request times out after the 1200 seconds limit ...

Is there a way to manage to generate such bigger images by tweaking some parameters / increasing memory somewhere ?

Below is an extract of my apache log for the period during which I ran the 16384 X 16384 test

Has the "reached dynamicMaxClassProcs (4)" error something to do with the fact that the image generation failed?

Thanks in advance.




Files/MapGuideOpenSource/WebServerExtensions/www/mapagent/MapAgent.exe" (pid 3596) termination signaled
[Thu Jan 03 19:56:27 2008] [warn] FastCGI: (dynamic) server "C:/Program Files/MapGuideOpenSource/WebServerExtensions/www/mapagent/MapAgent.exe" (pid 3596) terminated with exit with status '0'
[Thu Jan 03 20:02:44 2008] [warn] FastCGI: scheduled the restart of the last (dynamic) server "C:/Program Files/MapGuideOpenSource/WebServerExtensions/www/mapagent/MapAgent.exe" process: reached dynamicMaxClassProcs (4)
[Thu Jan 03 20:02:45 2008] [warn] FastCGI: (dynamic) server "C:/Program Files/MapGuideOpenSource/WebServerExtensions/www/mapagent/MapAgent.exe" restarted (pid 5000)
[Thu Jan 03 20:04:26 2008] [warn] FastCGI: (dynamic) server "C:/Program Files/MapGuideOpenSource/WebServerExtensions/www/mapagent/MapAgent.exe" (pid 5000) termination signaled
[Thu Jan 03 20:04:27 2008] [warn] FastCGI: scheduled the restart of the last (dynamic) server "C:/Program Files/MapGuideOpenSource/WebServerExtensions/www/mapagent/MapAgent.exe" process: reached dynamicMaxClassProcs (4)
[Thu Jan 03 20:06:28 2008] [warn] FastCGI: (dynamic) server "C:/Program Files/MapGuideOpenSource/WebServerExtensions/www/mapagent/MapAgent.exe" (pid 5000) terminated with exit with status '0'
[Thu Jan 03 20:06:28 2008] [warn] FastCGI: scheduled the restart of the last (dynamic) server "C:/Program Files/MapGuideOpenSource/WebServerExtensions/www/mapagent/MapAgent.exe" process: reached dynamicMaxClassProcs (4)
[Thu Jan 03 20:06:29 2008] [warn] FastCGI: (dynamic) server "C:/Program Files/MapGuideOpenSource/WebServerExtensions/www/mapagent/MapAgent.exe" restarted (pid 3256)
[Thu Jan 03 20:14:27 2008] [warn] FastCGI: (dynamic) server "C:/Program Files/MapGuideOpenSource/WebServerExtensions/www/mapagent/MapAgent.exe" (pid 3256) termination signaled
[Thu Jan 03 20:14:27 2008] [warn] FastCGI: scheduled the restart of the last (dynamic) server "C:/Program Files/MapGuideOpenSource/WebServerExtensions/www/mapagent/MapAgent.exe" process: reached dynamicMaxClassProcs (4)
[Thu Jan 03 20:16:31 2008] [warn] FastCGI: (dynamic) server "C:/Program Files/MapGuideOpenSource/WebServerExtensions/www/mapagent/MapAgent.exe" (pid 3256) terminated with exit with status '0'
[Thu Jan 03 20:16:31 2008] [warn] FastCGI: scheduled the restart of the last (dynamic) server "C:/Program Files/MapGuideOpenSource/WebServerExtensions/www/mapagent/MapAgent.exe" process: reached dynamicMaxClassProcs (4)
[Thu Jan 03 20:16:32 2008] [warn] FastCGI: (dynamic) server "C:/Program Files/MapGuideOpenSource/WebServerExtensions/www/mapagent/MapAgent.exe" restarted (pid 4228)
[Thu Jan 03 20:22:45 2008] [error] [client 127.0.0.1] FastCGI: comm with (dynamic) server "C:/Program Files/MapGuideOpenSource/WebServerExtensions/www/mapagent/MapAgent.exe" aborted: (first read) idle timeout (1200 sec)
[Thu Jan 03 20:22:45 2008] [error] [client 127.0.0.1] FastCGI: incomplete headers (0 bytes) received from server "C:/Program Files/MapGuideOpenSource/WebServerExtensions/www/mapagent/MapAgent.exe"
[Thu Jan 03 20:24:27 2008] [warn] FastCGI: (dynamic) server "C:/Program Files/MapGuideOpenSource/WebServerExtensions/www/mapagent/MapAgent.exe" (pid 4228) termination signaled
[Thu Jan 03 20:26:30 2008] [warn] FastCGI: (dynamic) server "C:/Program Files/MapGuideOpenSource/WebServerExtensions/www/mapagent/MapAgent.exe" (pid 4228) terminated with exit with status '0'
[Thu Jan 03 20:34:26 2008] [warn] FastCGI: (dynamic) server "C:/Program Files/MapGuideOpenSource/WebServerExtensions/www/mapagent/MapAgent.exe" (pid 4608) termination signaled
[Thu Jan 03 20:36:47 2008] [warn] FastCGI: (dynamic) server "C:/Program Files/MapGuideOpenSource/WebServerExtensions/www/mapagent/MapAgent.exe" (pid 4608) terminated with exit with status '0'
[Thu Jan 03 20:44:27 2008] [warn] FastCGI: (dynamic) server "C:/Program Files/MapGuideOpenSource/WebServerExtensions/www/mapagent/MapAgent.exe" (pid 2116) termination signaled
[Thu Jan 03 20:46:40 2008] [warn] FastCGI: (dynamic) server "C:/Program Files/MapGuideOpenSource/WebServerExtensions/www/mapagent/MapAgent.exe" (pid 2116) terminated with exit with status '0'
[Thu Jan 03 20:54:26 2008] [warn] FastCGI: (dynamic) server "C:/Program Files/MapGuideOpenSource/WebServerExtensions/www/mapagent/MapAgent.exe" (pid 3096) termination signaled
[Thu Jan 03 20:56:31 2008] [warn] FastCGI: (dynamic) server "C:/Program Files/MapGuideOpenSource/WebServerExtensions/www/mapagent/MapAgent.exe" (pid 3096) terminated with exit with status '0'



Internal Virus Database is out-of-date.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.17.11 - Release Date: 27.12.2007 00:00
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080104/6804adae/attachment.html


More information about the mapguide-users mailing list