Periodically over the last several days – currently about once per day – I’m getting the following error in several of my processes – then they shut down:
WARNING: engine terminating due to swap space shortage
All processes have a default static route with a Generate call to hcitpsmsgkill, so there should be no leaked message handles.
I was watching “top” and noticed several processes that were using relatively large amounts of swap, so I restated them.
That freed up some swap and hard RAM and will buy me some time, but my hard RAM free is headed steadily downhill and it will eventually start to eat up swap again, I’m sure.
90 minutes ago, I had 4GB of RAM available, now I’m below 2.5GB.
Most of the processes using the largest amounts of memory were inbounds that are just raw routing (via pdl-tcpip/tcp_acknak.pdl) to other localhost threads where the actual message manipulations are being done. The only Tcl code used by these inbound/distribution processes is a simple trxid script.
The only significant change I’ve made over the last several days was to change one of my utility SQLite dtabases to use write-ahead logging. I can’t imagine that’s the culprit, but that change is the only one that’s roughly coincident with the onset of this problem.
So, to the question… Have any of you seen any problems with memory leaks in CL6.x?
Any tips/tricks to minimize memory consumption?
Just checking here before I open a case with Infor support.
Thanks!
Jeff Dinsmore
Chesapeake Regional Healthcare