[Geoserver-devel] Automating Geoserver 'Clear cache' and 'Free memory'

Hi Pierre,

There is something wrong if these operations are needed. What troubles do you have with the memory?

-Jukka Rahkonen-

(attachments)

image001.png

···

Chris Snider wrote:

Hi,

This type of question is better served on the GeoServer Users list.

You can use a cron/scheduled job to call the REST API Reload

http://docs.geoserver.org/2.5.x/en/user/rest/api/reload.html

or the REST API Reset

http://docs.geoserver.org/2.5.x/en/user/rest/api/reset.html

One of these may handle what you need.

Chris Snider

Senior Software Engineer

Intelligent Software Solutions, Inc.

Description: Description: Description: cid:image001.png@...3926...

From: Pierre Lacroix [mailto:piotrlacroix@…403…]
Sent: Wednesday, September 10, 2014 3:33 AM
To: geoserver-devel@lists.sourceforge.net
Subject: [Geoserver-devel] Automating Geoserver ‘Clear cache’ and ‘Free memory’

Hi,

How is it possible to automate/schedule tasks for clearing GeoServer cache and for freeing GeoServer memory?

So far I do it manually from the ‘Server status’ page.

Thank you in advance.

P.