Re: [dspace-tech] PM2 uses a lot of memory and causes automatic Solr shutdown.

2024-01-24 Thread DSpace Technical Support
ult Node 16 heap size >>>> is 2GB (verified with node -p 'v8.getHeapStatistics()'), and, originally, >>>> we were running into Node core dumps due to out-of-memory exceptions. At >>>> that time, I set "max_memory_restart": "1800M&quo

Re: [dspace-tech] PM2 uses a lot of memory and causes automatic Solr shutdown.

2024-01-24 Thread dung le
)'), and, originally, >>> we were running into Node core dumps due to out-of-memory exceptions. At >>> that time, I set "max_memory_restart": "1800M" so that the Node processes >>> would be restarted before a core dump. However, after enabling se

Re: [dspace-tech] PM2 uses a lot of memory and causes automatic Solr shutdown.

2024-01-24 Thread dung le
>> Sean >> >> >> >> *From: *dspac...@googlegroups.com on behalf >> of Javi Rojo Díaz >> *Date: *Monday, October 23, 2023 at 3:34 AM >> *To: *DSpace Technical Support >> *Subject: *Re: [dspace-tech] PM2 uses a lot of memory and causes >&

Re: [dspace-tech] PM2 uses a lot of memory and causes automatic Solr shutdown.

2023-10-24 Thread Javi Rojo Díaz
e dumps stopped and our Node process runtimes > (before restart) changed from roughly 45 minutes to many days. > > -- > > Sean > > > > *From: *dspac...@googlegroups.com on behalf > of Javi Rojo Díaz > *Date: *Monday, October 23, 2023 at 3:34 AM > *To: *DSpace T

Re: [dspace-tech] PM2 uses a lot of memory and causes automatic Solr shutdown.

2023-10-23 Thread Sean Kalynuk
core dumps stopped and our Node process runtimes (before restart) changed from roughly 45 minutes to many days. -- Sean From: dspace-tech@googlegroups.com on behalf of Javi Rojo Díaz Date: Monday, October 23, 2023 at 3:34 AM To: DSpace Technical Support Subject: Re: [dspace-tech] PM2 uses a

Re: [dspace-tech] PM2 uses a lot of memory and causes automatic Solr shutdown.

2023-10-23 Thread Javi Rojo Díaz
Thank you very much for your response! For now, what I've done is to limit the memory usage for each core/node of PM2 cluster to 500MB. So, if I have 8 nodes in the cluster, the maximum memory used by PM2 should be 500MB x 8 nodes = 5GB RAM. This seems like a reasonable memory usage. Since I