Hi José,

Chamilo 1.8.7.1 is using PCLZip (a PHP library) to create the ZIP file.
It is not an ideal library (anymore) as it uses PHP to execute a process
that is heavy per se.

We had the problem in the past with the SCORM packages import and found
that executing zip on the command line (through exec) was a quick but
acceptable fix. This effectively boosts the zipping, but passes the hand
to something else than your webserver and might be more difficult to
control (from your webserver's statistical tools). You may find
inspiration for that code somewhere around
main/newscorm/scorm.class.php.

In any case, processing a lot of files at one time is a heavy process
for a web application, so I'm not surprised. You can also disable the
possibility to download a zip if that's not desired.

Best regards,

Yannick
E
l mié, 15-06-2011 a las 10:50 +0200, Jose Manuel Abuin Mosquera
escribió:
> Hi all,
> 
> we are having problems with our server with Debian Lenny 64 bits and
> Chamilo 1.8.7.1 in the Documents section.
> 
> When a user clicks on the "Download folder" icon or he/she downloads
> an entire folder into zip format the current load of our server goes
> up to values around 10.0 and even 20.0, these are values extremely
> high.
> 
> Does anybody experience this problem??Or is this a problem with our
> own server??
> 
> I was going to publish this on the tracking system but I don't know if
> it's our problem or not.
> 
> PS: The course is around 1200 files and 300 MB
> 
> Regards. 
> -- 
> 
> José Manuel Abuin Mosquera
> Técnico de E-Learning
> Centro de Supercomputación de Galicia
> Tel: +34 981 56 98 10
> Fax: +34 981 59 46 16
> 
> 
> 
> _______________________________________________
> Dev mailing list
> Dev@lists.chamilo.org
> http://lists.chamilo.org/listinfo/dev


_______________________________________________
Dev mailing list
Dev@lists.chamilo.org
http://lists.chamilo.org/listinfo/dev

Reply via email to