[OpenLayers-Users] how to make simultanous wms calls in open layers

Ravi Pavuluri ravitheja at ymail.com
Fri Apr 8 13:38:14 EDT 2011


Andreas,

I apologise for replying in this thread. I will create a new thread if that is 
more appropriate. 


I had a similar issue as Imran and tried doing the way you mentioned. It works 
faster. But I see a higher number of httpd threads in Apache eating away my RAM. 
I am using geoserver as my web mapping server and have the following values in 
Apache configuration.

MinSpareServers 5
MaxSpareServers 10

Is this an expected behavior? and is there some way to counter this?
I had a similar problem when using TileCache with mod_python and not mod_cgi. Am 
I missing something in common in Apache?

Thanks,
Ravi.







________________________________
From: Andreas Hocevar <ahocevar at opengeo.org>
To: Imran Rajjad <rajjad at gmail.com>
Cc: "<users at openlayers.org>" <users at openlayers.org>
Sent: Tue, March 15, 2011 8:35:25 PM
Subject: Re: [OpenLayers-Users] how to make simultanous wms calls in open layers

Hey,

most browsers only do a small amount (~4) of requests to a single domain at the 
same time. If you want more tiles to be loaded in parallel, use more than one 
URLs, e.g.

http://tiles1.myhost.org/
http://tiles2.myhost.org/
http://tiles2.myhost.org/

They can all point to the same server.

Regards,
Andreas.

On Mar 15, 2011, at 01:14 , Imran Rajjad wrote:

> Hi.
> 
> Im looking for a way for openlayers to make wms and gwc requests at
> the same time, currently I have a map with 1 wms layer and 4 gwc
> layers out of which 2 are baselayers. Things are working fine but it
> happens at times when user pans and zooms the map roughly with the wms
> layer enable , it seems openlayers first finishes loading the
> baselayers and then it comes towards the other overlays , I want
> openlayers to load all enable layers at once instead of loading one
> layer and then moving to the oher. Has anybody faced this problem
> before?
> 
> regards,
> Imran
> 
> -- 
> I.R
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users

-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.

_______________________________________________
Users mailing list
Users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20110408/803cf5bb/attachment.html


More information about the Users mailing list