concourse / concourse-bosh-release

Concourse BOSH release
Apache License 2.0
28 stars 49 forks source link

Increase systemd TasksMax to prevent "fork rejected by pids controller" errors #152

Closed jpalermo closed 3 years ago

jpalermo commented 3 years ago

We're seeing fork rejected by pids controller happen on workers running many processes. We see this issue discussed in the past: https://github.com/concourse/concourse/issues/480 and https://github.com/concourse/concourse/issues/2296

I feel like maybe this was fixed in the past with some change to garden init files, but now that garden is gone, it's come back?

Would it make sense to add TasksMax=infinity to: https://github.com/concourse/concourse-bosh-release/blob/master/jobs/worker/templates/concourse.service?

Or if we don't want to change it for everybody, expose a new property in the spec file?

jpalermo commented 3 years ago

Looks like this was fixed in https://github.com/concourse/concourse-bosh-release/commit/8d6bfe81582020a45d72e393588953f5415937c0

Just waiting for a new release that includes it.