vtiger Forum Index vtiger
The Honest Open Source CRM
 

eAccelerator or Smarty Cache for poor performance
Click here to go to the original topic

 
       vtiger Forum Index -> Help - 5.0.3
Previous topic :: Next topic  
Author Message
robhowarth



Joined: 28 Mar 2007
Posts: 98
Location: Malaga

Posted: Tue Jul 01, 2008 2:02 pm    Post subject: eAccelerator or Smarty Cache for poor performance  

Hi All,
I'm suffering performance problems with the entire vTiger installation. I've been fiddling trying to get eAccelerator working, but then discovered in a forum that Smarty has a similar cache facility.

I tracked down that the switches to enable this cache functionalty in Smarty are in the file Smarty\libs\smarty_class.php. Initially things seemed to be better, and I could see files being created in the smarty\cache directory. Unfortunalty, I also noticed that the data was being cached too - in other words I would look at Account 12345, then look at Account 6789, and although the URL showed that the correct account (crmid) was selected, the data on screen still showed 12345 !!

So, can anyone tell me what paramenters I should be using in smarty_class.php to use caching effectively ?

Or should I go back to trying to get eAccelerator working ?

I'm using Windows 2003 Server, vt 5.0.3, with php 5.1.2.
I have about 4500 Accounts and 5000 Contacts, and over 100000 attachments.

PS mySQL queries seem to be running quick enough, which is why I'm looking at the php code....

Thanks !!
Rob
Back to top  
robhowarth



Joined: 28 Mar 2007
Posts: 98
Location: Malaga

Posted: Wed Jul 02, 2008 7:13 pm    Post subject: eAccelerator or Smarty Cache for poor performance  

Update:
Turned out that that veriosn of eAccelerator for php 5.1.x does not work if that x is a 2 !! Installed 5.1.4, and it works.

Whatsmore, there is a definitive performance improvement !! High Five !!

Also, been investigationg smarty, and on their website FAQ it reccomends using smarty cache alongside eAccelerator for optimal performance, as oposed to "instead of" eAccelerator....

Rob
Back to top  
prasad.a



Joined: 01 Aug 2007
Posts: 968

Posted: Thu Jul 03, 2008 4:51 pm    Post subject: eAccelerator or Smarty Cache for poor performance  

Hi Rob,

Thanks for the update. Could you please share more information on configuring eAccelerator

Regards,
Prasad
vtiger Team
Back to top  
robhowarth



Joined: 28 Mar 2007
Posts: 98
Location: Malaga

Posted: Thu Jul 24, 2008 5:42 pm    Post subject: eAccelerator or Smarty Cache for poor performance  

Hi,
I found this site really useful for getting eAccelerator to work:
http://www.sitebuddy.com/PHP/Accelerators/eAccelerator

I'm on WAMP. Biggest problem I had was tyring to complile the windows dll, but sitebuddy had complied versions available for (free) download. Once I had a version of php that matched the dll version, everything was grand.

Rather than give specifics, I would suggest you check out the site for your specific o/s & php version.

Rob
Back to top  
 
       vtiger Forum Index -> Help - 5.0.3
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.15 © 2001, 2002 phpBB Group