每天晚上,Web 服务器的 CPU 使用率都会达到 100%,所有网站都停止工作。我检查了服务器日志,在日志中,我收到以下错误 - 并且此过程占用的 CPU 使用率超过 100%,平均负载也增加了。
这是我的问题的完整日志,服务器平均负载达到 100% 后服务器瘫痪。
[cgi:error] [pid 16373] [client yy.yy.yy.yy:5646] AH01215: * Server auth using Basic with user 'ae1973565bbf19a6c79f': /usr/local/cpanel/cgi-sys/ea-php54
[cgi:error] [pid 16373] [client yy.yy.yy.yy:5646] AH01215: * Using Stream ID: 1 (easy handle 0x1dbb460): /usr/local/cpanel/cgi-sys/ea-php54
[cgi:error] [pid 16373] [client yy.yy.yy.yy:5646] AH01215: > PUT /api/v1/customers/154 HTTP/2\r: /usr/local/cpanel/cgi-sys/ea-php54
[cgi:error] [pid 16373] [client yy.yy.yy.yy:5646] AH01215: Host: track.customer.io\r: /usr/local/cpanel/cgi-sys/ea-php54
[cgi:error] [pid 16373] [client yy.yy.yy.yy:5646] AH01215: Authorization: Basic XXXXXXXXXXXXXXXX=\r: /usr/local/cpanel/cgi-sys/ea-php54
[cgi:error] [pid 16373] [client yy.yy.yy.yy:5646] AH01215: Accept: */*\r: /usr/local/cpanel/cgi-sys/ea-php54
[cgi:error] [pid 16373] [client yy.yy.yy.yy:5646] AH01215: Content-Length: 61\r: /usr/local/cpanel/cgi-sys/ea-php54
[cgi:error] [pid 16373] [client yy.yy.yy.yy:5646] AH01215: Content-Type: application/x-www-form-urlencoded\r: /usr/local/cpanel/cgi-sys/ea-php54
[cgi:error] [pid 16373] [client yy.yy.yy.yy:5646] AH01215: \r: /usr/local/cpanel/cgi-sys/ea-php54
[cgi:error] [pid 16373] [client yy.yy.yy.yy:5646] AH01215: * Connection state changed (MAX_CONCURRENT_STREAMS == 100)!: /usr/local/cpanel/cgi-sys/ea-php54
[cgi:error] [pid 16373] [client yy.yy.yy.yy:5646] AH01215: * We are completely uploaded and fine: /usr/local/cpanel/cgi-sys/ea-php54
[cgi:error] [pid 16373] [client yy.yy.yy.yy:5646] AH01215: < HTTP/2 401 \r: /usr/local/cpanel/cgi-sys/ea-php54
cgi:error] [pid 16373] [client yy.yy.yy.yy:5646] AH01215: < content-length: 56\r: /usr/local/cpanel/cgi-sys/ea-php54
[cgi:error] [pid 16373] [client yy.yy.yy.yy:5646] AH01215: < content-type: application/json; charset=utf-8\r: /usr/local/cpanel/cgi-sys/ea-php54
[cgi:error] [pid 16373] [client yy.yy.yy.yy:5646] AH01215: < date: Sat, 15 Jun 2019 22:33:54 GMT\r: /usr/local/cpanel/cgi-sys/ea-php54
[cgi:error] [pid 16373] [client yy.yy.yy.yy:5646] AH01215: < status: 401 Unauthorized\r: /usr/local/cpanel/cgi-sys/ea-php54
[cgi:error] [pid 16373] [client yy.yy.yy.yy:5646] AH01215: * Authentication problem. Ignoring this.: /usr/local/cpanel/cgi-sys/ea-php54
[cgi:error] [pid 16373] [client yy.yy.yy.yy:5646] AH01215: < www-authenticate: Basic realm="Customer.io edge event collection"\r: /usr/local/cpanel/cgi-sys/ea-php54
[cgi:error] [pid 16373] [client yy.yy.yy.yy:5646] AH01215: < via: 1.1 google\r: /usr/local/cpanel/cgi-sys/ea-php54
[cgi:error] [pid 16373] [client yy.yy.yy.yy:5646] AH01215: < alt-svc: clear\r: /usr/local/cpanel/cgi-sys/ea-php54
[cgi:error] [pid 16373] [client yy.yy.yy.yy:5646] AH01215: < \r: /usr/local/cpanel/cgi-sys/ea-php54
[cgi:error] [pid 15569] [client xx.xx.xx.xx:42486] AH01215: * Expire in 9 ms for 1 (transfer 0x20cb460): /usr/local/cpanel/cgi-sys/ea-php54
cgi:error] [pid 15569] [client xx.xx.xx.xx:42486] AH01215: * Expire in 9 ms for 1 (transfer 0x20cb460): /usr/local/cpanel/cgi-sys/ea-php54
[cgi:error] [pid 15569] [client xx.xx.xx.xx:42486] AH01215: * Expire in 16 ms for 1 (transfer 0x20cb460): /usr/local/cpanel/cgi-sys/ea-php54
[cgi:error] [pid 15569] [client xx.xx.xx.xx:42486] AH01215: * Expire in 12 ms for 1 (transfer 0x20cb460): /usr/local/cpanel/cgi-sys/ea-php54
[cgi:error] [pid 15569] [client xx.xx.xx.xx:42486] AH01215: * Expire in 12 ms for 1 (transfer 0x20cb460): /usr/local/cpanel/cgi-sys/ea-php54
[cgi:error] [pid 15569] [client xx.xx.xx.xx:42486] AH01215: * Expire in 16 ms for 1 (transfer 0x20cb460): /usr/local/cpanel/cgi-sys/ea-php54
[cgi:error] [pid 15569] [client xx.xx.xx.xx:42486] AH01215: * Expire in 16 ms for 1 (transfer 0x20cb460): /usr/local/cpanel/cgi-sys/ea-php54
[cgi:error] [pid 15569] [client xx.xx.xx.xx:42486] AH01215: * Expire in 16 ms for 1 (transfer 0x20cb460): /usr/local/cpanel/cgi-sys/ea-php54
[cgi:error] [pid 15569] [client xx.xx.xx.xx:42486] AH01215: * Expire in 32 ms for 1 (transfer 0x20cb460): /usr/local/cpanel/cgi-sys/ea-php54
[cgi:error] [pid 15569] [client xx.xx.xx.xx:42486] AH01215: * Expire in 50 ms for 1 (transfer 0x20cb460): /usr/local/cpanel/cgi-sys/ea-php54
[cgi:error] [pid 15569] [client xx.xx.xx.xx:42486] AH01215: * Expire in 50 ms for 1 (transfer 0x20cb460): /usr/local/cpanel/cgi-sys/ea-php54
[cgi:error] [pid 15569] [client xx.xx.xx.xx:42486] AH01215: * Expire in 64 ms for 1 (transfer 0x20cb460): /usr/local/cpanel/cgi-sys/ea-php54
[cgi:error] [pid 15569] [client xx.xx.xx.xx:42486] AH01215: * Expire in 50 ms for 1 (transfer 0x20cb460): /usr/local/cpanel/cgi-sys/ea-php54
[cgi:error] [pid 15569] [client xx.xx.xx.xx:42486] AH01215: * Expire in 50 ms for 1 (transfer 0x20cb460): /usr/local/cpanel/cgi-sys/ea-php54
[cgi:error] [pid 15569] [client xx.xx.xx.xx:42486] AH01215: * Expire in 64 ms for 1 (transfer 0x20cb460): /usr/local/cpanel/cgi-sys/ea-php54
[cgi:error] [pid 15569] [client xx.xx.xx.xx:42486] AH01215: * Expire in 50 ms for 1 (transfer 0x20cb460): /usr/local/cpanel/cgi-sys/ea-php54
[cgi:error] [pid 15569] [client xx.xx.xx.xx:42486] AH01215: * Expire in 50 ms for 1 (transfer 0x20cb460): /usr/local/cpanel/cgi-sys/ea-php54
[cgi:error] [pid 15569] [client xx.xx.xx.xx:42486] AH01215: * Expire in 50 ms for 1 (transfer 0x20cb460): /usr/local/cpanel/cgi-sys/ea-php54
[cgi:error] [pid 15569] [client xx.xx.xx.xx:42486] AH01215: * Trying 35.227.225.220...: /usr/local/cpanel/cgi-sys/ea-php54
[cgi:error] [pid 15569] [client xx.xx.xx.xx:42486] AH01215: * TCP_NODELAY set: /usr/local/cpanel/cgi-sys/ea-php54
[cgi:error] [pid 15569] [client xx.xx.xx.xx:42486] AH01215: * Expire in 200 ms for 4 (transfer 0x20cb460): /usr/local/cpanel/cgi-sys/ea-php54
[cgi:error] [pid 15569] [client xx.xx.xx.xx:42486] AH01215: * Connected to track.customer.io (35.227.225.220) port 443 (#0): /usr/local/cpanel/cgi-sys/ea-php54
[cgi:error] [pid 15569] [client xx.xx.xx.xx:42486] AH01215: * ALPN, offering h2: /usr/local/cpanel/cgi-sys/ea-php54
[cgi:error] [pid 15569] [client xx.xx.xx.xx:42486] AH01215: * ALPN, offering http/1.1: /usr/local/cpanel/cgi-sys/ea-php54
[cgi:error] [pid 15569] [client xx.xx.xx.xx:42486] AH01215: * Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH: /usr/local/cpanel/cgi-sys/ea-php54
[cgi:error] [pid 15569] [client xx.xx.xx.xx:42486] AH01215: * successfully set certificate verify locations:: /usr/local/cpanel/cgi-sys/ea-php54
[cgi:error] [pid 15569] [client xx.xx.xx.xx:42486] AH01215: * CAfile: /etc/pki/tls/certs/ca-bundle.crt: /usr/local/cpanel/cgi-sys/ea-php54
[cgi:error] [pid 15569] [client xx.xx.xx.xx:42486] AH01215: CApath: none: /usr/local/cpanel/cgi-sys/ea-php54
[cgi:error] [pid 15569] [client xx.xx.xx.xx:42486] AH01215: * SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256: /usr/local/cpanel/cgi-sys/ea-php54
```