[ERROR] /usr/libexec/mysqld: Can't open file: '.s.frm' (errno: 24)

 

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
#TimeMemoryFunctionLocation
10.0010412504{main}( ).../index.php:0
20.11394262520Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.11394262520Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.547611453456Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.548211477832Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.549011533160Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.549311560560require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.557011960192K2ControllerItem->execute( ).../k2.php:64
90.557011960192K2ControllerItem->display( ).../BaseController.php:710
100.566412610896K2ControllerItem->display( ).../item.php:78
110.566412610896K2ControllerItem->display( ).../controller.php:19
120.571212981936Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.573813002304K2ViewItem->display( ).../ViewController.php:102
140.682415804840K2ViewItem->display( ).../view.html.php:742
150.682415804840K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.684815977776include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
  • Published in MYSQL
  • Read 1781 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
#TimeMemoryFunctionLocation
10.0010412504{main}( ).../index.php:0
20.11394262520Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.11394262520Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.547611453456Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.548211477832Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.549011533160Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.549311560560require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.557011960192K2ControllerItem->execute( ).../k2.php:64
90.557011960192K2ControllerItem->display( ).../BaseController.php:710
100.566412610896K2ControllerItem->display( ).../item.php:78
110.566412610896K2ControllerItem->display( ).../controller.php:19
120.571212981936Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.573813002304K2ViewItem->display( ).../ViewController.php:102
140.682415804840K2ViewItem->display( ).../view.html.php:742
150.682415804840K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.684815977776include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
back to top