EzP 3.9.4 + IspConfig = EzP cache problems

Author Message

Andre Felipe Machado

Sunday 18 November 2007 6:11:25 am

Hello
I am using Ez Publish 3.9.4 inside a ISPConfig space under a Xen Debian Sarge VM.
This arrangement seems to cause trouble with cache.
The ISPConfig assigned user that is running the space is different from the one running apache2.
If I clear all caches, the EzPublish does not recreate it.
It seems unable to recreate DIRECTORIES under the cache dir.
I tried to change ownership of var/ directory to the assigned user and to the apache 2 user.
Tried to change var/ permissions to a permissive setup.
It seems that I have to manually create directories with the assigned user, change its permissions, and THEN EzP will populate it or update its FILES, changing / using ownership and permissions to the apache 2 user.
Even so, I am still struggling with some admin interface cache problems. I guess some clever expiry.php setup could help.
I already read many forum messages about cahe configurations and they "seem" ok.
Do you have any suggestions?
Regards.
Andre Felipe

---
A Debian user never dies. Issues a last command:
shutdown -h now

http://www.techforce.com.br

Andre Felipe Machado

Monday 19 November 2007 3:17:53 pm

Hello,
I found a somewhat reasonable workaround for the cache (re)generation problem: run apache2 as the same ispconfig's created regular user.
It is not a clean solution and do not sized all effects of it, but works for a single hosted site.
For more sites inside the ispconfig, a correct solution must be found.
Regards.
Andre Felipe Machado

---
A Debian user never dies. Issues a last command:
shutdown -h now

http://www.techforce.com.br

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 01:29:39
Script start
Timing: Jan 31 2025 01:29:39
Module start 'layout'
Timing: Jan 31 2025 01:29:39
Module start 'content'
Timing: Jan 31 2025 01:29:39
Module end 'content'
Timing: Jan 31 2025 01:29:39
Script end

Main resources:

Total runtime0.0219 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 589.3906151.2266
Module start 'layout' 0.00520.0034 740.6172220.7344
Module start 'content' 0.00870.0116 961.3516997.8672
Module end 'content' 0.02020.0017 1,959.218833.9922
Script end 0.0219  1,993.2109 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002712.2409140.0002
Check MTime0.00104.7492140.0001
Mysql Total
Database connection0.00073.130310.0007
Mysqli_queries0.002310.321030.0008
Looping result0.00000.050010.0000
Template Total0.00125.510.0012
Template load0.00104.402610.0010
Template processing0.00021.065910.0002
Override
Cache load0.00062.806510.0006
General
dbfile0.00031.216980.0000
String conversion0.00000.135840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs