• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

Issue kernel segfaults php-fpm and uc_update errors causing CPU red alert

iA001

New Pleskian
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
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.
 
var/log/httpd/error_log
Code:
# tail -20 var/log/httpd/error_log

[Thu Sep 15 16:26:05.018363 2016] [ssl:warn] [pid 28229:tid 140638628501568] AH01909: RSA certificate configured for default-server_IP:443 does NOT include an ID which matches the server name
[Thu Sep 15 16:26:05.018924 2016] [ssl:warn] [pid 28229:tid 140638628501568] AH02292: Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Thu Sep 15 16:26:05.018975 2016] [jk:warn] [pid 28229:tid 140638628501568] No JkLogFile defined in httpd.conf. Using default /etc/httpd/logs/mod_jk.log
[Thu Sep 15 16:26:05.019024 2016] [jk:warn] [pid 28229:tid 140638628501568] No JkShmFile defined in httpd.conf. Using default /etc/httpd/logs/jk-runtime-status
[Thu Sep 15 16:26:05.066847 2016] [auth_digest:notice] [pid 28229:tid 140638628501568] AH01757: generating secret for digest authentication ...
[Thu Sep 15 16:26:05.067589 2016] [lbmethod_heartbeat:notice] [pid 28229:tid 140638628501568] AH02282: No slotmem from mod_heartmonitor
[Thu Sep 15 16:26:05.069813 2016] [ssl:warn] [pid 28229:tid 140638628501568] AH01909: RSA certificate configured for roundcube.webmail:443 does NOT include an ID which matches the server name
[Thu Sep 15 16:26:05.070052 2016] [ssl:warn] [pid 28229:tid 140638628501568] AH01909: RSA certificate configured for roundcube.webmail:443 does NOT include an ID which matches the server name
[Thu Sep 15 16:26:05.070252 2016] [ssl:warn] [pid 28229:tid 140638628501568] AH01909: RSA certificate configured for horde.webmail:443 does NOT include an ID which matches the server name
[Thu Sep 15 16:26:05.070491 2016] [ssl:warn] [pid 28229:tid 140638628501568] AH01909: RSA certificate configured for horde.webmail:443 does NOT include an ID which matches the server name
[Thu Sep 15 16:26:05.070750 2016] [ssl:warn] [pid 28229:tid 140638628501568] AH01909: RSA certificate configured for lists:443 does NOT include an ID which matches the server name
[Thu Sep 15 16:26:05.070967 2016] [ssl:warn] [pid 28229:tid 140638628501568] AH01909: RSA certificate configured for default-10_10_0_5:443 does NOT include an ID which matches the server name
[Thu Sep 15 16:26:05.071187 2016] [ssl:warn] [pid 28229:tid 140638628501568] AH01909: RSA certificate configured for default-server_IP:443 does NOT include an ID which matches the server name
[Thu Sep 15 16:26:05.072107 2016] [ssl:warn] [pid 28229:tid 140638628501568] AH02292: Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Thu Sep 15 16:26:05.072814 2016] [:notice] [pid 28229:tid 140638628501568] mod_bw : Memory Allocated 0 bytes (each conf takes 48 bytes)
[Thu Sep 15 16:26:05.072830 2016] [:notice] [pid 28229:tid 140638628501568] mod_bw : Version 0.92 - Initialized [0 Confs]
[Thu Sep 15 16:26:05.074327 2016] [jk:warn] [pid 28229:tid 140638628501568] No JkLogFile defined in httpd.conf. Using default /etc/httpd/logs/mod_jk.log
[Thu Sep 15 16:26:05.074481 2016] [jk:warn] [pid 28229:tid 140638628501568] No JkShmFile defined in httpd.conf. Using default /etc/httpd/logs/jk-runtime-status
[Thu Sep 15 16:26:05.079696 2016] [mpm_event:notice] [pid 28229:tid 140638628501568] AH00489: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips mod_fcgid/2.3.9 mod_jk/1.2.40 mod_perl/2.0.9-dev Perl/v5.16.3 configured -- resuming normal operations
[Thu Sep 15 16:26:05.079728 2016] [core:notice] [pid 28229:tid 140638628501568] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
 
There are more errors in var/www/vhosts/system/domain.com/logs/proxy_error_log

Code:
2016/09/16 01:53:12 [error] 28395#0: *4555892 FastCGI sent in stderr: "PHP message: PHP Warning:  file_exists(): open_basedir restriction in effect. File(index.php/t-16172.html) is not within the allowed path(s): (/var/www/vhosts/domain.com/:/tmp/) in /var/www/vhosts/domain.com/public_html/dbseo.php on line 370" while reading response header from upstream, client: client_IP, server: domain.com, request: "GET /boards/archive/index.php/t-16172.html HTTP/1.0", upstream: "fastcgi://unix:///var/www/vhosts/system/domain.com/php-fpm.sock:", host: "www.domain.com", referrer: "http://www.domain.com/boards/archive/index.php/t-16172.html"
 
Back
Top