• I read around that this plugin does not allow to pass a certain amount of multiple upload. For example multiple files max 999. This limit was imposed to prevent the time out of the server. Instead we should say to the author of the plugin to give us the ability to set up multiple limit.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Dion Hulse

    (@dd32)

    Meta Developer

    @yeslive There’s no artificial limits imposed by the plugin, you can import as many items at a time that you want.

    It’ll simply process the items you’ve selected until PHP either runs out of memory, PHP hits it’s maximum execution time, or your web server severs your connection to the server.

    Thread Starter yeslive

    (@yeslive)

    I hate to tell you but your plugin will not work if exceeded 999 multiple files.

    Thread Starter yeslive

    (@yeslive)

    After selecting all the files, and pressing the “add to server” button, it does not process files and return to the main screen.

    Thread Starter yeslive

    (@yeslive)

    If I select a few files simultaneously, plug in works. Make yourself a proof of what I say. I have a dedicated XEON server with 16 GB of RAM, and 2 terabytes of hard drive, unlimited resources.

    Plugin Author Dion Hulse

    (@dd32)

    Meta Developer

    I’m sorry, but it’s not my job to “prove” you anything.
    I’ve stated, as the plugin author, that there is no built in 999 limit. You will find no occurrences of 999 or 1000 within the plugin. You’ll find that the Open-Source code simply loops over the values it receives from PHP.

    My assumption is that if it’s not caused by a PHP timeout, as it doesn’t sound like it, it’s caused by a server-level security module blocking/removing POST variables containing more than 999 items. Probably something like Suhosin’s suhosin.request.max_vars or suhosin.request.max_array_index_length. Check the output of <?php phpinfo(); on the server for something mentioning 999 or 1000 as a limit – It could also be within an Apache or Nginx security module though.

    Plugin Author Dion Hulse

    (@dd32)

    Meta Developer

    I’ll also add though, that a future release will most likely remove the current handling of uploads and move to running each individual import through the REST API.
    There’s no timeframe for when that will happen (ie. many months), but when it does, each file will be queued on the client side, avoiding any such POST variable limits a server imposes, and hopefully dealing with servers with low memory & execution caps better.

    Thanks for the reply, I have solved the problem.
    The problem was due to the limitation of php.ini in fact I changed the variable
    max_input_vars = 4000
    In addition to prevent the error “504 Gateway Timeout nginx”, you have to follow this guide.
    https://asdqwe.net/blog/solutions-504-gateway-timeout-nginx/

    Is done importing all the files, the only thing I noticed, is not shown the graphical display of the files that are imported to the server.

    • This reply was modified 7 years, 8 months ago by diskoremote.
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Increase multiple file add from server’ is closed to new replies.