[COLOR=#ff0000][SIZE=4]** แก้อาการค้างได้แล้วครับ ผม build ใหม่ เอา php-fpm ออกตอนนี้หายค้างเลย งง แต่อยากรู้ว่าเกิดจากอะไร ต่อไปจะได้หาทางแก้ไขและใช้ php-fpm ได้ครับ
[/SIZE][/COLOR]
เพิ่งเคยเจออาการแบบนี้ครับ ขอเล่าตั้งแต่เมื่อก่อนตอนใช้เครื่องเซิฟเวอร์เก่า ใช้ apache + memcache + php v.5.4 + mysqld ของ Directadmin Custombuild1.2 ใช้งานได้ตามปกติมาตลอด แต่พอย้ายมาเซิฟเวอร์ใหม่ เปลี่ยนมาใช้เป็น apache + php-fpm56 + php v.5.6 + mysqld ลงอัตโนมัติตามที่ DA มันแนะนำ Custombuild2.0 เจอปัญหา process apache + php-fpm เต็มจนค้าง ก็เลยลองจูน mysqld ไฟล์ my.cnf ค่าเดิมเหมือนแต่ก่อน คนก็เข้าประมาณเท่าเดิม แต่พอจูน mysqld กลับ apache + php-fpm วิ่งปกติ แต่ mysqld ค้าง แทนซะงั้นครับ แต่พอ Restart Service ก็ใช้ได้เหมือนเดิมตามปกติ แต่พออีก 1 วันถัดมาก็จะเป็นอาการเดิมอีกครับ
งงเลยไม่เคยเจอแบบนี้มาก่อน ลองจูนเพิ่ม ยิ่งค้างเร็วกว่าเดิม :189bbdde:
ขอถามผู้รู้หน่อยหน่ะครับ ขอบคุณล่วงหน้าครับ TT___TT
แคปรูปช่วงที่ค้าง
directadmin service monitor
apache status
Error log
[Tue Jan 19 00:10:05.373484 2016] [core:warn] [pid 21303:tid 139955457517504] AH00045: child process 6332 still did not exit, sending a SIGTERM
[Tue Jan 19 00:10:07.375460 2016] [core:warn] [pid 21303:tid 139955457517504] AH00045: child process 6332 still did not exit, sending a SIGTERM
[Tue Jan 19 00:10:09.377744 2016] [core:warn] [pid 21303:tid 139955457517504] AH00045: child process 6332 still did not exit, sending a SIGTERM
[Tue Jan 19 00:10:11.380047 2016] [mpm_event:notice] [pid 21303:tid 139955457517504] AH00494: SIGHUP received. Attempting to restart
[Tue Jan 19 00:10:11.396304 2016] [auth_digest:notice] [pid 21303:tid 139955457517504] AH01757: generating secret for digest authentication …
[Tue Jan 19 00:10:12.006713 2016] [ssl:warn] [pid 21303:tid 139955457517504] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Jan 19 00:10:12.006966 2016] [lbmethod_heartbeat:notice] [pid 21303:tid 139955457517504] AH02282: No slotmem from mod_heartmonitor
[Tue Jan 19 00:10:12.015644 2016] [mpm_event:notice] [pid 21303:tid 139955457517504] AH00489: Apache/2.4.18 (Unix) OpenSSL/1.0.1e-fips configured – resuming normal operations
[Tue Jan 19 00:10:12.015707 2016] [core:notice] [pid 21303:tid 139955457517504] AH00094: Command line: ‘/usr/sbin/httpd -D SSL’
[Tue Jan 19 00:11:10.004955 2016] [ssl:warn] [pid 18895:tid 139626474739648] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Jan 19 00:11:10.005239 2016] [suexec:notice] [pid 18895:tid 139626474739648] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Jan 19 00:11:10.019353 2016] [auth_digest:notice] [pid 18896:tid 139626474739648] AH01757: generating secret for digest authentication …
[Tue Jan 19 00:11:11.005905 2016] [ssl:warn] [pid 18896:tid 139626474739648] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Jan 19 00:11:11.006162 2016] [lbmethod_heartbeat:notice] [pid 18896:tid 139626474739648] AH02282: No slotmem from mod_heartmonitor
[Tue Jan 19 00:11:11.013258 2016] [mpm_event:notice] [pid 18896:tid 139626474739648] AH00489: Apache/2.4.18 (Unix) OpenSSL/1.0.1e-fips configured – resuming normal operations
[Tue Jan 19 00:11:11.013356 2016] [core:notice] [pid 18896:tid 139626474739648] AH00094: Command line: ‘/usr/sbin/httpd -D SSL’
[Tue Jan 19 01:46:28.335336 2016] [mpm_event:notice] [pid 18896:tid 139626474739648] AH00491: caught SIGTERM, shutting down
[Tue Jan 19 01:46:29.008033 2016] [ssl:warn] [pid 1722:tid 139936968148928] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Jan 19 01:46:29.008465 2016] [suexec:notice] [pid 1722:tid 139936968148928] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Jan 19 01:46:29.026792 2016] [auth_digest:notice] [pid 1723:tid 139936968148928] AH01757: generating secret for digest authentication …
[Tue Jan 19 01:46:30.008222 2016] [ssl:warn] [pid 1723:tid 139936968148928] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Jan 19 01:46:30.008592 2016] [lbmethod_heartbeat:notice] [pid 1723:tid 139936968148928] AH02282: No slotmem from mod_heartmonitor
[Tue Jan 19 01:46:30.020054 2016] [mpm_event:notice] [pid 1723:tid 139936968148928] AH00489: Apache/2.4.18 (Unix) OpenSSL/1.0.1e-fips configured – resuming normal operations
[Tue Jan 19 01:46:30.020214 2016] [core:notice] [pid 1723:tid 139936968148928] AH00094: Command line: ‘/usr/sbin/httpd -D SSL’
[Tue Jan 19 01:48:47.008038 2016] [ssl:warn] [pid 2337:tid 140075516348352] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Jan 19 01:48:47.008494 2016] [suexec:notice] [pid 2337:tid 140075516348352] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Jan 19 01:48:47.026974 2016] [auth_digest:notice] [pid 2338:tid 140075516348352] AH01757: generating secret for digest authentication …
[Tue Jan 19 01:48:48.008415 2016] [ssl:warn] [pid 2338:tid 140075516348352] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Jan 19 01:48:48.008790 2016] [lbmethod_heartbeat:notice] [pid 2338:tid 140075516348352] AH02282: No slotmem from mod_heartmonitor
[Tue Jan 19 01:48:48.018932 2016] [mpm_event:notice] [pid 2338:tid 140075516348352] AH00489: Apache/2.4.18 (Unix) OpenSSL/1.0.1e-fips configured – resuming normal operations
[Tue Jan 19 01:48:48.019072 2016] [core:notice] [pid 2338:tid 140075516348352] AH00094: Command line: ‘/usr/sbin/httpd -D SSL’
[Tue Jan 19 06:37:59.603467 2016] [core:error] [pid 26767:tid 140075448096512] [client 89.190.51.21:44190] AH00126: Invalid URI in request GET HTTP/1.1 HTTP/1.1
[Tue Jan 19 06:38:00.100010 2016] [cgi:error] [pid 26767:tid 140075220293376] [client 89.190.51.21:44201] AH02811: script not found or unable to stat: /var/www/cgi-bin/php4
[Tue Jan 19 06:38:00.589427 2016] [cgi:error] [pid 31411:tid 140074989516544] [client 89.190.51.21:44218] AH02811: script not found or unable to stat: /var/www/cgi-bin/php5
[Tue Jan 19 06:38:01.581461 2016] [cgi:error] [pid 26767:tid 140074832168704] [client 89.190.51.21:44252] AH02811: script not found or unable to stat: /var/www/html/index.cgi
[Tue Jan 19 06:38:02.087101 2016] [cgi:error] [pid 31411:tid 140075010496256] [client 89.190.51.21:44259] AH02811: script not found or unable to stat: /var/www/cgi-bin/php
[Tue Jan 19 06:38:02.589371 2016] [cgi:error] [pid 31411:tid 140075325191936] [client 89.190.51.21:44271] AH02811: script not found or unable to stat: /var/www/cgi-bin/php5-cli
[Tue Jan 19 06:38:04.579380 2016] [cgi:error] [pid 31411:tid 140074769229568] [client 89.190.51.21:44328] AH02811: script not found or unable to stat: /var/www/cgi-bin/php.fcgi
[Tue Jan 19 06:38:05.075051 2016] [cgi:error] [pid 31411:tid 140074979026688] [client 89.190.51.21:44340] AH02811: script not found or unable to stat: /var/www/cgi-bin/index.cgi
[Tue Jan 19 08:21:03.722990 2016] [cgi:error] [pid 25420:tid 140074800699136] [client 115.230.124.164:2085] AH02811: script not found or unable to stat: /var/www/cgi-bin/common
[Tue Jan 19 09:59:04.007129 2016] [ssl:warn] [pid 17268:tid 140061674502080] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Jan 19 09:59:04.007432 2016] [suexec:notice] [pid 17268:tid 140061674502080] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Jan 19 09:59:04.021038 2016] [auth_digest:notice] [pid 17269:tid 140061674502080] AH01757: generating secret for digest authentication …
[Tue Jan 19 09:59:05.008280 2016] [ssl:warn] [pid 17269:tid 140061674502080] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Jan 19 09:59:05.008669 2016] [lbmethod_heartbeat:notice] [pid 17269:tid 140061674502080] AH02282: No slotmem from mod_heartmonitor
[Tue Jan 19 09:59:05.019306 2016] [mpm_event:notice] [pid 17269:tid 140061674502080] AH00489: Apache/2.4.18 (Unix) OpenSSL/1.0.1e-fips configured – resuming normal operations
[Tue Jan 19 09:59:05.019471 2016] [core:notice] [pid 17269:tid 140061674502080] AH00094: Command line: ‘/usr/sbin/httpd -D SSL’