溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

zabbix添加Calculated items后保存頁面成空白

發(fā)布時間:2020-07-15 20:07:23 來源:網絡 閱讀:710 作者:自由linux 欄目:web開發(fā)

zabbix添加Calculated items后保存頁面成空白

Nginx報以下錯誤

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"

解決辦法

這個是由于提交頁面后PHP-FPM處理時間過長造成的。需要在php-fpm.conf中設置request_terminate_timeout和php.ini中設置max_execution_time兩個參數的值


設置單個PHP腳本最大執(zhí)行時間

max_execution_time = 300s


設置PHP-FPM工作進程處理單個請求的超時時間

request_terminate_timeout = 600s

重新加載PHP-FPM后就可以保存新增的item了

向AI問一下細節(jié)

免責聲明:本站發(fā)布的內容(圖片、視頻和文字)以原創(chuàng)、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯(lián)系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI