[ERROR] /usr/libexec/mysqld: Can't open file: '.s.frm' (errno: 24)
- font size decrease font size increase font size
- Print Email
130522 1:45:20 [ERROR] /usr/libexec/mysqld: Can't open file: './alamise/alamise_categories.frm' (errno: 24)
-----------------------------------------------------------------
ps -ef|grep mysql
查看 pid
pid 32150
---------------------------------------------------------------------
cat /proc/32150/limits |grep files
查看pid最大limite
-------------------------------------------------
lsof -p 32150 |wc -l
查看已经打开的数量
lsof | grep mysqld
查看列表
-----------------------------------------------------------
查看 mysql值
mysql -uUser -pPASS
show global variables like "%open_files_limit%";
-------------------------------------
修复表
mysqlcheck -A -o -r -p
password
----------------------------------------
更改
/etc/my.cnf
[mysqld]
open_files_limit = 100000
Last modified onWednesday, 22 May 2013 11:59
( ! ) Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 169 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0008 | 412280 | {main}( ) | .../index.php:0 |
2 | 0.0798 | 4262296 | Joomla\CMS\Application\SiteApplication->execute( ) | .../index.php:49 |
3 | 0.0798 | 4262296 | Joomla\CMS\Application\SiteApplication->doExecute( ) | .../CMSApplication.php:196 |
4 | 0.3062 | 11453216 | Joomla\CMS\Application\SiteApplication->dispatch( ) | .../SiteApplication.php:233 |
5 | 0.3068 | 11477592 | Joomla\CMS\Component\ComponentHelper::renderComponent( ) | .../SiteApplication.php:194 |
6 | 0.3075 | 11532920 | Joomla\CMS\Component\ComponentHelper::executeComponent( ) | .../ComponentHelper.php:377 |
7 | 0.3078 | 11560320 | require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ) | .../ComponentHelper.php:402 |
8 | 0.3152 | 11959952 | K2ControllerItem->execute( ) | .../k2.php:64 |
9 | 0.3152 | 11959952 | K2ControllerItem->display( ) | .../BaseController.php:710 |
10 | 0.3246 | 12610656 | K2ControllerItem->display( ) | .../item.php:78 |
11 | 0.3246 | 12610656 | K2ControllerItem->display( ) | .../controller.php:19 |
12 | 0.3288 | 12981696 | Joomla\CMS\Cache\Controller\ViewController->get( ) | .../BaseController.php:663 |
13 | 0.3308 | 13002064 | K2ViewItem->display( ) | .../ViewController.php:102 |
14 | 0.4366 | 15804600 | K2ViewItem->display( ) | .../view.html.php:742 |
15 | 0.4366 | 15804600 | K2ViewItem->loadTemplate( ) | .../HtmlView.php:230 |
16 | 0.4395 | 15977536 | include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ) | .../HtmlView.php:701 |
- Published in MYSQL
- Read 1783 times
( ! ) Notice: Only variables should be assigned by reference in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 478 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0008 | 412280 | {main}( ) | .../index.php:0 |
2 | 0.0798 | 4262296 | Joomla\CMS\Application\SiteApplication->execute( ) | .../index.php:49 |
3 | 0.0798 | 4262296 | Joomla\CMS\Application\SiteApplication->doExecute( ) | .../CMSApplication.php:196 |
4 | 0.3062 | 11453216 | Joomla\CMS\Application\SiteApplication->dispatch( ) | .../SiteApplication.php:233 |
5 | 0.3068 | 11477592 | Joomla\CMS\Component\ComponentHelper::renderComponent( ) | .../SiteApplication.php:194 |
6 | 0.3075 | 11532920 | Joomla\CMS\Component\ComponentHelper::executeComponent( ) | .../ComponentHelper.php:377 |
7 | 0.3078 | 11560320 | require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ) | .../ComponentHelper.php:402 |
8 | 0.3152 | 11959952 | K2ControllerItem->execute( ) | .../k2.php:64 |
9 | 0.3152 | 11959952 | K2ControllerItem->display( ) | .../BaseController.php:710 |
10 | 0.3246 | 12610656 | K2ControllerItem->display( ) | .../item.php:78 |
11 | 0.3246 | 12610656 | K2ControllerItem->display( ) | .../controller.php:19 |
12 | 0.3288 | 12981696 | Joomla\CMS\Cache\Controller\ViewController->get( ) | .../BaseController.php:663 |
13 | 0.3308 | 13002064 | K2ViewItem->display( ) | .../ViewController.php:102 |
14 | 0.4366 | 15804600 | K2ViewItem->display( ) | .../view.html.php:742 |
15 | 0.4366 | 15804600 | K2ViewItem->loadTemplate( ) | .../HtmlView.php:230 |
16 | 0.4395 | 15977536 | include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ) | .../HtmlView.php:701 |