[Fedora-directory-users] init script failure and ulimit
Mike Jackson
mj at sci.fi
Wed Dec 14 17:52:03 UTC 2005
Del wrote:
>
>>> ulimit -n 8192
>>
>>
>>
>> On top of that, you also have to put the same ulimit line in any
>> scripts which call ns-slapd (bak2db, db2bak, bak2ldif, ldif2bak, etc).
>> This "feature" caused me major problems several weeks ago when those
>> scripts failed and left some files with wrong permissions, thus
>> causing nearly impossible to debug write deadlocks.
>>
>> I really hope that this is redesigned in an upcoming release.
>
>
> The ideal thing is if you extend the ulimit in /etc/security/limits.conf,
> put the ulimit command in /etc/profile. Then you don't need to fix any
> scripts.
This is a linux thing, and maybe only a redhat linux thing (I don't
know, because I only use RHEL and FC as far as linux goes). It doesn't
exist on e.g. FreeBSD.
--
mike
More information about the 389-users
mailing list