Httpd PidFile: Difference between revisions
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
=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 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.