Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

Error "Calculate ac...
 
Notifications
Clear all

Error "Calculate activities planning"

12 Posts
2 Users
0 Reactions
13.2 K Views
 Alex
(@kiffcool)
Posts: 16
Active Member
Topic starter
 
[#383]

Hi !

I've got an error when i calculate my activities planning :

For information, i've got 69 activities.


 
Posted : 27 Feb 2012 12H37
(@babynus)
Posts: 14952
Member Admin
 

Hi,

Can you check if you can get more detail in the log file ?


 
Posted : 27 Feb 2012 17H05
 Alex
(@kiffcool)
Posts: 16
Active Member
Topic starter
 

I looked in the logs, I have no error message.

For information, i'm in version 1.9.1


 
Posted : 27 Feb 2012 17H07
(@babynus)
Posts: 14952
Member Admin
 

Which Browser / Version on which OS ?


 
Posted : 27 Feb 2012 17H39
 Alex
(@kiffcool)
Posts: 16
Active Member
Topic starter
 

Windows XP SP3 with IE 6 and Firefox 10.0.2


 
Posted : 27 Feb 2012 17H42
(@babynus)
Posts: 14952
Member Admin
 

Do you quickly get the error message, or after a certain, constant, time ?


 
Posted : 27 Feb 2012 17H46
 Alex
(@kiffcool)
Posts: 16
Active Member
Topic starter
 

I still have the error message after one minute.


 
Posted : 27 Feb 2012 17H48
(@babynus)
Posts: 14952
Member Admin
 

You must fail in Timeout...
Try to increase max execution time.
Method 1 : in php.ini => Best to do if you have access to it

max_execution_time=300

Method 2 : in /model/palnnedWork.php, line 87 => already done

set_time_limit(300);

If problem persists check for your apache timeout.


 
Posted : 28 Feb 2012 16H55
 Alex
(@kiffcool)
Posts: 16
Active Member
Topic starter
 

I did a new test copying database on my local pc.

I've got this error :

Fatal error: Maximum execution time of 300 seconds exceeded in C:PFLwampwwwprojectorriamodelpersistenceSqlElement.php on line 1335


 
Posted : 02 Mar 2012 13H30
(@babynus)
Posts: 14952
Member Admin
 

You fail in Timeout ... at 300s = 5mn ...

1)You can try to inclease value in /model/palnnedWork.php, line 87

set_time_limit(3000);

2) You should try to split you tasks in several sub-project and plan one subproject at a time

3) I'm surprise it takes so long.
I planned some projects with about 50 tasks and it took less than 20 seconds.
Could you anonymyse your Database and send me a copy for testing ?


 
Posted : 02 Mar 2012 13H37
 Alex
(@kiffcool)
Posts: 16
Active Member
Topic starter
 

With value

set_time_limit(3000);

, it's OK in 20 minutes !


 
Posted : 02 Mar 2012 14H12
(@babynus)
Posts: 14952
Member Admin
 

Your delay for planning is very very long.

So I tested on my side.
With a Laptop PC, i5 dual core 2,4 GHz, 3Gb RAM, running Easy PHP 5.3, with Apache, PHP, MySQL and Client on same machine.

Planning 25 Activities, all with left work :
First planning = 20s, then each planning = 8s

Planning 50 Activities, all with left work :
First planning = 29s, then each planning = 12s

These delay are much shorter than yours.
As delays are not increasing exponentially with number of activities, I guess your performance is not "normal"

What is the configuration of the Machine your are testing on ?
Can you check the RAM, an watch the swap use during calculation ?
Thanks.


 
Posted : 02 Mar 2012 16H37
Share:

Scroll to Top