From 5481eea2d4fc5b9415eba366c6397a0e0b403832 Mon Sep 17 00:00:00 2001 From: Francesco Camuffo Date: Thu, 6 Jun 2024 10:43:40 +0200 Subject: [PATCH] Create Logrotate configs --- install/advanced/core/index.rst | 48 +++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/install/advanced/core/index.rst b/install/advanced/core/index.rst index 4a4e118d..6867ddec 100644 --- a/install/advanced/core/index.rst +++ b/install/advanced/core/index.rst @@ -551,6 +551,24 @@ Let's now configure the ``JAVA_OPTS``, i.e. the parameters to run the Servlet Co .. warning:: The default options we are going to add to the Servlet Container, assume you can reserve at least ``4GB`` of ``RAM`` to ``GeoServer`` (see the option ``-Xmx4096m``). You must be sure your machine has enough memory to run both ``GeoServer`` and ``GeoNode``, which in this case means at least ``4GB`` for ``GeoServer`` plus at least ``2GB`` for ``GeoNode``. A total of at least ``6GB`` of ``RAM`` available on your machine. If you don't have enough ``RAM`` available, you can lower down the values ``-Xms512m -Xmx4096m``. Consider that with less ``RAM`` available, the performances of your services will be highly impacted. +.. code-block:: shell + + # Create the Logrotate config + sudo tee /etc/logrotate.d/geoserver <