Forums / Install & configuration / update language , but system runs very slow

update language , but system runs very slow

Author Message

Wei Changsheng

Tuesday 15 August 2006 12:59:21 pm

I have update language packeage, when put it on, system runs veryslow....

1.> Use linguist for Win update .ts file
2.> put it back to share/ folder
3.> turn on TranslatorCache in site.ini.append.php
4.> Clear All Cache
5.> Restart Apache

But when i put original .ts file back, clear cache, and everything ok.
So, what's wrong with i do ~~~?

cache managerment? or something i miss or make mistake ~~~

Claudia Kosny

Wednesday 16 August 2006 11:06:36 am

Hello Wei Changsheng,

unfortunately I have no idea what might be going on there,therefore just some ideas on what to test or look out for:

Enable output debug and have a look at the time accumulators. Compare the outputs you get with your old and your new translation file. Are there any major differences? If yes, please tell us or post both versions here.

Open both the old and the new translation.ts file in a texteditor. As they consist of xml, they should be human readable. Do the files look different (except of course for the fact that you have added translations)? If yes, what are the differences?

If you speak another language than English and I assume Chinese (my apologies if I am wrong), try to recreate the problem with this language. Does the same problem occur when updating the ts file?

Greetings from Luxembourg

Claudia

Wei Changsheng

Thursday 17 August 2006 10:49:01 am

Thks, Even i don't know what i am done . but my site runs fine.
I will try more with my work, and test again

good luck, an Thanks again.

Wei Changsheng

Friday 18 August 2006 6:49:53 am

Last time i said it's ok, But when i update translation.ts, System slow again.

Old Translation -
TS translator
TS init 0.0217 sec 7.6239% 7 0.0031 sec
TS cache load 0.0190 sec 6.6596% 7 0.0027 sec
TS context load 0.0139 sec 4.8739% 7 0.0020 sec

Just replace old TS file, not clear cache
TS translator
TS init 19.3281 sec 98.6498% 1 19.3281 sec
TS load 18.8769 sec 96.3472% 1 18.8769 sec
TS store cache 0.4296 sec 2.1927% 1 0.4296 sec

After Clear Cache
TS translator
TS init 19.3911 sec 59.3279% 1 19.3911 sec
TS load 18.9385 sec 57.9432% 1 18.9385 sec
TS store cache 0.4305 sec 1.3173% 1 0.4305 sec
Template Total 13.1405 sec 40.2% 3 4.3802 sec

Total script time: 32.6847 sec

Any help ? is this situation related to cache system?

Felix Woldt

Tuesday 30 November 2010 12:26:12 am

i have a similar issue on ez440 with a ts file. The strange thing on our testsystem the ts file is cached fine but on an other system (production) the ts file is every time loaded again (Debug output TS INIT with 8s!!!)

If i foud the problem i will post it here. Very strange thing!

http://www.jac-systeme.de - Developers united in eZ Publish: http://www.cjw-network.com

CJW Newsletter 1.0.0 released: http://projects.ez.no/cjw_newsletter

Christian Rößler

Tuesday 30 November 2010 1:37:32 am

There is a bug in eZpublish, when enabling TranslationCache, on each request the cache is created over and over again...

See this thread for details: http://share.ez.no/forums/general/translationcache-enabled-rewrites-cache-on-each-request-possible-bug

My Workaround was to disable TranslationCache. The ViewCache does the caching of my page pretty well. The Administration-Interface and publishing content is a bit slower though.

Hannover, Germany
eZ-Certified http://auth.ez.no/certification/verify/395613