Summary: | default process limit is too small in /etc/rc.conf from sys-apps/openrc-0.2.3 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mark Tiefenbruck <mark> |
Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Mark Tiefenbruck
2008-04-30 16:00:51 UTC
Firstly, the parameter is commented out by default. Secondly, it says that these are configurations that you can put in specific init scripts configurations and should not have on a global basis. If you uncomment this line in the /etc/rc.conf it will affect your whole system and it shouldn't be done and it's going to hurt people. Hmmm, I don't remember uncommenting it, but I suppose that's possible, since I was going to add "-c unlimited" to it. Maybe I'm going crazy. Anyway, 30 is still too small for somebody who really does want to limit the number of processes for his users. Whether or not the setting is "recommended" is irrelevant: people will still use it as long as it's in the file. It should have a reasonable default. And this setting doesn't really make sense for individual init scripts. It will still have a global effect. Reasonable default is "Read the documentation". The 30 setting is not for a global setting but for a subshell that's launching a daemon. It's sensible that if you launch a daemon that 30 processes in it scope are enough. > Reasonable default is "Read the documentation". I'm a developer. I spend a large amount of time providing support. You can't fool me with that. And for the record, there's no `man openrc', there's no `man rc.conf', and `man ulimit' is less than useful. You have to go into `info bash' and navigate to the bash built-in commands to get any information at all about what this setting does. Or google, of course. > The 30 setting is not for a > global setting but for a subshell that's launching a daemon. It's sensible that > if you launch a daemon that 30 processes in it scope are enough. I think I've demonstrated that isn't the case if the daemon happens to allow user logins. It also wouldn't be enough for apache in many cases. Anyway, this is very easy to change. It's by no means urgent, but I think you should consider this a little bit longer. If you need another excuse to edit the file, there's a typo near the end of that section: # This is mainly used for saying which servies do NOT provide net. |