• shepsta

    (@shepsta)


    Having a rather odd issue that I haven’t encountered before. I seem to have been limited in the amount of images I can upload at once. If I upload 15, workes fine. If I try to upload more than that, the site times out.
    I tried using a different method, by uploading via ftp them using the add from server plugin, but it does the same thing, can only add 15 at a time.
    I contacted GoDaddy, they said they are aware of the issue, do not know how to fix it, and to check with wordpress.org for a solution which I thought peculiar. But anyways, here I am checking with you guys to see if you have heard of this before.

    Thanks for any advice.

    [ No bumping please. ]

Viewing 1 replies (of 1 total)
  • Thread Starter shepsta

    (@shepsta)

    Discovered the solution to this problem, or more rather a workaround. What I discovered is that GoDaddy’s servers were lagging out trying to crunch and create the thumbnails. I didn’t notice before, but I was creating 9 thumbnails per image due to the theme and a gallery plugin.

    I also discovered their servers are set to cut a script after 3:30 if its using 100% of any resource. So if it was in the middle of crunching, the server would kick out an error page. either 404 or connection was reset.

    For some reason, their servers were also having a big problem using Imagemagick for image editing. One image would take upwards of 20 seconds to make all the thumbnails.

    I commanded wordpress to prioritize GD by adding this code to the functions

    add_filter( 'wp_image_editors', 'change_graphic_lib' );
    function change_graphic_lib($array) {
      return array( 'WP_Image_Editor_GD', 'WP_Image_Editor_Imagick' );
    }

    Imagemagick would use 100% CPU trying to process images, whereas GD uses 100% I/O and no CPU.
    After hashing out the themes thumbnails that weren’t being used, and with the changes to the image editor, I was able to upload over 300 images a shot rather than the previous 15 images.

    Its not a cure, but hopefully my trials help someone else.

Viewing 1 replies (of 1 total)

The topic ‘Multiple File Uploading issues’ is closed to new replies.