pasamio / jwcp

Automatically exported from code.google.com/p/jwcp
0 stars 0 forks source link

Hitting PHP timeout on medium sized site #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a working copy/child on a larger site
2.
3.

What is the expected output? What do you see instead?
A complete child copy - white screen instaed

What version of the product are you using? On what operating system?
RC1

Please provide any additional information below.

Original issue reported on code.google.com by oliver.r...@gmail.com on 25 Jul 2009 at 5:32

GoogleCodeExporter commented 9 years ago
Yeah, I know it is an issue. Well, I took already some steps to fix that issue, 
first 
of all if the php safe mode is off, I set the runtime to unlimited. The next 
thing I'm 
going to do, is to make file-system and database copy manual process, so user 
can do it 
manually if he has problems with the timeout. And third one, I'm intended to 
do, is to 
add file exclude list, and not copy files from that list.

Original comment by edo...@gmail.com on 25 Jul 2009 at 4:35

GoogleCodeExporter commented 9 years ago
I added options to not copy the files and database tables during the child 
creation.
Also added exclude lists for files and tables, so you can specify big folders 
to not 
copy to the child.

I noticed something for Linux systems on the PHP website:

The set_time_limit() function and the configuration directive 
max_execution_time only 
affect the execution time of the script itself. Any time spent on activity that 
happens outside the execution of the script such as system calls using 
system(), 
stream operations, database queries, etc. is not included when determining the 
maximum time that the script has been running. This is not true on Windows 
where the 
measured time is real.

So it is more likely a Windows problem need to test on Linux server with php 
safe 
mode on.

Original comment by edo...@gmail.com on 29 Jul 2009 at 5:02

GoogleCodeExporter commented 9 years ago

Original comment by edo...@gmail.com on 29 Jul 2009 at 8:00

GoogleCodeExporter commented 9 years ago
Issue 3 has been merged into this issue.

Original comment by edo...@gmail.com on 6 Aug 2009 at 2:12