Help needed! Process automatically killed

Hi, I’m trying to run a batch process (Email2Case java script for salesfoce) on dreamhost server. This is the script to pull the emails and generate cases per email in salesforce site.

The batch itself runs successfully every time, however the process seems to be killed automatically 10-20 seconds after the batch processed the emails.

I’m still in test phase, but would like to set it up as cron job eventually to watch the incoming email and generate cases (incidents) on salesforce.

Anyone had same problem? Or any solution/workaround?

I would really appreciate your help on this.


How much memory and cpu is the process using? have you tried nicing it?