คือปัญหาของผม Service ที่เราสั่งให้ทำงานบน Server เช่น httpd ของ Apache หรือ mysql ดันหยุดทำงานไปซะดื้อๆ ซึ่งเป็นผลจาก Service error เอง หรือเกิดโหลดสูงบน Server จน Service ค้างทำให้ระบบที่เราใช้งานมีปัญหาไม่สามารถทำงานได้อย่างปกติ ซึ่งตอนนี้ลองสอบถามไปที่ซัพพอตของโฮสเค้าก็ให้ผมใช้คำสั่ง
I apologize for the error on my end for the openlitespeed server you can restart the service with the command "/etc/init.d/lsws restart"
แต่มันไม่มีไฟล์ ดังกล่าวอะคับ เป็น VPS รันเว็บอยู่ 4-5 เว็บตอนนี้ เน่าดับหมดเลย
ใช้ตัวจัดการระบบของ serverpilot สอบถามไปเค้าก็แจ้งกลับมาว่า
This server is running out of memory as seen in /var/log/syslog. A small sample:
Jan 22 07:22:11 clipheekub kernel: [209710.291782] Out of memory: Kill process 5266 (php-fpm) score 1049 or sacrifice child
Jan 22 07:23:17 clipheekub kernel: [209778.545969] Out of memory: Kill process 5342 (php-fpm) score 1039 or sacrifice child
Jan 22 07:23:56 clipheekub kernel: [209816.856795] Out of memory: Kill process 5395 (php-fpm) score 1038 or sacrifice child
Jan 22 07:24:10 clipheekub kernel: [209830.915384] Out of memory: Kill process 5571 (php-fpm) score 1036 or sacrifice child
Jan 22 07:25:49 clipheekub kernel: [209930.620110] Out of memory: Kill process 5408 (php-fpm) score 1048 or sacrifice child
Jan 22 07:27:18 clipheekub kernel: [210019.351528] Out of memory: Kill process 5531 (php-fpm) score 1034 or sacrifice child
Jan 22 07:27:32 clipheekub kernel: [210032.832003] Out of memory: Kill process 5387 (php-fpm) score 1034 or sacrifice child
Jan 22 07:27:37 clipheekub kernel: [210038.176189] Out of memory: Kill process 5558 (php-fpm) score 1033 or sacrifice child
Jan 22 07:27:57 clipheekub kernel: [210058.244730] Out of memory: Kill process 5566 (php-fpm) score 1033 or sacrifice child
Jan 22 07:30:01 clipheekub kernel: [210179.471266] Out of memory: Kill process 5541 (php-fpm) score 1033 or sacrifice child
You will likely need to either upgrade your server to have more available resources, or reduce the memory usage of your apps. Here's an article which might help:
ผมก็เช็คแลัวก็เปิดหมดทุก port ทีนี้เลยงงว่าสรุปเป็นเพราะอะไรครับ -*-

ใครแก้ใขปัญหานี้ได้ ติดต่อมาครับ
Line: kengyk