Node js keep on shutting down after pm2 on DSpace 8.0

28 views
Skip to first unread message

Lewatle Johannes Phaladi

unread,
Sep 15, 2025, 9:19:10 AM (9 days ago) Sep 15
to DSpace Technical Support
Dear DSpace Tech,

On our DSpace 8.0 installation currently when I start pm2 the frontend becomes accessible after few minutes frontend goes down, 502 error appears on web browser. When interacting with central ICT they increased CPU and node js was able to run last week but on this new week the same problem repeats. please advise as to how can we solve this problem or any suggestions we should try.

Regards,
Lewatle 

DSpace Technical Support

unread,
Sep 15, 2025, 5:13:52 PM (8 days ago) Sep 15
to DSpace Technical Support
Hi Lewatle,

You may want to review our "Performance Tuning DSpace" best practices related to the frontend: https://wiki.lyrasis.org/display/DSDOC8x/Performance+Tuning+DSpace   Specifically, make sure that your have "cluster" mode enabled for PM2.  I'd also recommend considering an upgrade to 8.2, as it provides more control over limiting which pages are processed via server-side rendering (SSR) (see the "excludePathPatterns" setting). This often provides much better performance for sites, as most of the CPU time is spent on SSR.

Tim

Lewatle Johannes Phaladi

unread,
Sep 16, 2025, 3:40:27 AM (8 days ago) Sep 16
to DSpace Technical Support
Hello Tim,

Thanks very much, I am following up on your advise and try to also upgrade as indicated.

Regards,
Lewatle 

Reply all
Reply to author
Forward
0 new messages