On Wed, Sep 5, 2012 at 4:39 PM, Carl Shimer <
[email protected]> wrote:
> Hi there,
>
> I am relatively new to geoserver and tomcat based web apps. I have a
> stable 2.1.4 geoserver up and running under tomcat6 / sunJRE / ubuntu. The
> issue is that using geoserver through the REST API or via the web admin
> interface seems to block on long transactions. For example, if you are
> importing a large geotiff via the REST API the web interface will block.
> Also, if you are creating a new store this seems to block the web
> interface as well.
>
> Is this the expected behavior or is there some configuration parameter
> that can be tweaked to make geoserver more responsive?
>
It is expected behavior, we have a global read/write lock that prevents
concurrent writes on the GeoServer configuration, as there
is little that's thread safe in said subsystem and concurrent writes kept
on corrupting it resulting in broken on disk configurations
and permanent issues in the in memory data structures that required a
restart.
There is an effort on trunk to move the configuration subsystem onto a
database, that might go in the right direction but I'm not sure
if it's all that's needed to make the config subsystem fully thread safe,
indeed the proposal does not mention anything about its
thread safety properties:
http://geoserver.org/display/GEOS/GSIP+69+-+Catalog+scalability+enhancements
I believe it's fair to say there's still work to be done even on trunk (the
GeoServer that will be released in roughly 6 months from now)
before we can remove the configuration lock and allow for concurrent
configurations of the internal catalog and service
description structures.
Cheers
Andrea
--
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it 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 962313
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users