Currently davmail.sh leaves the shell (used to run the davmail.sh script) pending in memory for the
whole duration of the davmail java process lifetime.
This can be verified through this ps output:
xxx 19461 1 0 14:49 ? 00:00:00 sh apps/davmail/davmail.sh
xxx 19463 19461 1 14:49 ? 00:00:00 java -cp apps/davmail/davmail.jar::......
This fix is simple - place an "exec" built-in command in front of the java command.
The attached patch solves this issue
Log in to post a comment.