Skip to content

Geonetwork hangs after a weekend #9045

@JaimeCRDAM

Description

@JaimeCRDAM

Hi, im running geonetwork 4.2.3 in a tomcat 9.0 with java 1.8, elasticsearch 7.something (the highest version that still supports java 8).

The issue at hand is that after a weekend, on the very first request to geonetwork, it hangs, doesnt load for like 15 minutes, however, if you open a second tab and request geonetwork again, it loads, perfectly without any issue,

i attached a profiler to check what was happening, ram was spiking and being GC quite quickly, cpu didnt really spike past 10% while this was happening and the only threads that were putting CPU time were the ones listening and catalina's utility.

im a bit lost here, is there a way to avoid this cold start apart from making a script that calls geonetwork every 2 hours or so.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions