Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/apache/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
centos 7.3中的apache httpd占用更多的cpu和内存_Apache_Centos - Fatal编程技术网

centos 7.3中的apache httpd占用更多的cpu和内存

centos 7.3中的apache httpd占用更多的cpu和内存,apache,centos,Apache,Centos,我注意到httpd占用了更多的cpu和内存。几乎交换和RAM留下的内存非常少。下面是top命令的详细信息 MiB Mem : 7821.1 total, 165.8 free, 7536.7 used, 118.5 buff/cache MiB Swap: 8192.0 total, 431.8 free, 7760.2 used. 89.6 avail Mem 5077 apache 20 0 4374824 1.2g

我注意到httpd占用了更多的cpu和内存。几乎交换和RAM留下的内存非常少。下面是top命令的详细信息

  MiB Mem :   7821.1 total,    165.8 free,   7536.7 used,    118.5 buff/cache
  MiB Swap:   8192.0 total,    431.8 free,   7760.2 used.     89.6 avail Mem

  5077 apache    20   0 4374824   1.2g   5816 S  68.1 15.9   4:36.62 httpd
  4081 apache    20   0 4342892   1.2g   5564 S  48.8 15.3   4:30.83 httpd
如果重新启动httpd,我会看到更多的内存存在,但随着时间的推移,可用内存会变少。Apache httpd版本:2.4.41/CentOS 7.3 感谢您的帮助