summaryrefslogtreecommitdiff
path: root/rpm
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 /rpm
parentef19e2624fdda864e33ceb5d88cf7a056e2b76b8 (diff)
downloadmongo-47f76710961fb5be17d92e26fb7452f8223afb9f.tar.gz
SERVER-17780 Update init script process ulimit to match recommendations
Diffstat (limited to 'rpm')
-rwxr-xr-xrpm/init.d-mongod2
-rw-r--r--rpm/init.d-mongod.suse2
2 files changed, 2 insertions, 2 deletions
diff --git a/rpm/init.d-mongod b/rpm/init.d-mongod
index 54308cccc0b..aed7793d074 100755
--- a/rpm/init.d-mongod
+++ b/rpm/init.d-mongod
@@ -57,7 +57,7 @@ start()
ulimit -v unlimited
ulimit -n 64000
ulimit -m unlimited
- ulimit -u 32000
+ ulimit -u 64000
echo -n $"Starting mongod: "
daemon --user "$MONGO_USER" --check $mongod "$NUMACTL $mongod $OPTIONS >/dev/null 2>&1"
diff --git a/rpm/init.d-mongod.suse b/rpm/init.d-mongod.suse
index 746177c85d9..b2c7eb20db5 100644
--- a/rpm/init.d-mongod.suse
+++ b/rpm/init.d-mongod.suse
@@ -62,7 +62,7 @@ start()
ulimit -v unlimited
ulimit -n 64000
ulimit -m unlimited
- ulimit -u 32000
+ ulimit -u 64000
echo -n "Starting mongod: "
$NUMACTL /sbin/start_daemon -u "$MONGO_USER" -p "$PIDFILEPATH" $mongod $OPTIONS >/dev/null 2>&1