[ERROR] /usr/libexec/mysqld: Can't open file: '.s.frm' (errno: 24)
- font size decrease font size increase font size
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.0019 | 413952 | {main}( ) | .../index.php:0 |
2 | 0.0873 | 4264512 | Joomla\CMS\Application\SiteApplication->execute( ) | .../index.php:49 |
3 | 0.0873 | 4264512 | Joomla\CMS\Application\SiteApplication->doExecute( ) | .../CMSApplication.php:196 |
4 | 0.4259 | 11455656 | Joomla\CMS\Application\SiteApplication->dispatch( ) | .../SiteApplication.php:233 |
5 | 0.4272 | 11480032 | Joomla\CMS\Component\ComponentHelper::renderComponent( ) | .../SiteApplication.php:194 |
6 | 0.4279 | 11535360 | Joomla\CMS\Component\ComponentHelper::executeComponent( ) | .../ComponentHelper.php:377 |
7 | 0.4283 | 11562760 | require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ) | .../ComponentHelper.php:402 |
8 | 0.4394 | 11962392 | K2ControllerItem->execute( ) | .../k2.php:64 |
9 | 0.4394 | 11962392 | K2ControllerItem->display( ) | .../BaseController.php:710 |
10 | 0.4499 | 12613096 | K2ControllerItem->display( ) | .../item.php:78 |
11 | 0.4499 | 12613096 | K2ControllerItem->display( ) | .../controller.php:19 |
12 | 0.4560 | 12984136 | Joomla\CMS\Cache\Controller\ViewController->get( ) | .../BaseController.php:663 |
13 | 0.4596 | 13004504 | K2ViewItem->display( ) | .../ViewController.php:102 |
14 | 0.5430 | 15807648 | K2ViewItem->display( ) | .../view.html.php:742 |
15 | 0.5430 | 15807648 | K2ViewItem->loadTemplate( ) | .../HtmlView.php:230 |
16 | 0.5463 | 15980584 | include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ) | .../HtmlView.php:701 |
- Published in MYSQL
- Read 1782 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.0019 | 413952 | {main}( ) | .../index.php:0 |
2 | 0.0873 | 4264512 | Joomla\CMS\Application\SiteApplication->execute( ) | .../index.php:49 |
3 | 0.0873 | 4264512 | Joomla\CMS\Application\SiteApplication->doExecute( ) | .../CMSApplication.php:196 |
4 | 0.4259 | 11455656 | Joomla\CMS\Application\SiteApplication->dispatch( ) | .../SiteApplication.php:233 |
5 | 0.4272 | 11480032 | Joomla\CMS\Component\ComponentHelper::renderComponent( ) | .../SiteApplication.php:194 |
6 | 0.4279 | 11535360 | Joomla\CMS\Component\ComponentHelper::executeComponent( ) | .../ComponentHelper.php:377 |
7 | 0.4283 | 11562760 | require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ) | .../ComponentHelper.php:402 |
8 | 0.4394 | 11962392 | K2ControllerItem->execute( ) | .../k2.php:64 |
9 | 0.4394 | 11962392 | K2ControllerItem->display( ) | .../BaseController.php:710 |
10 | 0.4499 | 12613096 | K2ControllerItem->display( ) | .../item.php:78 |
11 | 0.4499 | 12613096 | K2ControllerItem->display( ) | .../controller.php:19 |
12 | 0.4560 | 12984136 | Joomla\CMS\Cache\Controller\ViewController->get( ) | .../BaseController.php:663 |
13 | 0.4596 | 13004504 | K2ViewItem->display( ) | .../ViewController.php:102 |
14 | 0.5430 | 15807648 | K2ViewItem->display( ) | .../view.html.php:742 |
15 | 0.5430 | 15807648 | K2ViewItem->loadTemplate( ) | .../HtmlView.php:230 |
16 | 0.5463 | 15980584 | include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ) | .../HtmlView.php:701 |