ES leaving java defunct processes



I was wondering if anyone else experienced what I'm experiencing.
I have a VPS with 2GB RAM. At any one time I'm barely using 40% of it. ES works fine for awhile but it creates a lot of child processes that die and are never recollected.

ps -A returns a lot of Java Defunct processes until I kill elasticsearch, (which I usually have to use the kill command to do)

The reason why this is a concern for me is that my VPS container has a threshold numproc limit of 400. My system usually runs with a numproc around 200-250 but with ES, it can run it right to the threshold very quickly which effectively shuts everything down.

These processes aren't using any cpu time or ram, but won't die until the parent process, (ES) does..

Any fix to that?