linux下的Swap分区设多大合适?
- font size decrease font size increase font size
mem < 2G, swap = 2G
mem > 2G, mem < 8G, swap=mem
mem > 8G, swap=8G
Last modified onSaturday, 05 January 2013 13:19
( ! ) 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.0004 | 416032 | {main}( ) | .../index.php:0 |
2 | 0.0969 | 4721464 | Joomla\CMS\Application\SiteApplication->execute( ) | .../index.php:49 |
3 | 0.0969 | 4721464 | Joomla\CMS\Application\SiteApplication->doExecute( ) | .../CMSApplication.php:196 |
4 | 0.2976 | 12449792 | Joomla\CMS\Application\SiteApplication->dispatch( ) | .../SiteApplication.php:233 |
5 | 0.2986 | 12474376 | Joomla\CMS\Component\ComponentHelper::renderComponent( ) | .../SiteApplication.php:194 |
6 | 0.2997 | 12529704 | Joomla\CMS\Component\ComponentHelper::executeComponent( ) | .../ComponentHelper.php:377 |
7 | 0.3001 | 12558528 | require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ) | .../ComponentHelper.php:402 |
8 | 0.3108 | 12993936 | K2ControllerItem->execute( ) | .../k2.php:64 |
9 | 0.3108 | 12993936 | K2ControllerItem->display( ) | .../BaseController.php:710 |
10 | 0.3240 | 13719136 | K2ControllerItem->display( ) | .../item.php:78 |
11 | 0.3240 | 13719136 | K2ControllerItem->display( ) | .../controller.php:19 |
12 | 0.3301 | 14115504 | Joomla\CMS\Cache\Controller\ViewController->get( ) | .../BaseController.php:663 |
13 | 0.3313 | 14135872 | K2ViewItem->display( ) | .../ViewController.php:102 |
14 | 0.4170 | 17098088 | K2ViewItem->display( ) | .../view.html.php:742 |
15 | 0.4170 | 17098088 | K2ViewItem->loadTemplate( ) | .../HtmlView.php:230 |
16 | 0.4195 | 17278288 | include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ) | .../HtmlView.php:701 |
- Published in CentOS 6
- Read 4336 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.0004 | 416032 | {main}( ) | .../index.php:0 |
2 | 0.0969 | 4721464 | Joomla\CMS\Application\SiteApplication->execute( ) | .../index.php:49 |
3 | 0.0969 | 4721464 | Joomla\CMS\Application\SiteApplication->doExecute( ) | .../CMSApplication.php:196 |
4 | 0.2976 | 12449792 | Joomla\CMS\Application\SiteApplication->dispatch( ) | .../SiteApplication.php:233 |
5 | 0.2986 | 12474376 | Joomla\CMS\Component\ComponentHelper::renderComponent( ) | .../SiteApplication.php:194 |
6 | 0.2997 | 12529704 | Joomla\CMS\Component\ComponentHelper::executeComponent( ) | .../ComponentHelper.php:377 |
7 | 0.3001 | 12558528 | require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ) | .../ComponentHelper.php:402 |
8 | 0.3108 | 12993936 | K2ControllerItem->execute( ) | .../k2.php:64 |
9 | 0.3108 | 12993936 | K2ControllerItem->display( ) | .../BaseController.php:710 |
10 | 0.3240 | 13719136 | K2ControllerItem->display( ) | .../item.php:78 |
11 | 0.3240 | 13719136 | K2ControllerItem->display( ) | .../controller.php:19 |
12 | 0.3301 | 14115504 | Joomla\CMS\Cache\Controller\ViewController->get( ) | .../BaseController.php:663 |
13 | 0.3313 | 14135872 | K2ViewItem->display( ) | .../ViewController.php:102 |
14 | 0.4170 | 17098088 | K2ViewItem->display( ) | .../view.html.php:742 |
15 | 0.4170 | 17098088 | K2ViewItem->loadTemplate( ) | .../HtmlView.php:230 |
16 | 0.4195 | 17278288 | include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ) | .../HtmlView.php:701 |