03 2016 档案
摘要:worker_processes : When set to 'auto', which is also the default behavior, Tengine will create the same number of worker processes as your CPUs. worke
阅读全文
摘要:[opcache] ; dll地址 zend_extension=php_opcache.dll ; 开关打开 opcache.enable=1 ; 开启CLI opcache.enable_cli=1 ; 可用内存, 酌情而定, 单位为:Mb opcache.memory_consumption=528 ; Zend Optimizer + 暂存池中字符串的占内存总量.(单位:MB) opca...
阅读全文
摘要:1) 上线对大表的select操作, 因为大表的select 操作, 单次请求的处理时间拉长后,单次请求处理时间拉长后请求堆积, 请求堆积服务器负载上升,服务器负载上升,夯机 2) 依赖第三方服务, 使用第三方服务,但是没有做超时处理, 服务请求超时,
阅读全文
摘要:1) 第三方服务使用时候,不但要做拿不到数据的Plan B, timeout的处理也必须有, 如果没有timeout的处理, 如果第三方服务负载上升, 造成的问题是, 单个请求时间超时, 同时新来的请求不拒绝,连接数瞬间飙升, 服务器负载增加.
阅读全文
摘要:同样的数据rd环境is normal, but in test environment the result of json had been intercepted 稳定定位: nginx指定的磁盘tmp目录没有写权限 client_body_temp fastcgi_temp proxy_tem
阅读全文