質問編集履歴

3

wp-db.phpの内容を追記

2019/02/19 12:47

投稿

yosuke_ir
yosuke_ir

スコア12

test CHANGED
File without changes
test CHANGED
@@ -100,6 +100,18 @@
100
100
 
101
101
  ```
102
102
 
103
+ wp-db.phpの内容
104
+
105
+ ```
106
+
107
+ 1923 if ( ! empty( $this->dbh ) && $this->use_mysqli ) {
108
+
109
+ 1924 $this->result = mysqli_query( $this->dbh, $query );
110
+
111
+
112
+
113
+ ```
114
+
103
115
  error_logに出て来た内容
104
116
 
105
117
  ```[root@ik1-313-16740 httpd]# tail -f error_log

2

エラーログの注釈を追記

2019/02/19 12:47

投稿

yosuke_ir
yosuke_ir

スコア12

test CHANGED
File without changes
test CHANGED
@@ -92,7 +92,7 @@
92
92
 
93
93
 
94
94
 
95
- ssl_error_logに出て来た内容
95
+ ssl_error_logに出て来た内容(一部編集、省略しています)
96
96
 
97
97
  ```
98
98
 

1

wordpressのクエリとエラーログの内容を追記しました。

2019/02/19 12:22

投稿

yosuke_ir
yosuke_ir

スコア12

test CHANGED
File without changes
test CHANGED
@@ -81,3 +81,49 @@
81
81
  以下のような動きをして、その直後にエラーになってしまいました。
82
82
 
83
83
  ![phpMyadminから](3348a37e2b53cf8b26ab60a8c9d26c8f.png)
84
+
85
+
86
+
87
+ ### 調査中の内容
88
+
89
+ ワードプレスで投げているクエリ
90
+
91
+ ![クエリ](ac76da476f7f103635e448ae50def682.png)
92
+
93
+
94
+
95
+ ssl_error_logに出て来た内容
96
+
97
+ ```
98
+
99
+ PHP Warning: mysqli_query(): MySQL server has gone away in /var/www/html/wp-includes/wp-db.php on line 1924, referer: https://xxx.jp/wp-login.php
100
+
101
+ ```
102
+
103
+ error_logに出て来た内容
104
+
105
+ ```[root@ik1-313-16740 httpd]# tail -f error_log
106
+
107
+ [Tue Feb 19 20:40:09.197235 2019] [auth_digest:notice] [pid 1369] AH01757: generating secret for digest authentication ...
108
+
109
+ [Tue Feb 19 20:40:09.198151 2019] [lbmethod_heartbeat:notice] [pid 1369] AH02282: No slotmem from mod_heartmonitor
110
+
111
+ [Tue Feb 19 20:40:09.352513 2019] [mpm_prefork:notice] [pid 1369] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.1.20 configured -- resuming normal operations
112
+
113
+ [Tue Feb 19 20:40:09.352571 2019] [core:notice] [pid 1369] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
114
+
115
+ [Tue Feb 19 20:58:11.618087 2019] [mpm_prefork:notice] [pid 1369] AH00170: caught SIGWINCH, shutting down gracefully
116
+
117
+ [Tue Feb 19 21:00:06.554993 2019] [suexec:notice] [pid 917] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
118
+
119
+ [Tue Feb 19 21:01:27.270616 2019] [auth_digest:notice] [pid 917] AH01757: generating secret for digest authentication ...
120
+
121
+ [Tue Feb 19 21:01:27.271686 2019] [lbmethod_heartbeat:notice] [pid 917] AH02282: No slotmem from mod_heartmonitor
122
+
123
+ [Tue Feb 19 21:01:27.412179 2019] [mpm_prefork:notice] [pid 917] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.1.20 configured -- resuming normal operations
124
+
125
+ [Tue Feb 19 21:01:27.412242 2019] [core:notice] [pid 917] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
126
+
127
+
128
+
129
+ ```