Home > Backend Development > PHP Tutorial > php-fpm如何执行完一个请求后立刻结束进程

php-fpm如何执行完一个请求后立刻结束进程

WBOY
Release: 2016-06-06 20:50:41
Original
1682 people have browsed it

fpm会在每个请求结束后还让进程保留一段时间。这个时间在哪设置?

回复内容:

fpm会在每个请求结束后还让进程保留一段时间。这个时间在哪设置?

为什么要立即结束?fpm的作用就是让一个进程可以处理多个请求以提高性能……

如果非要设置的话,可以设置fpm的www.conf里
pm.max_requests = 1

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template