Problem is solved! It was related to systemd which starts cronjobs and limits max threads/processes to 512 by default. I'm not sure if this is a good setting since one single user/cronjob is able to prevent any other cronjobs from being executed ("(CRON) error (can't fork)")- system-wide. However as soon as you are aware of, it's no problem to change it.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582692 Title: OOM using CRON but not using SHELL under 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cron/+bug/1582692/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs