I keep getting 502 Bad Gateway while trying to update ads in vBulletin. It does not seem to affect any other scripts.
proxy_error_log
var/log/messages
Server Info:
CPU Intel(R) Xeon(R) CPU E5-2650L v3 @ 1.80GHz (2 core(s))
Version Plesk v12.5.30_build1205150826.19 os_CentOS 7
OS CentOS Linux 7.2.1511 (Core)
There is another error which is also mentioned here: https://kb.plesk.com/en/129456
This second error is causing CPU alert level rise to Red and Plesk is sending an automated email alert to me. It goes back to green automatically after a few minutes.
proxy_error_log
Code:
# var/www/vhosts/system/domain.com/logs/proxy_error_log
2016/09/15 17:08:32 [error] 28395#0: *4373194 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: my_ip, server: domain.com, request: "POST /admincp/ad.php?do=quickupdate HTTP/1.1", upstream: "fastcgi://unix:///var/www/vhosts/system/domain.com/php-fpm.sock:", host: "www.domain.com", referrer: "http://www.domain.com/admincp/ad.php"
var/log/messages
Code:
# /var/log/messages
Sep 15 17:08:32 kernel: php-fpm[28089]: segfault at 7ffdbe057ff8 ip 00000000005fdf12 sp 00007ffdbe058000 error 6 in php-fpm[400000+385000]
Server Info:
CPU Intel(R) Xeon(R) CPU E5-2650L v3 @ 1.80GHz (2 core(s))
Version Plesk v12.5.30_build1205150826.19 os_CentOS 7
OS CentOS Linux 7.2.1511 (Core)
There is another error which is also mentioned here: https://kb.plesk.com/en/129456
Code:
# usr/sbin/sw-collectd -T
uc_update: Value too old: name = localhost/df/df-root; value time = 1473958614; last cache update = 1473958614;rrdtool plugin: (rc->last_value = 1473958614) >= (value_time = 1473958614)Filter subsystem: Built-in target `write': Dispatching value to all write plugins failed with status -1.Exiting normally.rrdtool plugin: Shutting down the queue thread. This may take a while.
Code:
# /var/log/messages
sw-collectd: Value too old: name = localhost/df/df-root;
value time = 1473957820;
last cache update = 1473957820;
rrdtool plugin: (rc->last_value = 1473957820) >= (value_time = 1473957820)Filter subsystem: Built-in target `write': Dispatching value to all write plugins failed with status -1.
uc_update: Value too old: name = localhost/df/df-root;
value time = 1473958120;
last cache update = 1473958120;
rrdtool plugin: (rc->last_value = 1473958120) >= (value_time = 1473958120)Filter subsystem: Built-in target `write': Dispatching value to all write plugins failed with status -1.
uc_update: Value too old: name = localhost/df/df-root;
value time = 1473958420;
last cache update = 1473958420;
rrdtool plugin: (rc->last_value = 1473958420) >= (value_time = 1473958420)Filter subsystem: Built-in target `write': Dispatching value to all write plugins failed with status -1.
rrdtool plugin: rrd_update_r (localhost/cpu-0/cpu-idle.rrd) failed: localhost/cpu-0/cpu-idle.rrd: illegal attempt to update using time 1473958420 when last update time is 1473958614 (minimum one second step)rrdtool plugin: rrd_update_r (localhost/cpu-0/cpu-interrupt.rrd) failed: localhost/cpu-0/cpu-interrupt.rrd: illegal attempt to update using time 1473958420 when last update time is 1473958614 (minimum one second step)rrdtool plugin: rrd_update_r (localhost/cpu-0/cpu-softirq.rrd) failed: localhost/cpu-0/cpu-softirq.rrd: illegal attempt to update using time 1473958420 when last update time is 1473958614 (minimum one second step)rrdtool plugin: rrd_update_r (localhost/cpu-0/cpu-steal.rrd) failed: localhost/cpu-0/cpu-steal.rrd: illegal attempt to update using time 1473958420 when last update time is 1473958614 (minimum one second step)rrdtool plugin: rrd_update_r (localhost/cpu-1/cpu-idle.rrd) failed: localhost/cpu-1/cpu-idle.rrd: illegal attempt to update using time 1473958420 when last update time is 1473958614 (minimum one second step)rrdtool plugin: rrd_update_r (localhost/cpu-1/cpu-interrupt.rrd) failed: localhost/cpu-1/cpu-interrupt.rrd: illegal attempt to update using time 1473958420 when last update time is 1473958614 (minimum one second step)rrdtool plugin: rrd_update_r (localhost/cpu-1/cpu-steal.rrd) failed: localhost/cpu-1/cpu-steal.rrd: illegal attempt to update using time 1473958420 when last update time is 1473958614 (minimum one second step)uc_update: Value too old: name = localhost/df/df-root;
value time = 1473958720;
last cache update = 1473958720;
rrdtool plugin: (rc->last_value = 1473958720) >= (value_time = 1473958720)Filter subsystem: Built-in target `write': Dispatching value to all write plugins failed with status -1.
rrdtool plugin: rrd_update_r (localhost/interface/if_octets-eth0.rrd) failed: localhost/interface/if_octets-eth0.rrd: illegal attempt to update using time 1473958420 when last update time is 1473958614 (minimum one second step)rrdtool plugin: rrd_update_r (localhost/interface/if_errors-eth0.rrd) failed: localhost/interface/if_errors-eth0.rrd: illegal attempt to update using time 1473958420 when last update time is 1473958614 (minimum one second step)rrdtool plugin: rrd_update_r (localhost/interface/if_octets-eth1.rrd) failed: localhost/interface/if_octets-eth1.rrd: illegal attempt to update using time 1473958420 when last update time is 1473958614 (minimum one second step)rrdtool plugin: rrd_update_r (localhost/interface/if_packets-eth1.rrd) failed: localhost/interface/if_packets-eth1.rrd: illegal attempt to update using time 1473958420 when last update time is 1473958614 (minimum one second step)rrdtool plugin: rrd_update_r (localhost/interface/if_octets-lo.rrd) failed: localhost/interface/if_octets-lo.rrd: illegal attempt to update using time 1473958420 when last update time is 1473958614 (minimum one second step)rrdtool plugin: rrd_update_r (localhost/interface/if_errors-lo.rrd) failed: localhost/interface/if_errors-lo.rrd: illegal attempt to update using time 1473958420 when last update time is 1473958614 (minimum one second step)rrdtool plugin: rrd_update_r (localhost/memory/memory-used.rrd) failed: localhost/memory/memory-used.rrd: illegal attempt to update using time 1473958420 when last update time is 1473958614 (minimum one second step)rrdtool plugin: rrd_update_r (localhost/memory/memory-buffered.rrd) failed: localhost/memory/memory-buffered.rrd: illegal attempt to update using time 1473958420 when last update time is 1473958614 (minimum one second step)rrdtool plugin: rrd_update_r (localhost/memory/memory-free.rrd) failed: localhost/memory/memory-free.rrd: illegal attempt to update using time 1473958420 when last update time is 1473958614 (minimum one second step)rrdtool plugin: rrd_update_r (localhost/swap/swap-free.rrd) failed: localhost/swap/swap-free.rrd: illegal attempt to update using time 1473958420 when last update time is 1473958614 (minimum one second step)rrdtool plugin: rrd_update_r (localhost/swap/swap-cached.rrd) failed: localhost/swap/swap-cached.rrd: illegal attempt to update using time 1473958420 when last update time is 1473958614 (minimum one second step)rrdtool plugin: rrd_update_r (localhost/swap/swap_io-out.rrd) failed: localhost/swap/swap_io-out.rrd: illegal attempt to update using time 1473958420 when last update time is 1473958614 (minimum one second step)rrdtool plugin: rrd_update_r (localhost/processes/ps_state-sleeping.rrd) failed: localhost/processes/ps_state-sleeping.rrd: illegal attempt to update using time 1473958420 when last update time is 1473958614 (minimum one second step)rrdtool plugin: rrd_update_r (localhost/processes-Web/ps_cputime.rrd) failed: localhost/processes-Web/ps_cputime.rrd: illegal attempt to update using time 1473958420 when last update time is 1473958614 (minimum one second step)rrdtool plugin: rrd_update_r (localhost/processes-Web/ps_pagefaults.rrd) failed: localhost/processes-Web/ps_pagefaults.rrd: illegal attempt to update using time 1473958420 when last update time is 1473958614 (minimum one second step)rrdtool plugin: rrd_update_r (localhost/processes-Web/ps_disk_ops.rrd) failed: localhost/processes-Web/ps_disk_ops.rrd: illegal attempt to update using time 1473958420 when last update time is 1473958614 (minimum one second step)rrdtool plugin: rrd_update_r (localhost/processes-WebProxy/ps_stacksize.rrd) failed: localhost/processes-WebProxy/ps_stacksize.rrd: illegal attempt to update using time 1473958420 when last update time is 1473958614 (minimum one second step)rrdtool plugin: rrd_update_r (localhost/processes-WebProxy/ps_cputime.rrd) failed: localhost/processes-WebProxy/ps_cputime.rrd: illegal attempt to update using time 1473958420 when last update time is 1473958614 (minimum one second step)rrdtool plugin: rrd_update_r (localhost/processes-WebProxy/ps_disk_ops.rrd) failed: localhost/processes-WebProxy/ps_disk_ops.rrd: illegal attempt to update using time 1473958420 when last update time is 1473958614 (minimum one second step)rrdtool plugin: rrd_update_r (localhost/processes-Mail/ps_count.rrd) failed: localhost/processes-Mail/ps_count.rrd: illegal attempt to update using time 1473958420 when last update time is 1473958614 (minimum one second step)rrdtool plugin: rrd_update_r (localhost/processes-Mail/ps_pagefaults.rrd) failed: localhost/processes-Mail/ps_pagefaults.rrd: illegal attempt to update using time 1473958420 when last update time is 1473958614 (minimum one second step)rrdtool plugin: rrd_update_r (localhost/processes-Mail/ps_disk_octets.rrd) failed: localhost/processes-Mail/ps_disk_octets.rrd: illegal attempt to update using time 1473958420 when last update time is 1473958614 (minimum one second step)rrdtool plugin: rrd_update_r (localhost/processes-MySql/ps_count.rrd) failed: localhost/processes-MySql/ps_count.rrd: illegal attempt to update using time 1473958420 when last update time is 1473958614 (minimum one second step)rrdtool plugin: rrd_update_r (localhost/processes-MySql/ps_pagefaults.rrd) failed: localhost/processes-MySql/ps_pagefaults.rrd: illegal attempt to update using time 1473958420 when last update time is 1473958614 (minimum one second step)rrdtool plugin: rrd_update_r (localhost/processes-MySql/ps_disk_octets.rrd) failed: localhost/processes-MySql/ps_disk_octets.rrd:
This second error is causing CPU alert level rise to Red and Plesk is sending an automated email alert to me. It goes back to green automatically after a few minutes.