summaryrefslogtreecommitdiff
path: root/debian/init.d
diff options
context:
space:
mode:
authorErnie Hershey <ernie.hershey@10gen.com>2015-03-30 12:50:25 -0400
committerErnie Hershey <ernie.hershey@10gen.com>2015-03-30 12:50:25 -0400
commit47f76710961fb5be17d92e26fb7452f8223afb9f (patch)
treeef4ce805c5c2d4370655055559851daef5270034 /debian/init.d
parentef19e2624fdda864e33ceb5d88cf7a056e2b76b8 (diff)
downloadmongo-47f76710961fb5be17d92e26fb7452f8223afb9f.tar.gz
SERVER-17780 Update init script process ulimit to match recommendations
Diffstat (limited to 'debian/init.d')
-rw-r--r--debian/init.d4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/init.d b/debian/init.d
index 417f7f2ee79..bc2aacd3caa 100644
--- a/debian/init.d
+++ b/debian/init.d
@@ -133,9 +133,9 @@ start_server() {
# In bash, it's -u
if readlink /proc/$$/exe | grep -q dash
then
- ulimit -p 32000
+ ulimit -p 64000
else
- ulimit -u 32000
+ ulimit -u 64000
fi
# Start the process using the wrapper