Copy code The code is as follows:
echo posix_getpid(); //8805
sleep(10);
?>

Reuse
#ps -ax

If you open more browser requests at this time, you will find that Apache has automatically added several new processes

We found that the same process is not always requested

Restart apache
# /usr/local/apache2/bin/apachectl restart
We found that Apache returned to the default number of processes.
http://www.bkjia.com/PHPjc/327274.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/327274.htmlTechArticleCopy the code as follows: ?php echo posix_getpid(); //8805 sleep(10); ? Reuse# ps -ax If you open more browser requests at this time, you will find that Apache automatically adds several new entries...