Best practice forum (Archived)

Cron job freezing? SCORM package size limit

 
? ?
Cron job freezing? SCORM package size limit
by ? ? - Sunday, 19 June 2011, 5:09 PM
 

We uploaded a SCORM package course (made in Articulate) which is 186mb in size. When the cron script runs it seems to hang/freeze when trying to run the course backup for that SCORM package. The cron script never seems to complete as it can't pass the point of the backup...

I ran the cron script manually this morning and it has been going for several hours wihtout completing, where as normally it would complete in a matte rof seconds.

Just wondering if there is a size limit to uploading any SCORM packages to Totara? Or that is affecting the course backup feature of the cron script?

This forum post has been removed
Monday, 20 June 2011, 3:14 AM
The content of this forum post has been removed and can no longer be accessed.
? ?
Re: Cron job freezing? SCORM package size limit
by ? ? - Sunday, 3 July 2011, 10:49 PM
 

I increased the file upload size limits on our server, so we could upload the SCORM package.

I believe the issue is related to what Darko posted about, i'll try increasing the memory limit setting in php.ini and see if that helps.

Darko Miletic
Re: Cron job freezing? SCORM package size limit
by Darko Miletic (resigned) - Monday, 20 June 2011, 6:18 AM
 

Hi Ira,

As you know a backup file is a zip file. By default Totara uses internal php zip implementation for compressing things. The limitation of that approach is that no zip file can be larger than the maximum memory size assigned to the PHP script. You could try setting command line zip utilies to see if that changes anything.

Visit the Administration ► Server ► System Paths for setting this up.

 

 

? ?
Re: Cron job freezing? SCORM package size limit
by ? ? - Wednesday, 20 July 2011, 11:12 PM
 

thanks for that tip.

Setting up the system paths appears to have fixed the issue for the backup, as it is completely successfully now.

cheers

-Ira