Details
Description
6 definitions in systemd configuration for debian have each end-of-line comment at https://github.com/mongodb/mongo/commit/906a6f057f87fb4e51c4a698d9d6fe490fb293a2
Systemd does not support an end-of-line comment. so parsing their values failed
I confirmed following result in Ubuntu 16.04.
$ sudo systemctl status mongod.service
|
● mongod.service - High-performance, schema-free document-oriented database
|
Loaded: loaded (/lib/systemd/system/mongod.service; disabled; vendor preset: enabled)
|
Active: active (running) since Sat 2016-10-15 14:02:14 JST; 5h 53min ago
|
Docs: https://docs.mongodb.org/manual
|
Main PID: 2985 (mongod)
|
CGroup: /system.slice/mongod.service
|
└─2985 /usr/bin/mongod --quiet --config /etc/mongod.conf
|
|
Oct 15 19:55:53 tk2-218-18796 systemd[1]: [/lib/systemd/system/mongod.service:10] Failed to parse resource value, ignoring: infinity # file size
|
Oct 15 19:55:53 tk2-218-18796 systemd[1]: [/lib/systemd/system/mongod.service:11] Failed to parse resource value, ignoring: infinity # cpu time
|
Oct 15 19:55:53 tk2-218-18796 systemd[1]: [/lib/systemd/system/mongod.service:12] Failed to parse resource value, ignoring: infinity # virtual memory size
|
Oct 15 19:55:53 tk2-218-18796 systemd[1]: [/lib/systemd/system/mongod.service:13] Failed to parse resource value, ignoring: 64000 # open files
|
Oct 15 19:55:53 tk2-218-18796 systemd[1]: [/lib/systemd/system/mongod.service:14] Failed to parse resource value, ignoring: 64000 # processes/threads
|
Oct 15 19:55:53 tk2-218-18796 systemd[1]: [/lib/systemd/system/mongod.service:15] Maximum tasks value 'infinity # total threads (user+kernel)' invalid. Ignoring.
|
Attachments
Issue Links
- is related to
-
SERVER-26438 systemd rejects service file in debian/ubuntu packages
-
- Closed
-
-
SERVER-27061 Fix RPM systemd comment syntax
-
- Closed
-