On Thu, Jul 23, 2015 at 9:25 PM, eting123 <[email protected]> wrote:

> We also have more questions:
> 1. We have been using the same settings (ie, max connections = 10) with
> Geoserver 2.0.2. We have used that for several years and never had this
> problem. This problem started happening when we switched to Geoserver
> 2.6.2.
> Just wondering if this is caused by some change in the Geoserver code (for
> example, it needs to hit the database more frequently...)?
>

This is a surprise to me, the performance tests we have handy show a steady
performance increase over the years (but I don't have data points for the
2.6.x series),
see slide 81 in this presentation:
http://www.slideshare.net/geosolutions/enterprise-gsgwcdeploymentbenchmarks-foss4g2015v0103

You sure nothing else changed between 2.0.2 and 2.6.2, like, the number of
layers,
the amount of requests you normally handle, the type of requests?


>
> 2. Sometimes we would observe that the map really lags as we navigate
> around
> (we have a Postgres database that stores our map data, and we connect a
> datastore in Geoserver to point to the Postgres database. Then we add new
> layers to Geoserver by choosing from the postgres datastore, and finally we
> add these layers to a layergroup that our application can access via WMS).
> Is the lagging caused by waiting for a connection from the connection pool,
> and if it still doesn't get a connection after it reaches the 'time out'
> value, it will give the "Cannot get a connection, pool error Timeout
> waiting
> for idle object " error?
>

It could be, or it could be that you have un-optimized styling, WFS requests
in parallel that are stealing away the database connection.... this is a
complex
system, there is no simple answer to such a generic question

Cheers
Andrea

-- 
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility  for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.

-------------------------------------------------------
------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to