in reply to Re^3: which module - linux/processin thread which module - linux/process
Maybe the shell script you are calling is forking more processes and not waiting for them.