The appearance of this box may have to do something with another problem. Every few days DSpace backend just stops, with the following output:
$ tail catalina.out
[2023-10-17 02:35:05] [info] [546663.224s][warning][os,thread] Failed to start the native thread for java.lang.Thread "Connection evictor"
[2023-10-17 02:35:30] [info] [546688.070s][warning][os,thread] Failed to start thread "Unknown thread" - pthread_create failed (EAGAIN) for attributes: stacksize: 1024k, guardsize: 0k, detached.
[2023-10-17 02:35:30] [info] [546688.071s][warning][os,thread] Failed to start thread "Unknown thread" - pthread_create failed (EAGAIN) for attributes: stacksize: 1024k, guardsize: 0k, detached.
[2023-10-17 02:35:30] [info] [546688.072s][warning][os,thread] Failed to start the native thread for java.lang.Thread "Connection evictor"
[2023-10-17 02:35:30] [info] [546688.072s][warning][os,thread] Failed to start thread "Unknown thread" - pthread_create failed (EAGAIN) for attributes: stacksize: 1024k, guardsize: 0k, detached.
[2023-10-17 02:35:30] [info] [546688.072s][warning][os,thread] Failed to start the native thread for java.lang.Thread "Connection evictor"
[2023-10-17 02:35:30] [info] [546688.073s][warning][os,thread] Failed to start the native thread for java.lang.Thread "Connection evictor"
[2023-10-17 02:35:32] [info] [546690.312s][warning][os,thread] Failed to start thread "Unknown thread" - pthread_create failed (EAGAIN) for attributes: stacksize: 1024k, guardsize: 0k, detached.
[2023-10-17 02:35:32] [info] [546690.313s][warning][os,thread] Failed to start the native thread for java.lang.Thread "Connection evictor"
[2023-10-17 02:35:32] [info] [546690.314s][warning][os,thread] Failed to start thread "Unknown thread" - pthread_create failed (EAGAIN) for attributes: stacksize: 1024k, guardsize: 0k, detached.
[2023-10-17 02:35:32] [info] [546690.314s][warning][os,thread] Failed to start the native thread for java.lang.Thread "Connection evictor"
[2023-10-17 02:35:32] [info] [546690.315s][warning][os,thread] Failed to start thread "Unknown thread" - pthread_create failed (EAGAIN) for attributes: stacksize: 1024k, guardsize: 0k, detached.
[2023-10-17 02:39:28] [info] [546926.143s][warning][os,thread] Failed to start the native thread for java.lang.Thread "http-nio-0.0.0.0-8080-exec-499"
[2023-10-17 02:39:28] [info] Exception in thread "http-nio-0.0.0.0-8080-Poller" java.lang.OutOfMemoryError: unable to create native thread: possibly out of memory or process/resource limits reached
[2023-10-17 02:39:28] [info] #011at java.base/java.lang.Thread.start0(Native Method)
[2023-10-17 02:39:28] [info] #011at java.base/java.lang.Thread.start(Thread.java:798)
[2023-10-17 02:39:28] [info] #011at org.apache.tomcat.util.threads.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:984)
[2023-10-17 02:39:28] [info] #011at org.apache.tomcat.util.threads.ThreadPoolExecutor.executeInternal(ThreadPoolExecutor.java:1480)
[2023-10-17 02:39:28] [info] #011at org.apache.tomcat.util.threads.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1402)
[2023-10-17 02:39:28] [info] #011at org.apache.tomcat.util.threads.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1376)
[2023-10-17 02:39:28] [info] #011at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1174)
[2023-10-17 02:39:28] [info] #011at org.apache.tomcat.util.net.NioEndpoint$Poller.processKey(NioEndpoint.java:867)
[2023-10-17 02:39:28] [info] #011at org.apache.tomcat.util.net.NioEndpoint$Poller.run(NioEndpoint.java:834)
[2023-10-17 02:39:28] [info] #011at java.base/java.lang.Thread.run(Thread.java:829)
The server has 24GB RAM, so it cannot be a problem. Ther health status reported by DSpace is okay, as well as the dspace.log output. Any idea where to look?
Thanks in advance,
Milos