0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-29 00:32:18 +01:00
Commit Graph

10 Commits

Author SHA1 Message Date
Ernie Hershey
4bd50b8f89 SERVER-18749 Fix inconsistent directory name in upstart config 2015-08-26 09:17:55 -04:00
Ernie Hershey
f7675b0a30 SERVER-19509 Update Upstart nproc ulimit to match recommendations 2015-08-19 10:44:51 -04:00
Ernie Hershey
add69c51cf SERVER-18581 Start process with group=mongodb in .deb packages 2015-08-18 15:33:09 -04:00
Nick Stenning
5d4b3fe40c SERVER-10190 Upstart conf: use pidfile, not 'ps'
The default upstart config installed with MongoDB doesn't provide the
`--pidfile` or `--make-pidfile` options to `start-stop-daemon`, which
means it determines whether or not MongoDB is running by inspecting the
process table to see if there are any instances of "mongod" running.

This is a pretty crude mechanism, and we can make it substantially more
reliable (not susceptible to mongod instances running inside LXC
containers or similar) by simply getting start-stop-daemon to write a
pidfile.
2014-06-30 11:46:37 -04:00
Benety Goh
4350bfad7c SERVER-10190 reformat start-stop-daemon command line with newlines 2014-06-30 11:29:24 -04:00
Ernie Hershey
e5da7115af SERVER-9985 Adjust pre-script mkdir commands in upstart config 2014-06-05 11:28:50 -04:00
Idan Kamara
849a83f364 SERVER-9985: chown dirs created by upstart's pre-start stanza
Usually these are created by the the post-install script that runs after installing the package, but if those were rm'ed later on and then created by this script, their permission would be most likely set to root, causing mongod to fail starting.

Signed-off-by: Ernie Hershey <ernie.hershey@mongodb.com>
2014-06-05 10:46:26 -04:00
Ernie Hershey
1beb3d9299 SERVER-7268 Add numactl to upstart script
This is almost identical to the numactl logic in our
Debian init script and similar to the logic in the RPM
init script.
2014-03-10 14:14:40 -04:00
Ernie Hershey
1b4c5d4f2c SERVER-10931 set ulimits in init scripts to match documentation
This sets resource limits across all Linux packages to match our
recommended settings -
http://docs.mongodb.org/manual/reference/ulimit/#recommended-settings
2013-11-19 16:02:08 -05:00
Ernie Hershey
09ffdcc927 SERVER-10871 Change 'mongodb' to 'mongo' to mean the mongod process and service 2013-10-04 13:25:27 -04:00