Closed gorille closed 4 years ago
I'am not sure this would be the right place to discuss it, since this is not docker-image container related, it should got to https://github.com/sbraconnier/jodconverter since the implementation to spawn or kill processes is in there
You should also be aware that this is not really production ready, but as stated in the readme, https://github.com/EugenMayer/officeconverter should be - it does the same but it is not build as an example in that regard. Still, the issue you discovered could occur there too, IMHO
After running for a while process start to accumulate inside the docker container. It seems that the openoffice process does not exit properly and survives as defunct
See the process here after around 3 month work:
Log analysis shows that new process are started with PID = previous +2
My understanding is that the app detects the crash and restarts a new process. The issue is that this crash does not kill the old process