Hi
The Xanthia caching system is totally broken under linux.
I installed postnuke RC1 full package (normal install with
mysql and basic modules installed), logging in, going to
layout and activating the xanthia module caching in the xanthia
settings.
The result is shown here: http://88.198.46.59/
It looks like block problem, but thats no true - caching blocks is DISABLED
on that installation.
I did another test installation on a 2nd linux server with different PHP - same
result.
My test & work installation under windows worked fine.
Here are the 2 servers. The 88.198.46.59 one is a 2GB Hetzner AMD64 with
Debain Etch and modified LAMP system with latest settings. php5, suhosin,
eaccelerator, adodb, mod_security - you can check it here:
I disabled for testing purpose the eaccelerator on this server.
Site: http://88.198.46.59
PHP info: http://88.198.46.59/info.php
The 2nd one is server4you vserver, debian etch with php4 and eaccelerator
enabled. Pretty much a different system. Same problem.
http://web2.168180.vserver.de
http://web2.168180.vserver.de/info.php
On the first one i disabled the PnRender caching AND checked the block module in the
xanthia caching - on the 2nd one is all enabled. I cleared for both server all
pnrender & xanthia caching directories by hand.
So, its not a side effect... If a dev needs access to the systems, please PM me.
Both server will be full reseted with new image after this, so its no problem.
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- internetking created topic »password problem« 25. May
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
- mdee created topic »How to implement returnpage ?« 25. May
- nestormateo responded to »Fillters in Clip« 24. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Xanthia caching broken under linux
-
**unknown user**
- Rank: Freshman
- Registered: Mar 16, 2002
- Last visit: Jul 26, 2008
- Posts: 61
I forgot - Its NOT a visualation problem - the blocks are not the problem, you
will get wild effects for example in the admins menu with your auth key - which
makes changes nearly impossible including reseting the xanthia caching. Be careful
when you test it on a system where you don't have full access. -
- Rank: Team Member
- Registered: Jan 02, 2003
- Last visit: Oct 21, 2009
- Posts: 800
Quote
The Xanthia caching system is totally broken under linux.
Please be careful with such absolute expressions.
Re-check with one of the default themes supplied with the RC1 and tell us which theme you are using. A first wild guess would be a broken selfmade theme.
--
"He is not dangerous, he just wants to play...." -
- Rank: Team Member
- Registered: Mar 18, 2002
- Last visit: Oct 21, 2009
- Posts: 6606
There is definately a problem - but only with themes that supply thier own block templates. It seems that the block output gets cached when it shouldn't. And since the block template doesn't have a suitable cache id then you see the first cached block repeated everywhere.
-Mark
--
Visit My homepage and Zikula themes. -
- Rank: Team Member
- Registered: Mar 18, 2002
- Last visit: Oct 21, 2009
- Posts: 6606
I've now fixed this problem, at least from my own limited testing, in SVN. Please check with the next daily.
-Mark
--
Visit My homepage and Zikula themes. -
**unknown user**
- Rank: Freshman
- Registered: Mar 16, 2002
- Last visit: Jul 26, 2008
- Posts: 61
Will checkout the SVN tomorrow and isntall it on the server again.
Is there any special SVN tag/branch i have to checkout?
EDIT: *Ah, only saw the SVN... Had to much SVN checkout the last days. Will use nightly.*
As i described - its the standard debian LAMP server in 2 versions
where i loaded PN on - no changes, standard setup. Checking with
the standard templates of the package only.
After finish the installation i go direct to login, admins, select template and
activate Xanthia.
It must be problem with linux because it works fine for me under windows.
Well, nearly - because under normal windows, localhost the performance of
the Apache is pretty bad. Not a good way to test caching for me.
edited by: michtoen, Aug 06, 2007 - 06:18 PM -
- Rank: Software Foundation
- Registered: Dec 31, 1969
- Last visit: Oct 21, 2009
- Posts: 3814
Quote
Is there any special SVN tag/branch i have to checkout?
simply grab the nightly build
--
regards from germany
..::[Zikula Application Framework]::.. ..::[SEO-Blog]::.. ..::[CMS Sicherheit]::.. -
**unknown user**
- Rank: Freshman
- Registered: Mar 16, 2002
- Last visit: Jul 26, 2008
- Posts: 61
Quote
I've now fixed this problem, at least from my own limited testing, in SVN. Please check with the next daily.
If testing is needed: The first server is new without any content, i have to prepare and test there the
website so or so. There is nothing personal data stored, so i can grant there ssh login for a PN dev.
Just PM me here please.
I will request a new OS image after this from the provider because i test the hardware & setting alot,
its really no problem. -
**unknown user**
- Rank: Freshman
- Registered: Mar 16, 2002
- Last visit: Jul 26, 2008
- Posts: 61
Just tested the changed pnTheme.class.php file - its works like a charm.
http://88.198.46.59
The cache time is 10 seconds, you can see good when the cache is triggered
by the page render time on the bottom.
Just because i had the php.ini opened:
On that server, the postnuke site with some modules enabled
without eaccelerator caching
like 250ms to 340ms for a initial page
and constant 0.07sec when caching
With eaccelerator the render time dropped
to 0.09sec to 0.11sec for a initial page (every 10 or 20 pages more)
and pretty nice 0.01sec to 0.02sec when caching
Pretty nice.
edited by: michtoen, Aug 06, 2007 - 07:59 PM -
- Rank: Legend
- Registered: Dec 11, 2002
- Last visit: Oct 21, 2009
- Posts: 11674
Using a PHP Accelerator with any PHP program should see a 1-10x speed increase (for example with Gallery2 I saw a massive performance improvement on a site getting 500,000 hits a day). If you have the means, it's always a good idea.
--
itbegins.co.uk - Zikula Consulting
birtwistle.me.uk - Personal Blog
Please read the Support Guide -
- Rank: Software Foundation
- Registered: Dec 31, 1969
- Last visit: Oct 21, 2009
- Posts: 3814
i'd suggest to try the 'Alternative PHP Cache' pecl:apc instead of eaccelerator (apc will be part of php6 anyway
)
--
regards from germany
..::[Zikula Application Framework]::.. ..::[SEO-Blog]::.. ..::[CMS Sicherheit]::..
- Moderated by:
- Support
