linux - 运行 ps -Af 时出现可疑进程
问题描述
如果我在我的 PS 列表上看到这个,谁能解释我该怎么做?!
apache 23687 2388 5 12:40 ? 00:00:02 /usr/sbin/httpd -DFOREGROUND
postfix 23830 1971 0 12:40 ? 00:00:00 cleanup -z -t unix -u
apache 24167 1 0 Jun13 ? 00:00:17 /tmp/wwrr10/wwrr10
apache 24235 1 0 Jun13 ? 00:00:17 /tmp/wwrr/wwrr
apache 24276 1 0 Jun13 ? 00:00:17 /tmp/wwrr20/wwrr20
apache 25509 1 0 Jun11 ? 00:00:30 /tmp/sdvvrtw/sdvvrtw
apache 25546 1 0 Jun11 ? 00:00:30 /tmp/sdvvrtw10/sdvvrtw10
apache 25576 1 0 Jun11 ? 00:00:31 /tmp/sdvvrtw20/sdvvrtw20
apache 29100 1 0 Jun15 ? 00:00:03 /tmp/bgbh/bgbh
apache 29120 1 0 Jun15 ? 00:00:03 /tmp/bgbh10/bgbh10
apache 29140 1 0 Jun15 ? 00:00:03 /tmp/bgbh20/bgbh20
解决方案
您的 Apache 安装可能正在使用 prefork。此 mpm 为每个请求生成一个进程。因此,如果您现在有点负载并且知道某些浏览器发送了多少并发请求,那么该进程列表是很常见的。如果是这种情况,它可能是您的 php 文件中的错误配置,导致它们的行为不正确。您还可以尝试减少 httpd.conf 文件中的客户端数量。
推荐阅读
- javascript - 我的猫鼬集合没有将传递的数据保存到数据库中
- c - C 编程中 Typedef Struct 的使用
- visual-studio-2015 - Visual Studio 2015 在监视窗口中查看数组
- typescript - 打字稿字符串驱动的打字
- r - GPS坐标的`chull`?
- python - 在原始数据部分插入序列化程序时出现错误,Django REST Framework
- azure-iot-hub - 单个 IOT 设备上的多个 MQTT 连接
- c# - Unity/C# Camera Culling Mask Notation
- java - 在使用 ThreeTen-Backport 与 java.time 时,您是否应该完全限定包前缀?
- xml - 将行号添加到 XSL-FO 文档