Question

Rake task dying in the middle of execution

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.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi mtchllbrrn,

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