Example Analysis of POSIX function and process Test in php
Xiaobian to share with you the POSIX function in php and the sample analysis of process testing, I believe most people still do not know how, so share this article for everyone's reference, I hope you have a lot of harvest after reading this article, let's go to understand it together!
The code is as follows:
reuse
#ps -ax
If you open multiple browser requests at this time, you will find that Apache automatically adds several new processes.
What we found was that we didn't always ask for the same process.
restart Apache
# /usr/local/apache2/bin/apachectl restart
We found Apache reverting back to the default process count.
The above is "POSIX function in php and process test sample analysis" all the content of this article, thank you for reading! I believe that everyone has a certain understanding, hope to share the content to help everyone, if you still want to learn more knowledge, welcome to pay attention to the industry information channel!