• Resolved mystagogue00

    (@mystagogue00)


    On the “Upload” page of the plugin, a very useful prompt that is stating the definitions and limits of my server when it comes to uploads:

    “Notice: your server allows you to upload 20 files of maximum 5G bytes each and total 5G bytes and allows 3600 seconds to complete. If your request exceeds these limitations, it will fail, probably without an errormessage. Additionally your hosting provider may have set other limitations on uploading files.

    Based on your server memory limit you should not upload images larger then 889.1 Mega pixels
    E.g. not bigger than approx 35250 x 26450 pixels (4:3) or 40700 x 22900 (16:9)

    There is a typo in “errormessage

    The prompt suggests that there is rather an upload limit when it comes to how many items simultaneously can be uploaded via the server.

    Where would be that setting to change on the server? Would it be under /etc/php/8.3/apache2/php.ini entry?

    I do have these changes within the server’s php.ini entry: (the generous resources setup is due to that the server is a installed as a VM locally.)

    memory_limit = 4G
    post_max_size = 5G
    upload_max_filesize = 5G
    max_execution_time = 3600
    max_input_time = 3600

    What do I need to look for, and change perhaps to ‘limitless’ simultaneous uploads (or much larger number)?

    I hope you don’t mind this generic question that is more related to the basic setup of the server rather than of the plugin itself.

    Thank you

    PS: I love the wordings and solid and clear definitions of this statement that are describing the server’s limits of file uploads, actually I didn’t know what is the difference between

    post_max_size = 5G
    &
    upload_max_filesize = 5G

    until I read the description within the plugin generated prompt on the Upload page.

    upload 20 files of maximum 5G bytes each
    and total 5G bytes
    and allows 3600 seconds to complete

    • This topic was modified 3 weeks, 6 days ago by mystagogue00.
    • This topic was modified 3 weeks, 6 days ago by mystagogue00.
    • This topic was modified 3 weeks, 6 days ago by mystagogue00.
    • This topic was modified 3 weeks, 6 days ago by mystagogue00.
    • This topic was modified 3 weeks, 6 days ago by mystagogue00.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jacob N. Breetvelt

    (@opajaap)

    I se (a.o.) the following php ini vars:

    max_execution_time
    max_file_uploads
    max_input_nesting_level
    max_input_time
    max_input_vars
    max_multipart_body_parts
    memory_limit
    post_max_size

    Thread Starter mystagogue00

    (@mystagogue00)

    max_file_uploads

    Back to the Upload page:

    *******************

    Upload

    Notice: your server allows you to upload 10000 files of maximum 5G bytes each and total 5G bytes and allows 3600 seconds to complete. If your request exceeds these limitations, it will fail, probably without an errormessage. Additionally your hosting provider may have set other limitations on uploading files.

    Based on your server memory limit you should not upload images larger then 889.1 Mega pixels
    E.g. not bigger than approx 35250 x 26450 pixels (4:3) or 40700 x 22900 (16:9) Select Multiple files

    You can select up to 10000 files in one selection and upload them.
    Supported filetypes are: jpg, jpeg, png, gif, webp, mp4, ogv, webm, mp3, wav, ogg, pdf, JPG, JPEG, PNG, GIF, WEBP, MP4, OGV, WEBM, MP3, WAV, OGG, PDF
    <small>You need a modern browser that supports HTML-5 to select multiple files</small>

    *******************

    I did change the settings within php.ini that is at

    /etc/php/8.3/apache2/php.ini (logged in as user root at the Ubuntu server) at line 868:

    Maximum number of files that can be uploaded via a single request
    max_file_uploads = 20

    to

    Maximum number of files that can be uploaded via a single request
    max_file_uploads = 1000

    Then of course, restarting Apache2 :

    # /etc/init.d/apache2 restart

    As observed on the plugin’s Upload page, the amount of files that can be uploaded at once has changed from 20 files to 10000 files.

    I thank you once again for your assistance in this, and for you kindly helping out with a basic (and overlooked) yet essential server setup within the PHP configuration file; thus, to overcome WordPress upload limits which do directly effect the plugin’s performance; or at least, to have the plugin to yield more of its great advantages and capabilities.

    • This reply was modified 3 weeks, 5 days ago by mystagogue00.
    • This reply was modified 3 weeks, 5 days ago by mystagogue00.
    • This reply was modified 3 weeks, 5 days ago by mystagogue00.
    • This reply was modified 3 weeks, 5 days ago by mystagogue00.
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.