Question

Rake task dying in the middle of execution

Posted July 3, 2015 2.2k views
Ruby on RailsUbuntuPostgreSQLDokku

I’ve deployed a Rails app to an Ubuntu droplet w/ dokku (installed manually). My app database entries are generated from a couple of .csv files via a rake task. When I run any of these tasks, they end up dying with the following (cryptic) output:

/tmp/bashenv.826794096: line 73: 128 Killed setuidgid “$unprivileged_user” “$@”

Sometimes the task dies immediately, sometimes it will run for a few iterations until it dies before finishing. I don’t have this issue locally, so I think it might have something to do with Digital Ocean. Perhaps my droplet is running out of memory? Not sure, as the output above isn’t super meaningful to me.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Hi mtchllbrrn,

have you managed to solve this problem? I am having the same issue. I would love to read your experience with that.

Submit an Answer