write down,forget
adidas eqt support ultra primeknit vintage white coming soon adidas eqt support ultra boost primeknit adidas eqt support ultra pk vintage white available now adidas eqt support ultra primeknit vintage white sz adidas eqt support ultra boost primeknit adidas eqt adv support primeknit adidas eqt support ultra boost turbo red white adidas eqt support ultra boost turbo red white adidas eqt support ultra boost turbo red adidas eqt support ultra whiteturbo adidas eqt support ultra boost off white more images adidas eqt support ultra boost white tactile green adidas eqt support ultra boost beige adidas eqt support ultra boost beige adidas eqt support refined camo drop adidas eqt support refined camo drop adidas eqt support refined running whitecamo adidas eqt support 93 primeknit og colorway ba7506 adidas eqt running support 93 adidas eqt support 93

php-cgi内存优化

<Category: Linux> 查看评论

php-cgi内存优化

优化前:

修改/usr/local/php/etc下的php-fpm.conf和php.ini文件,去掉不需要的扩展

优化后:

只要一个php-cgi进程占用的内存超过 %1 就把它kill掉

放crontab里面,每5分钟执行一次

htop挺不错,可以很方便对cpu占用率、内存占用率等进行排序,推荐一下

本文来自: php-cgi内存优化