เจอปัญหา ในฐาน Joomla Out of resources when opening file '/tmp/#sql_7059_0.MAD' (Errcode: 24 "Too many open files")
Moderator: mindphp
กฎการใช้บอร์ด
คำถามหมวดนี้ ควรระบุ รายละเอียดของ Server OS, เวอร์ชั่น ของ PHP, CMS ที่ท่านใช้
รวมถึง Hosting หรือ Control Panel Hosting
คำถามหมวดนี้ ควรระบุ รายละเอียดของ Server OS, เวอร์ชั่น ของ PHP, CMS ที่ท่านใช้
รวมถึง Hosting หรือ Control Panel Hosting
- mindphp
- ผู้ดูแลระบบ MindPHP
- โพสต์: 41125
- ลงทะเบียนเมื่อ: 22/09/2008 6:18 pm
- ติดต่อ:
เจอปัญหา ในฐาน Joomla Out of resources when opening file '/tmp/#sql_7059_0.MAD' (Errcode: 24 "Too many open files")
Out of resources when opening file '/tmp/#sql_7059_0.MAD' (Errcode: 24 "Too many open files")
ติดตาม VDO: http://www.youtube.com/c/MindphpVideoman
ติดตาม FB: https://www.facebook.com/pages/MindphpC ... 9517401606
หมวดแชร์ความรู้: https://www.mindphp.com/forums/viewforum.php?f=29
รับอบรม และพัฒนาระบบ: https://www.mindphp.com/forums/viewtopic.php?f=6&t=2042
ติดตาม FB: https://www.facebook.com/pages/MindphpC ... 9517401606
หมวดแชร์ความรู้: https://www.mindphp.com/forums/viewforum.php?f=29
รับอบรม และพัฒนาระบบ: https://www.mindphp.com/forums/viewtopic.php?f=6&t=2042
- mindphp
- ผู้ดูแลระบบ MindPHP
- โพสต์: 41125
- ลงทะเบียนเมื่อ: 22/09/2008 6:18 pm
- ติดต่อ:
Re: เจอปัญหา ในฐาน Joomla Out of resources when opening file '/tmp/#sql_7059_0.MAD' (Errcode: 24 "Too many open files")
สาเหตุปัญหา มาจาก Database Server บน Ubuntu กำหนด
open_files_limit ไว้น้อยเกินไป Default คือ 5000 ซึ่งอาจจะน้อยไป สำหรับ MySQL Server ที่มีฐานข้อมูลเยอะๆ
ทางแก้
เปิดไฟล์ /etc/my.cnf แก้ไข
เพิ่ม
แล้ว restart mysql ด้วยคำสั่ง
open_files_limit ไว้น้อยเกินไป Default คือ 5000 ซึ่งอาจจะน้อยไป สำหรับ MySQL Server ที่มีฐานข้อมูลเยอะๆ
ทางแก้
เปิดไฟล์ /etc/my.cnf แก้ไข
โค้ด: เลือกทั้งหมด
nano /etc/my.cnf
โค้ด: เลือกทั้งหมด
open_files_limit=16384
โค้ด: เลือกทั้งหมด
/etc/init.d/mysqld restart
ติดตาม VDO: http://www.youtube.com/c/MindphpVideoman
ติดตาม FB: https://www.facebook.com/pages/MindphpC ... 9517401606
หมวดแชร์ความรู้: https://www.mindphp.com/forums/viewforum.php?f=29
รับอบรม และพัฒนาระบบ: https://www.mindphp.com/forums/viewtopic.php?f=6&t=2042
ติดตาม FB: https://www.facebook.com/pages/MindphpC ... 9517401606
หมวดแชร์ความรู้: https://www.mindphp.com/forums/viewforum.php?f=29
รับอบรม และพัฒนาระบบ: https://www.mindphp.com/forums/viewtopic.php?f=6&t=2042
-
- Similar Topics
- ตอบกลับ
- แสดง
- โพสต์ล่าสุด
-
-
โพสต์ใหม่ วิธีแก้ปัญหา Can't create/write to file '/tmp/#sql_6182_0.MAI' (Errcode: 2)
โดย mindphp » 18/09/2017 3:40 pm » ใน Linux - Web Server - 0 ตอบกลับ
- 1638 แสดง
-
โพสต์ล่าสุด โดย mindphp
18/09/2017 3:40 pm
-
-
- 8 ตอบกลับ
- 2114 แสดง
-
โพสต์ล่าสุด โดย jirawoot
21/06/2019 3:18 pm
-
-
โพสต์ใหม่ ติดตั้ง template joomla ไม่ได้ Could not copy files from the files source
โดย M032 » 14/06/2016 5:16 pm » ใน Joomla Development - 1 ตอบกลับ
- 1186 แสดง
-
โพสต์ล่าสุด โดย mindphp
14/06/2016 6:26 pm
-
-
-
โพสต์ใหม่ แก้ปัญหา mysql [ERROR] /usr/sbin/mysqld: Error writing file '.pid' (Errcode: 28)
โดย mindphp » 04/10/2014 4:04 am » ใน Linux - Web Server - 0 ตอบกลับ
- 2017 แสดง
-
โพสต์ล่าสุด โดย mindphp
04/10/2014 4:04 am
-
-
- 8 ตอบกลับ
- 6704 แสดง
-
โพสต์ล่าสุด โดย Parichat
06/08/2018 5:48 pm
-
-
โพสต์ใหม่ Introducing MDFile Components for Joomla, helping to download document files on the website.
โดย wipaporn » 13/02/2019 2:49 pm » ใน English Language - 3 ตอบกลับ
- 5359 แสดง
-
โพสต์ล่าสุด โดย mindphp
29/04/2020 11:49 am
-
ผู้ใช้งานขณะนี้
สมาชิกกำลังดูบอร์ดนี้: ไม่มีสมาชิกใหม่ และบุคลทั่วไป 45