เจอปัญหา ในฐาน Joomla Out of resources when opening file '/tmp/#sql_7059_0.MAD' (Errcode: 24 "Too many open files")
Moderator: mindphp
Forum rules
คำถามหมวดนี้ ควรระบุ รายละเอียดของ Server OS, เวอร์ชั่น ของ PHP, CMS ที่ท่านใช้
รวมถึง Hosting หรือ Control Panel Hosting
คำถามหมวดนี้ ควรระบุ รายละเอียดของ Server OS, เวอร์ชั่น ของ PHP, CMS ที่ท่านใช้
รวมถึง Hosting หรือ Control Panel Hosting
- mindphp
- ผู้ดูแลระบบ MindPHP
- Posts: 26592
- Joined: 22/09/2008 6:18 pm
- Contact:
เจอปัญหา ในฐาน 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
- Posts: 26592
- Joined: 22/09/2008 6:18 pm
- Contact:
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 แก้ไข
Code: Select all
nano /etc/my.cnf
Code: Select all
open_files_limit=16384
Code: Select all
/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
- Replies
- Views
- Last post
-
- 8 Replies
- 1485 Views
-
Last post by jirawoot
21/06/2019 3:18 pm
-
-
วิธีแก้ปัญหา Can't create/write to file '/tmp/#sql_6182_0.MAI' (Errcode: 2)
by mindphp » 18/09/2017 3:40 pm » in Linux - Web Server - 0 Replies
- 627 Views
-
Last post by mindphp
18/09/2017 3:40 pm
-
-
-
ติดตั้ง template joomla ไม่ได้ Could not copy files from the files source
by M032 » 14/06/2016 5:16 pm » in Joomla Development - 1 Replies
- 498 Views
-
Last post by mindphp
14/06/2016 6:26 pm
-
-
-
แก้ปัญหา mysql [ERROR] /usr/sbin/mysqld: Error writing file '.pid' (Errcode: 28)
by mindphp » 04/10/2014 4:04 am » in Linux - Web Server - 0 Replies
- 1143 Views
-
Last post by mindphp
04/10/2014 4:04 am
-
-
-
เจอปัญหา cannot write to log file pg_upgrade_internal.log ตอนอัพเกรด postgresql
by mindphp » 27/07/2017 7:20 pm » in Linux - Web Server - 1 Replies
- 602 Views
-
Last post by mindphp
27/07/2017 7:28 pm
-
-
-
เจอปัญหา /usr/sbin/mysqld: Can't find file: './mysql/user.frm'
by mindphp » 08/03/2016 11:13 am » in SQL - Database - 0 Replies
- 851 Views
-
Last post by mindphp
08/03/2016 11:13 am
-
-
-
เจอปัญหา Permission denied: /home/mindphp/.htaccess pcfg_openfile: unable to check htaccess file
by mindphp » 02/01/2017 10:18 pm » in Linux - Web Server - 3 Replies
- 609 Views
-
Last post by mindphp
03/01/2017 12:08 am
-
-
- 8 Replies
- 4819 Views
-
Last post by Parichat
06/08/2018 5:48 pm
Who is online
Users browsing this forum: No registered users and 4 guests