DAS sometimes stop the function.
Customer need to call us about the trouble.
The DAS process is running but "das-nohup.out" shows "Out of memory".
Jan 20, 2025 1:16:51 PM sun.rmi.transport.tcp.TCPTransport$AcceptLoop executeAcceptLoop
WARNING: RMI TCP Accept-35002: accept loop for ServerSocket[addr=localhost/127.0.0.1,localport=35002] throws
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
Article Number 000011038
Title CPACS: Using DAS Monitor Script to help improve DAS Performance
KM URL https://gehealthcare-svc.lightning.force.com/lightning/articles/HCIT_Knowledge_Article/DAS-Monitor-Script
We have das_mon.sh but it can not use on CPACS7.0 because those are have the similar function.
**Not intended for CPACS 6.0 SP10 or greater versions, which have a DAS Monitor-like feature built in.
In addition, das_mon.sh is check the Out of memory issue but it catches "Out of Memory", not "OutOfMemory".
# Out of Memory Check
echo "`date` - Checking das-nohup for memory alerts..." | tee -a $LOGFILE
if [ -f /flamingo/log/das/das-nohup.out ];then
if [ `tail -10 /flamingo/log/das/das-nohup.out | grep "Out of Memory" | wc -l` -gt 0 ];then
echo "`date` >>>ALERT 128: The das-nohup.out is showing Out of Memory messages!" | tee -a $LOGFILE
SaveDasLog
das_restart
BOUNCE_TRIG=$((BOUNCE_TRIG+1))
chk_proc
else
echo "`date` - No [Out of Memory errors] found in das-nohup.out." | tee -a $LOGFILE
fi
else
echo "`date` >>>INFO 129: The das-nohup.out is not found!" | tee -a $LOGFILE
exit
fi
I don't know the detail of "a DAS Monitor-like feature built in".
However I hope to add DAS restarting function when it catches "Out of Memory" or "OutOfMemory".