TheHive-Project / TheHive

TheHive: a Scalable, Open Source and Free Security Incident Response Platform
https://thehive-project.org
GNU Affero General Public License v3.0
3.39k stars 618 forks source link

GC overhead limit exceeded #2361

Open mohomedarfath opened 2 years ago

mohomedarfath commented 2 years ago

Request Type

Bug

Work Environment

Question Answer
OS version (server) AWS Linux
Dedicated RAM 8 GB
vCPU 4 / 8 / 16 / 32
TheHive version 4.x,
Package Type RPM
Database Cassandra
Index type Lucene
Attachments storage Local,

Problem Description

the Hive is crashing with "GC overhead limit exceeded" error

image

any one know why this is happening and how to fix this ??

priamai commented 2 years ago

I am old Java developer, typically I would solve this by calling the garbage collector of the JVM with a periodic scheduler. But of course is an indication of memory management issues. What is your memory setting for the JVM ? When does it occur e.g. after a few hours or days of starting the Hive ?