Forums / Developer / 3.1.2 take 100% of CPU ?!!

3.1.2 take 100% of CPU ?!!

Author Message

Selmah Maxim

Sunday 15 June 2003 3:02:43 pm

Hi ..

I didn`t get why my pc become really slow when am browsing my site on localhost, my pc (P4 2.400, 1G RDRAM, SCSI 120G Seagte), and i have no data in mysql, just 10 empty folder and sub folder !

with 3.0.1,2 cpu its come max. 40% !

is this my pc error, or ezp ?
is this normal ?

Tony Wood

Monday 16 June 2003 3:10:06 am

Try running 'Siege' test as eZ is CPU hungry and it is the main bottleneck for us. On a box such as yours you should find your CPU peak at around 80-90 concurrent sessions using Siege if all is ok. We are still testing our evnironment and will publish results when its ready.

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

Selmah Maxim

Tuesday 17 June 2003 2:40:46 am

I see ...

Then I`ll need to search super pc host ;)

But whay this version is slower than old one ?!

John Pujol

Tuesday 17 June 2003 9:34:57 am

I have a similar problem with eZ3.1-Beta 2.
Have tried with 3 different Pcs:
OS: Win2K SP3 Hw: AMD XP 2000+, 1GB DDR-Ram
OS: Win XP SP1 Hw: Cel 1100, 384 MB SDRam
Installed: ezpublish-3.1.0-2_winnt.exe

OS: Win98 Hw: AMD 1400, 256 MB DDR-Ram
Installed: ezpublish-3.1.0-2_win9x.exe

I do a normal install with apache/php/MySql/ImageTk,
no problems here.

Then I try to go into the demo, the win 98 almost locks.
I have to boot PC.
With win2k machine Apache process eating all CPU cycles.
The only way to go out is either reboot or if possible stop apache process.
I have left all machines for several minutes with nothing appening.

This problem was not present in ezpublish 3.0.2 nor in 3.1 beta 1.

Can somebody help me?

Selmah Maxim

Wednesday 18 June 2003 5:28:41 am

Hi ..

it`s work normaly for me on Win xp pro , but Apache eating my CPU with ezp, that`s all ..

I had made manual install for php and apache, and i had upgrade the php version to 4.3.2 from 4.2.6 ... maybe this the problem of eating the cpu , any 1 can confirm this please ?

maybe the version of php is bugy, or maybe ezp is using somthing old which is not supported in the new php version ...

eZ debug

Timing: Jan 30 2025 20:31:33
Script start
Timing: Jan 30 2025 20:31:33
Module start 'content'
Timing: Jan 30 2025 20:31:33
Module end 'content'
Timing: Jan 30 2025 20:31:33
Script end

Main resources:

Total runtime0.1061 sec
Peak memory usage6,144.0000 KB
Database Queries4

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0117 588.0313370.3047
Module start 'content' 0.01180.0784 958.33591,005.5000
Module end 'content' 0.09020.0159 1,963.835974.7031
Script end 0.1061  2,038.5391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00292.7567120.0002
Check MTime0.00121.1356120.0001
Mysql Total
Database connection0.00454.278510.0045
Mysqli_queries0.014613.730140.0036
Looping result0.00000.014220.0000
Template Total0.015514.610.0155
Template load0.00100.934910.0010
Template processing0.014513.651710.0145
Override
Cache load0.00070.682110.0007
General
dbfile0.00030.2950100.0000
String conversion0.00000.005830.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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