Best practice forum (Archived)

Cron job freezing? SCORM package size limit

 
??
Cron job freezing? SCORM package size limit
?? 发表于 2011年06月19日 Sunday 17:09
 

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?

该论坛帖子已被删除
2011年06月20日 Monday 03:14
该论坛帖子的内容已被删除,无法再访问。
??
Re: Cron job freezing? SCORM package size limit
?? 发表于 2011年07月3日 Sunday 22:49
 

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
Miletic (resigned)Darko 发表于 2011年06月20日 Monday 06:18
 

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
?? 发表于 2011年07月20日 Wednesday 23:12
 

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