Voting

: zero minus zero?
(Example: nine)

The Note You're Voting On

kevin AT REMOVETHIS mrkmg.com
12 years ago
On a Linux system, running apache2 as a non-privileged user you can not increase the niceness of the process after decreasing it. Also, you can not use the apache_child_ terminate either. I found the following does work though:

<?php

//decrease niceness
proc_nice(19);

//kill child process to "reset" niceness
posix_kill( getmypid(), 28 );

?>

<< Back to user notes page

To Top