Timeout when exporting

21 views
Skip to first unread message

Mårten

unread,
Jun 7, 2011, 7:33:15 AM6/7/11
to anthologize-dev
Has anyone experienced timeout problems when exporting the epub file? I
´m running a quite large export (800 posts + images) on a localhost
and the memory seems to run out even when set to 1024.

I have tried this on one remote server and two different localhost
installations (on different computers).

Suggestions on how to change the settings so that it will be possible
to export the file?

Patrick Murray-John

unread,
Jun 7, 2011, 9:48:49 AM6/7/11
to antholo...@googlegroups.com
For very large exports, the resource limits on the server will always be
a problem. You might try adjusting the max_execution_time setting in
php.ini and see if that helps.

Patrick

Mårten

unread,
Jun 15, 2011, 6:30:07 AM6/15/11
to anthologize-dev
I have set the max_execution_time to 40000 seconds, and the
memory_limit to 6 GB.
This gives me partial files (different sizes and only works randomly),
but none complete Epub files.

Going to try to crop the images to see if they are the problem.

Or could this be a problem with the operating system (running Windows
7) ? That it times out before the actual server does?

The thing that happens if the Epub-file is not downloaded, is that
admin.php becomes a downloadable file.

Gershon Lehrer

unread,
May 9, 2012, 9:40:42 AM5/9/12
to antholo...@googlegroups.com
Would it not be an option to add the possibility to export the file in steps? Meaning that the plugin will work on the export until the  max_execution_time  will be reached, at that moment, it will automatically start a new process which in fact will continue from where it left in the previous step.
I've seen other programs doing that in combination with AJAX and it works as a charm, thanks to this there should then not be any time-out anymore.

I hope that the team will be able to work on this?

Gershon

don kretz

unread,
May 9, 2012, 1:50:50 PM5/9/12
to antholo...@googlegroups.com
The most enduring issue on this thread seems to revolve around the scalability of something
in the application. I'm still waiting for it to settle down so I can work on my projects (which
are book-scale.)

It seems to progress, by not really satisfactorily yet.

I'm assuming it's past the point where there are issues about developers learning to
use the functions appropriately, but is possibly something inherent in the php libraries we
are using.

Any comment on the situation, and whether there are any expectations of a break-through?
Reply all
Reply to author
Forward
0 new messages