>>>>> "Tim" == Tim Bunce <Tim.Bunce@stripped> writes:
Tim> safe_mysqld runs mysqld using
Tim> nohup $ledir/mysqld ...
Tim> but on some systems (especially where nohup is the GNU nohup) the
Tim> nohup command runs the requested command using "nice -5"!
Tim> That means the mysqld process runs at a lower-than-default priority.
Tim> Both the FreeBSD and Solaris nohup commands don't have this problem.
Tim> Some linux (all I've checked) do.
Tim> Since nohup can be implemented trivially with a few shell commands
Tim> (and often is) why not move those command into the safe_mysqld script?
I will do this for the next release.
Tim> Or supply a custom mysql_nohup shell script that doesn't use nice.
Tim> Either way the problem needs to be either fixed or well documented.
Tim> Meanwhile, people on platforms where nohup is a shell script that
Tim> uses nice might want to hack their nohup to avoid the problem.
Thanks for the info!