Problems uploading using filepicker, alt-upload

Problems uploading using filepicker, alt-upload

by Benjamin West -
Number of replies: 0

We have recently been preparing a Moodle site using 2.2.3+ since are previous is 1.9 which is stable.

Since using moodle 2.2.3+ on a CentOS 1and1 Server, we are hitting problems with getting stable uploads using the FilePicker.

Small uploads seem to work ok <2mb

We got to a stage where <4mb files worked after applying a patch (20110317-Fix_AJAX_WWWROOT.patch) but still anything near our requirements(at least 10mb) seems to stall the upload, thus never ending).

After some investigation using WireShark, it seems using a fast upload connection it gets to about 7-6mb before stalling, or showing a 500 server error(thou this error isnt shown to the moodle user using the site).

Via reading other pages we have changed all our upload limits to 16mb and timeouts to more than usual. Our mod_fcgid.conf is as follows:

=================================================

# This is the Apache server configuration file for providing FastCGI support
# via mod_fcgid
#
# Documentation is available at http://fastcgi.coremail.cn/doc.htm

LoadModule fcgid_module modules/mod_fcgid.so

<IfModule mod_fcgid.c>

<IfModule !mod_fastcgi.c>
    AddHandler fcgid-script fcg fcgi fpl
</IfModule>

  FcgidIPCDir /var/run/mod_fcgid/sock
  FcgidProcessTableFile /var/run/mod_fcgid/fcgid_shm

  FcgidIdleTimeout 120
  FcgidProcessLifeTime 240
  FcgidMaxProcesses 40
  FcgidMaxProcessesPerClass 8
  FcgidMinProcessesPerClass 0
  #FcgidConnectTimeout 3120
  FcgidIOTimeout 240
  FcgidInitialEnv RAILS_ENV production
  FcgidIdleScanInterval 10
 
  #ProcessLifeTime 7200
  IPCCommTimeout  7200
  IPCConnectTimeout 300
 
  FcgidConnectTimeout 20
  IdleScanInterval 300
  BusyScanInterval 300
  ZombieScanInterval 60
 
  IdleTimeout 10800
  ProcessLifeTime 10800
  BusyTimeout 10800
  FcgidMaxRequestLen 16000000

</IfModule>

===========================================

Also is there a way to upload without using ajax or another way using a repository.

 

 

Average of ratings: -