init script failure and ulimit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>> 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.

Some of the system startup scripts won't like it and complain because
they aren't all run as root, and don't all read /etc/profile, and some
happen before the extension in limits.conf, but generally you'll be
happier.

-- 
Del




[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux