Lawson support has confirmed there is an issue leaving file descriptors open when the outbound save files are opened and the existing files are zero length. It only seems to happen on the idx files as of Rev3 but doing save cycles and subsequently closing and opening a thread will cause the number of used files by the engine process to grow.
When it hits 1024 open files (confirmed using lsof), the process will start to throw errors about “too many files open” and will panic soon after. I verified this by repeatedly recreating the conditions that cause file handles to be left open and actively monitoring the process at the same time.
Our soft and hard open file limits for the hci user and system are set to 20,000.
My question is, why does the engine process seem to ‘ignore’ the user limits for open files?
Any thoughts would be appreciated.