URGENT please help - Joomla! Forum - community, help and support


hi,

i've got email hosting administrator file index.php increase cpu usage. there can me problem.

0 web1 26115 7.3 0.0 z [php] <defunct>
0 web1 26219 37.0 0.3 r /usr/bin/php /home/web1/public_html/index.php
0 web1 26243 6.0 0.1 s /usr/bin/php /home/web1/public_html/index.php
0 web1 26244 5.0 0.0 r /usr/bin/php /home/web1/public_html/index.php
0 web1 26245 5.0 0.0 r /usr/bin/php /home/web1/public_html/index.php
0 web1 26115 7.3 0.0 z [php] <defunct>
0 web1 26219 40.0 0.0 z [php] <defunct>
0 web1 26243 12.0 0.2 r /usr/bin/php /home/web1/public_html/index.php
0 web1 26244 11.0 0.2 r /usr/bin/php /home/web1/public_html/index.php
0 web1 26245 11.0 0.2 r /usr/bin/php /home/web1/public_html/index.php
0 web1 26115 7.3 0.0 z [php] <defunct>
0 web1 26219 40.0 0.0 z [php] <defunct>
0 web1 26243 19.0 0.3 r /usr/bin/php /home/web1/public_html/index.php
0 web1 26244 18.0 0.2 r /usr/bin/php /home/web1/public_html/index.php
0 web1 26245 19.0 0.3 r /usr/bin/php /home/web1/public_html/index.php
0 web1 26115 5.5 0.0 z [php] <defunct>
0 web1 26219 20.0 0.0 z [php] <defunct>
0 web1 26243 13.0 0.3 r /usr/bin/php /home/web1/public_html/index.php
0 web1 26244 12.5 0.3 r /usr/bin/php /home/web1/public_html/index.php
0 web1 26245 13.0 0.3 r /usr/bin/php /home/web1/public_html/index.php
0 web1 26281 6.0 0.1 r /usr/bin/php /home/web1/public_html/index.php


this index.php file

<?php
/**
* @version $id: index.php 14401 2010-01-26 14:10:00z louis $
* @package joomla
* @copyright copyright (c) 2005 - 2010 open source matters. rights reserved.
* @license gnu/gpl, see license.php
* joomla! free software. version may have been modified pursuant
* gnu general public license, , distributed includes or
* derivative of works licensed under gnu general public license or
* other free or open source software licenses.
* see copyright.php copyright notices , details.
*/

// set flag parent file
define( '_jexec', 1 );

define('jpath_base', dirname(__file__) );

define( 'ds', directory_separator );

require_once ( jpath_base .ds.'includes'.ds.'defines.php' );
require_once ( jpath_base .ds.'includes'.ds.'framework.php' );

jdebug ? $_profiler->mark( 'afterload' ) : null;

/**
* create application
*
* note :
*/
$mainframe =& jfactory::getapplication('site');

/**
* initialise application
*
* note :
*/
// set language
$mainframe->initialise();

jpluginhelper::importplugin('system');

// trigger onafterinitialise events
jdebug ? $_profiler->mark('afterinitialise') : null;
$mainframe->triggerevent('onafterinitialise');

/**
* route application
*
* note :
*/
$mainframe->route();

// authorization
$itemid = jrequest::getint( 'itemid');
$mainframe->authorize($itemid);

// trigger onafterroute events
jdebug ? $_profiler->mark('afterroute') : null;
$mainframe->triggerevent('onafterroute');

/**
* dispatch application
*
* note :
*/
$option = jrequest::getcmd('option');
$mainframe->dispatch($option);

// trigger onafterdispatch events
jdebug ? $_profiler->mark('afterdispatch') : null;
$mainframe->triggerevent('onafterdispatch');

/**
* render application
*
* note :
*/
$mainframe->render();

// trigger onafterrender events
jdebug ? $_profiler->mark('afterrender') : null;
$mainframe->triggerevent('onafterrender');

/**
* return response
*/
echo jresponse::tostring($mainframe->getcfg('gzip'));

it won't index.php causing problem directly, that's file links together.

the chances have installed plugin using lot of resources display heavy usage on index.php because that's people access when using site.

the best way ask ssh usage, can @ whats going in..

joomla doesn't use lot of system resources out of box, bad plugins do.





Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support