Add calculated items to zabbix and save the page as blank

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.