This repository has been archived on 2020-03-24. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
quay/conf/init/doupdatelimits.sh
Joseph Schorr 784a45372d Make the doupdatelimits script optional
Without the `privileged` flag or the proper kernel capability, this command can fail the start of the container. With this change, we still print the error message, but don't fail container start. The downside of this command not running is a lower maximum connection count (128), which should be okay for most of our enterprise customers.
2015-07-01 15:13:36 +03:00

5 lines
No EOL
92 B
Bash
Executable file

#! /bin/bash
set -e
# Update the connection limit
sysctl -w net.core.somaxconn=1024 || true