permission issues during installation, followed by memory limit issues

Author Message

Jeffrey Ort

Wednesday 23 June 2004 10:24:51 pm

This has been my first installation. I wish it has gone smoother, because I love what I have seen with the product, but I have continual issues.

After my install, I received the Kernel 50 error, but was able to edit the .ini file to add the correct information. What was contained appeard to be the defaults. When logging in, I continually got the "Object not found" error. Although I had recursively set the mode of the directory to 777, I believe this had been a premissions issue, since the files simply were not there. Does anyone have any advice or suggestions how to properly prepare directory permissions for an install? Note, the fine tune reported no issues.

Through great input from this forum, I was able to discover what was needed to force a reinstall, and several reinstalls later, things are now running, but with two issues:
1) I am getting an out of memory fatal error after some time. I have boosted the memory limit in my php.ini file to 24M, and still get this.
2) The installation is extremely slow. I am running on a virtual private server with 256M RAM, and there is no other traffic on this server (it is a test server). Loading the default "Gallery" page will take more than 60 seconds.

Any help is greatly appreciated.

Balazs Halasy

Thursday 24 June 2004 4:19:14 am

1)
Increase your PHP memory limit (set it to 0 / unlimited if this is possible).

2)
Installation might be slow on some machines. Reason: template compilation is ON by default. This means that eZ publish not only shows but also compiles the templates that are requested - which leads to an extreme case (lot of I/O and CPU usage) when you're running the site for the first time or if/when you've cleared all the caches. Otherwise, the template compilation feature is quite fancy. So.. just sit back and relax, let it compile the things - after that: everything will be fater & smoother. :-)

Jeffrey Ort

Thursday 24 June 2004 8:51:51 am

I will try to increase the memory limit.

On compiling the templates though, shouldn't this only mean a performance hit the first time a page is viewed? It occurs everytime I view the same page? URL avaialble upon request, and thanks for the help.

Paul Borgermans

Thursday 24 June 2004 9:05:20 am

Hi,

Take a look at the template compiled files, you will understand why these take also quite a lot of memory to generate ... if I'm allowed to write this: it almost becomes a sort of assembler language implemented with PHP ;-) .. I'm amazed it still runs pretty fast.

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

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 18 2025 22:18:06
Script start
Timing: Jan 18 2025 22:18:06
Module start 'layout'
Timing: Jan 18 2025 22:18:06
Module start 'content'
Timing: Jan 18 2025 22:18:06
Module end 'content'
Timing: Jan 18 2025 22:18:06
Script end

Main resources:

Total runtime0.0160 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0045 589.5156152.6875
Module start 'layout' 0.00450.0028 742.203139.5547
Module start 'content' 0.00730.0056 781.757893.4297
Module end 'content' 0.01290.0030 875.187534.3047
Script end 0.0159  909.4922 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003220.2891140.0002
Check MTime0.001811.3798140.0001
Mysql Total
Database connection0.00053.403210.0005
Mysqli_queries0.002213.547030.0007
Looping result0.00000.119610.0000
Template Total0.002616.310.0026
Template load0.001811.064410.0018
Template processing0.00085.234110.0008
Override
Cache load0.00149.046810.0014
General
dbfile0.00031.636680.0000
String conversion0.00000.062840.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