The Logrotate program is a log file management tool. Used to split log files, delete old log files, and create new log files that play a "dump" role. can save disk space. The following is a logrotate log rotation operation to do a comb record:
1
1, Logrotate IntroductionLog files contain useful information about the events that occur in the system, which are often used during troubleshooting or during system performance analysis. For busy servers, the log file size grows extremely fast and
The previous article has the salt installation process and the Salt module, not clear can go to look, this article mainly realizes nginx+php uses the logrotate to carry on the cutting to the log, then simply uses under the Salt this tool;
The
On several offline servers that are not very busy, the number of PHP-FPM processes is found to be more than 500, and some processes run for several months.
The following troubleshooting was performed to determine if there is a problem with the
[Switch] what are CGI, FastCGI, PHP-CGI, PHP-FPM, and Spawn-FCGI? Reprinted from:
Http://hi.baidu.com/fxchby/blog/item/c041ef0d6c510bf3aa6457dd.html
Http://www.mike.org.cn/articles/what-is-cgi-fastcgi-php-fpm-spawn-fcgi/
What is CGI?
CGI is
Comparison of CGI, FastCGI, php-CGI, PHP-FPM, and Spawn-FCGI in PHP environment configuration ?. What is CGICGI? it is a tool called "CommonGatewayInterface". the HTTP server is used to "talk" with programs on your or other machines. The program
PHP-fpm has been finalized since php 5.4 RC2 and is no longer labeled as EXPERIMENTAL (EXPERIMENTAL stuff) [2-3] By the php team.Compared with Spawn-FCGI, PHP-FPM has better control over CPU and memory, and the former is easy to crash and must be
What are CGI, FastCGI, PHP-CGI, PHP-FPM, and Spawn-FCGI? In the php runtime environment configuration, which one is more suitable for websites.
What are CGI, FastCGI, PHP-CGI, PHP-FPM, and Spawn-FCGI? In the php runtime environment configuration,
I recently investigated the PHP-CGI configuration and found that the online articles are really just for example. I don't know how to make the web server run according to their configuration method.
The Research on PHP-CGI mainly aims to understand
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.