Httpd PidFile: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=External= * https://httpd.apache.org/docs/current/mod/mpm_common.html#pidfile =Internal= * httpd Persistent Connection Configuration * httpd Configuration#Directives...") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
=Internal= | =Internal= | ||
* [[ | * [[Httpd_Configuration#The_Global_Environment_Configuration|httpd Configuration]] | ||
=Overview= | =Overview= | ||
The PidFile directive sets the file where the server records the process ID of the [[Httpd_Concepts#The_Parent_Process|parent process]]. The file name can be absolute, or otherwise is considered to be relative to [[httpd ServerRoot|ServerRoot]]. The default value is "logs/httpd.pid". | |||
Knowing the PID of the parent process is useful when we need to send Unix signals into the server, which is the recommended way to control its [[Httpd_Concepts#Server_Lifecycle|lifecycle]]. |
Latest revision as of 19:54, 2 January 2017
External
Internal
Overview
The PidFile directive sets the file where the server records the process ID of the parent process. The file name can be absolute, or otherwise is considered to be relative to ServerRoot. The default value is "logs/httpd.pid".
Knowing the PID of the parent process is useful when we need to send Unix signals into the server, which is the recommended way to control its lifecycle.