![Apache httpd.pid 文件始终包含错误的 pid](https://linux22.com/image/634552/Apache%20httpd.pid%20%E6%96%87%E4%BB%B6%E5%A7%8B%E7%BB%88%E5%8C%85%E5%90%AB%E9%94%99%E8%AF%AF%E7%9A%84%20pid.png)
我们刚刚将 Apache 从 2.2 升级到 2.4。我发现的最初问题之一是 httpd.pid 文件总是错误的。
admin@vm:/etc/apache2$ apachectl start
admin@vm:/etc/apache2$ ps -ef | grep httpd
admin 28601 1 0 09:11 ? 00:00:00 /usr/sbin//httpd -k start
admin 28602 28601 0 09:11 ? 00:00:00 /usr/sbin//httpd -k start
admin 28603 28601 0 09:11 ? 00:00:00 /usr/sbin//httpd -k start
admin 28604 28601 0 09:11 ? 00:00:00 /usr/sbin//httpd -k start
admin 28605 28601 0 09:11 ? 00:00:00 /usr/sbin//httpd -k start
admin 28606 28601 0 09:11 ? 00:00:00 /usr/sbin//httpd -k start
admin 28607 28601 0 09:11 ? 00:00:00 /usr/sbin//httpd -k start
admin 28608 28601 0 09:11 ? 00:00:00 /usr/sbin//httpd -k start
admin 28609 28601 0 09:11 ? 00:00:00 /usr/sbin//httpd -k start
admin 28619 10867 0 09:11 pts/0 00:00:00 grep httpd
admin@vm:/etc/apache2$ cat /var/log/apache2/logs/httpd.pid
6889127571385
知道是什么原因造成的吗?
另外,这可能会导致 Apache 出现任何问题吗?我知道停止 Apache 会失败。但除此之外,这还会导致其他问题吗?