Zen Cart Logo
Forums / General Questions / Very High Parse Times on Testing Server

Very High Parse Times on Testing Server

Views: 652

Results 1 to 2 of 2
11 Jun 2011, 11:19 AM
#1
greentrees avatar

greentrees

New Zenner

Join Date:
May 2009
Posts:
11
Plugin Contributions:
0

Very High Parse Times on Testing Server

I was experiencing very high parse times (> 5s) on the first visit to a Zen Cart site on my Virtualmin Linux (Ubuntu) testing server. Heres the solution...

UPDATE configuration SET configuration_value = 'false' WHERE configuration.configuration_key ='SESSION_IP_TO_HOST_ADDRESS';

That'll stop it using the gethostbyaddr() function call which is failing & eating up the time.

I hope this helps others, this info gleaned after spending all morning timing the various elements in the autoloader list. init_sessions.php was the culprit & that led me to the solution above.

11 Jun 2011, 1:38 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Very High Parse Times on Testing Server

Might be better to

admin > config > sessions > IP to Host Conversion Status >