每晚,Web服务器使用100%CPU,所有网站均停止工作。我已经检查了服务器日志,在日志中,我的错误越来越少-这个过程占用了100%以上的CPU使用率,并且平均负载也有所增加。
在服务器平均负载达到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
```