Re: [dspace-tech] Re: pm2 restarts

2023-08-21 Thread Mark H. Wood
I'm actually relying on PM2 restarts to help manage seemingly limitless memory growth. Front end processes were driving us hard into swap until the OOM killer would harvest Tomcat, then a couple of minutes later Monit would start it again. The memory limit restart seemed to be ineffective, so I

[dspace-tech] Re: pm2 restarts

2023-08-18 Thread DSpace Technical Support
Hi Wally, Based on the error, it sounds to me like PM2 is automatically restarting anytime a process goes over the " --max-memory-restart" value. This is a flag that can be used to tell PM2 to automatically restart anytime memory usage increases. You may want to look more at setting that