Add calculated items to zabbix and save the page as blank
Nginx reports the following error
2014/09/23 10:10:23 [error] 27617#0: *111642 readv() failed (104: Connection reset by peer) while reading upstream, client: xxxxxx, server: xxxxx, request: "POST /disc_prototypes.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "xxxxx", referrer: "http://xxxxxx/disc_prototypes.php?parent_discoveryid=24117&form=Create+item+prototype"
Solution
This is caused by a long PHP-FPM processing time after the page is submitted. The value of the max_execution_time parameter needs to be set in the php-fpm.conf request_terminate_timeout and PHP. ini
Set the maximum execution time of a single PHP script
Max_execution_time = 300 s
Set the time-out for a PHP-FPM worker to process a single request
Request_terminate_timeout = 600 s
After reloading the PHP-FPM, you can save the new item.
This article is from the "Linux SA John" blog, please be sure to keep this source http://john88wang.blog.51cto.com/2165294/1557252
Add calculated items to zabbix and save the page as blank