
On Fri, 8 Nov 2013, Arjen Lentz <arjen@lentz.com.au> wrote:
Some settings such as ulimit -n (open-files-limit) cannot be done from inside the daemon.
Sure they can, setrlimit(RLIMIT_NOFILE, ... Why do you want to set an open files limit anyway? If a mysqld gets in a state where it opens more files than expected is having the open/pipe/accept call fail going to be the best thing for the system?
Most other daemons fork themselves so the same mechanism for restarting is built in anyway.
No most daemons fork themselves to detach from the controlling terminal, daemon(3) is usually the best way of doing this.
A signal 11 is always a bug, not normal or acceptable. So I trust you reported the backtraces from the errorlog?
I doubt that for a RHEL 4 system which hasn't had all the available updates applied there is anyone who is interested in receiving such bug reports. I'll just make it more of a priority to upgrade the system to a newer distribution. -- My Main Blog http://etbe.coker.com.au/ My Documents Blog http://doc.coker.com.au/