• Resolved facter

    (@facter)


    Looks like a great plugin that I could definitely use…

    I tried to do one bulk convert after I added the plugin – 177 images … it got through 8, and then just gave a warning

    “Operation Interrupted”

    I have tried resetting, it sometimes gowes through one with no change but then stops again with “Operation Interrupted”

    I’d like to bulk convert my Nextgen images (all 10,000 of them) but Im worried that if this seems a little flakey or I havnt configured something properly that Ill have issues.

    Any thoughts on what could be wrong?

    https://www.ads-software.com/plugins/ewww-image-optimizer/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author nosilver4u

    (@nosilver4u)

    There are two ways that happens:
    1. The user clicks something else while the bulk optimize is running (probably not your case)

    2. The server is killing the process for running too long.

    It usually isn’t a php thing, as php ignores the amount of time spent running exec() commands. I’ve successfully run the bulk optimizer for over 2 hours with the default 30 second php limit.

    So, two things to check for:
    1. Can you figure out which image(s) are being problematic, then attempt to optimize just that one image via the Media Library and see what happens.

    2. Ask your webhost or server admin if there is something in place that would be stopping the bulk optimize process.

    Thread Starter facter

    (@facter)

    Hmmm.

    Well, Im not cliking out of it – its running in an independant windows without me touching it.

    Unfortunately, it also has no pattern to it – it could get 45 records in, or 7, it even got up to 117 out of 177 … so there is no one single image that it seems to actually be having a problem with.

    I have increased my php timeout in the php.ini mysql.connect_timeout in php.ini fromk 60 to 180 to see if that will fix it, and if that doesnt work I’ll consult my web host as to what may be going on.

    Thread Starter facter

    (@facter)

    Okay, no dice with adjusting that setting. I ran the consol and got this error on the Operation Interrupt

    POST https://www.invurt.com/wp-admin/admin-ajax.php 500 (Internal Server Error) load-scripts.php?c=0&load%5B%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jq…:5
    send load-scripts.php?c=0&load%5B%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jq…:5
    x.extend.ajax load-scripts.php?c=0&load%5B%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jq…:5
    x.(anonymous function) load-scripts.php?c=0&load%5B%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jq…:5
    processImage eio.js?ver=3.6.1:56
    (anonymous function) eio.js?ver=3.6.1:62
    c load-scripts.php?c=0&load%5B%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jq…:3
    p.fireWith load-scripts.php?c=0&load%5B%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jq…:3
    k load-scripts.php?c=0&load%5B%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jq…:5
    r

    Not sure why this 500 error is popping up … but you’re probably right, looks like something on the hosting.

    F.

    Plugin Author nosilver4u

    (@nosilver4u)

    sometimes there will be extra info in the error logs on your server for 500 errors, but yeah, definitely should check with your hosting to see if they can help pin down the problem.

    Plugin Author nosilver4u

    (@nosilver4u)

    Just reading through this again for clues as to what could be happening.

    You said “I tried to do one bulk convert…”

    Did you really mean ‘convert’, or just optimize? With this plugin those are two separate operations. If you are dealing with jpgs mostly, it is highly recommended NOT to enable JPG to PNG conversion. The JPG to PNG conversion adds an enormous amount of extra processing time (and cpu usage) with each JPG you process. The standard JPG optimization is pretty quick, but attempting to convert to PNG and optimize a PNG can magnify that up to 100 times or more.

    At any rate, just wanted to clear that up, in case you actually did have that enabled when attempting the bulk optimization.

    Some hosting companies kill processes when they use too many CPU cycles, I know that https://bit.ly/DreamH1 allow you upload a modified PHP.INI or phprc to changes settings such as

    log_errors = 1
    error_log = ../phpError.log
    upload_max_filesize = 512M
    post_max_size = 512M
    max_execution_time = 7200
    max_input_time = 7200
    memory_limit = 512M

    You just create a folder called .php

    Then under that create a folder called 5.3 or 5.4 depending on what version of PHP you are using (create both if you want)

    Then in those 5.3 & 5.4 folders you add the php.ini or phprc txt file you create with the settings you want to change.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Operation Interrupted – bulk convert not working’ is closed to new replies.