ดีคับผม
จากปัญหาเดิม http://www.thaihosttalk.com/th1/index.php?topic=12744.0
ถ้าจะก๊อป error log มารบกวนลบบรรทัดที่มีคำว่า File does not exist ทิ้งหน่อยนะครับ
ไอ้ error file does not exist มันไม่มีอะไรเลย - - ก็แค่หาไฟล์ไม่เจอ (404 not found นั่นแหละ)
load น้อยมากเลยครับ… ให้มัน load ไปเกิน 3 ก่อนดีกว่าไหม
เห็นมันกิน cpu ไป 50% นะคับ ปกติไม่เกิน 10% หรือว่าไม่ต้องห่วงหรอคับ เห็น process มันแปลกๆ
ไม่น่ามีอะไรครับ คนเข้าเยอะมันก็สร้าง process httpd เยอะ
แต่แนะนำว่าลด maxclients ใน httpd.com จาก 2พัน ลงมาเหลือ 512 ก็พอแล้วครับ
ตั้งสูงไปพอคนเข้าเยอะๆเครื่องทำงานไม่ทันมีแต่ผลเสียมากกว่าผลดี
ขอบคุณมากคับพี่
ของผมเจอใน /etc/apache2/apache2.conf
แบบนี้นะคับ
# prefork MPM
# StartServers: number of server processes to start
# MinSpareServers: minimum number of server processes which are kept spare
# MaxSpareServers: maximum number of server processes which are kept spare
# MaxClients: maximum number of server processes allowed to start
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule mpm_prefork_module>