another limits.conf question : limit nofiles specifically for a process.xsession. .xinitrc, xmonad, and lightdmHow to mount all partitions at system startupHow to create (via installer script) a task that will install my bash script so it runs on DE startup?delay of startup applications, dropbox specificallyLimit the parallelisation of Upstart?Ubuntu 17.10: "a start job is running for Hold until boot process finishes up (time/no limit)Dual boot question
Do all humans have an identical nucleotide sequence for certain proteins, e.g haemoglobin?
Resume: How to quantify my contributions as a software engineer?
I asked for a graduate student position from a professor. He replied "welcome". What does that mean?
Gravity on an Orbital Ring
What is this unknown executable on my boot volume? Is it Malicious?
Are Democrats more likely to believe Astrology is a science?
Should I leave the first authorship of our paper to the student who did the project whereas I solved it?
A medieval fantasy adventurer lights a torch in a 100% pure oxygen room. What happens?
What was the relationship between Einstein and Minkowski?
Leaving out pronouns in informal conversation
Where to disclose a zero day vulnerability
How can I locate a missing person abroad?
Is there an inconsistency about Natasha Romanoff's middle name in the MCU?
Relocation error, error code (127) after last updates
Can a corpse possessed by a Dybbuk be turned via Turn Undead?
What jurisdiction do Scottish courts have over the Westminster parliament?
Is this WWI movie scene realistic?
What's the biggest organic molecule that could have a smell?
What is my breathable atmosphere composed of?
Do ibuprofen or paracetamol cause hearing loss?
Mean π: Archimedes vs. Gauss - π computation through generalized means
Is it appropriate for a professor to require students to sign a non-disclosure agreement before being taught?
How can I fix a framing mistake so I can drywall?
How to help my 2.5-year-old daughter take her medicine when she refuses to?
another limits.conf question : limit nofiles specifically for a process
.xsession. .xinitrc, xmonad, and lightdmHow to mount all partitions at system startupHow to create (via installer script) a task that will install my bash script so it runs on DE startup?delay of startup applications, dropbox specificallyLimit the parallelisation of Upstart?Ubuntu 17.10: "a start job is running for Hold until boot process finishes up (time/no limit)Dual boot question
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
My /etc/security/limits.conf file looks like this
* soft nofile 1024
* hard nofile 2048
couchdb soft nofile 35000
couchdb hard nofile 35000
root soft nofile 65535
root hard nofile 65535
I want to have a specific limit for my couchdb process, for root and for the rest.
The above does not work.
How is one supposed ot setup limits for a process (which starts automatically on startup) as opposed to a user ?
18.04 startup autostart
add a comment
|
My /etc/security/limits.conf file looks like this
* soft nofile 1024
* hard nofile 2048
couchdb soft nofile 35000
couchdb hard nofile 35000
root soft nofile 65535
root hard nofile 65535
I want to have a specific limit for my couchdb process, for root and for the rest.
The above does not work.
How is one supposed ot setup limits for a process (which starts automatically on startup) as opposed to a user ?
18.04 startup autostart
use "control groups" ( en.wikipedia.org/wiki/Cgroups )?
– Rinzwind
Apr 15 at 9:47
couchdb
must be either auser name
or agroup name
. Did you create either auser
orgroup
forcouchdb
? Please report to@marmayogi
– Marmayogi
Apr 15 at 9:50
I created a group couchdb including the user couchdb in /etc/group and that seemed to have done the trick. thks @Rinzwind. If you want to post as answer i'll validate
– Chapo
Apr 15 at 10:06
add a comment
|
My /etc/security/limits.conf file looks like this
* soft nofile 1024
* hard nofile 2048
couchdb soft nofile 35000
couchdb hard nofile 35000
root soft nofile 65535
root hard nofile 65535
I want to have a specific limit for my couchdb process, for root and for the rest.
The above does not work.
How is one supposed ot setup limits for a process (which starts automatically on startup) as opposed to a user ?
18.04 startup autostart
My /etc/security/limits.conf file looks like this
* soft nofile 1024
* hard nofile 2048
couchdb soft nofile 35000
couchdb hard nofile 35000
root soft nofile 65535
root hard nofile 65535
I want to have a specific limit for my couchdb process, for root and for the rest.
The above does not work.
How is one supposed ot setup limits for a process (which starts automatically on startup) as opposed to a user ?
18.04 startup autostart
18.04 startup autostart
asked Apr 15 at 9:08
ChapoChapo
1112 bronze badges
1112 bronze badges
use "control groups" ( en.wikipedia.org/wiki/Cgroups )?
– Rinzwind
Apr 15 at 9:47
couchdb
must be either auser name
or agroup name
. Did you create either auser
orgroup
forcouchdb
? Please report to@marmayogi
– Marmayogi
Apr 15 at 9:50
I created a group couchdb including the user couchdb in /etc/group and that seemed to have done the trick. thks @Rinzwind. If you want to post as answer i'll validate
– Chapo
Apr 15 at 10:06
add a comment
|
use "control groups" ( en.wikipedia.org/wiki/Cgroups )?
– Rinzwind
Apr 15 at 9:47
couchdb
must be either auser name
or agroup name
. Did you create either auser
orgroup
forcouchdb
? Please report to@marmayogi
– Marmayogi
Apr 15 at 9:50
I created a group couchdb including the user couchdb in /etc/group and that seemed to have done the trick. thks @Rinzwind. If you want to post as answer i'll validate
– Chapo
Apr 15 at 10:06
use "control groups" ( en.wikipedia.org/wiki/Cgroups )?
– Rinzwind
Apr 15 at 9:47
use "control groups" ( en.wikipedia.org/wiki/Cgroups )?
– Rinzwind
Apr 15 at 9:47
couchdb
must be either a user name
or a group name
. Did you create either a user
or group
for couchdb
? Please report to @marmayogi
– Marmayogi
Apr 15 at 9:50
couchdb
must be either a user name
or a group name
. Did you create either a user
or group
for couchdb
? Please report to @marmayogi
– Marmayogi
Apr 15 at 9:50
I created a group couchdb including the user couchdb in /etc/group and that seemed to have done the trick. thks @Rinzwind. If you want to post as answer i'll validate
– Chapo
Apr 15 at 10:06
I created a group couchdb including the user couchdb in /etc/group and that seemed to have done the trick. thks @Rinzwind. If you want to post as answer i'll validate
– Chapo
Apr 15 at 10:06
add a comment
|
1 Answer
1
active
oldest
votes
If it helps anyone, based on the comment from @Rinzwind I added a line in /etc/group
couchdb:x:10000:couchdb
and it did the trick.
add a comment
|
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1134009%2fanother-limits-conf-question-limit-nofiles-specifically-for-a-process%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
If it helps anyone, based on the comment from @Rinzwind I added a line in /etc/group
couchdb:x:10000:couchdb
and it did the trick.
add a comment
|
If it helps anyone, based on the comment from @Rinzwind I added a line in /etc/group
couchdb:x:10000:couchdb
and it did the trick.
add a comment
|
If it helps anyone, based on the comment from @Rinzwind I added a line in /etc/group
couchdb:x:10000:couchdb
and it did the trick.
If it helps anyone, based on the comment from @Rinzwind I added a line in /etc/group
couchdb:x:10000:couchdb
and it did the trick.
answered Apr 15 at 23:28
ChapoChapo
1112 bronze badges
1112 bronze badges
add a comment
|
add a comment
|
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1134009%2fanother-limits-conf-question-limit-nofiles-specifically-for-a-process%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
use "control groups" ( en.wikipedia.org/wiki/Cgroups )?
– Rinzwind
Apr 15 at 9:47
couchdb
must be either auser name
or agroup name
. Did you create either auser
orgroup
forcouchdb
? Please report to@marmayogi
– Marmayogi
Apr 15 at 9:50
I created a group couchdb including the user couchdb in /etc/group and that seemed to have done the trick. thks @Rinzwind. If you want to post as answer i'll validate
– Chapo
Apr 15 at 10:06