• Resolved donlee101

    (@donlee101)


    For the last few weeks, i’m not able start conversion of all images to webp, inidividual convenrsion and on upload work fine, but if i try to convert all i get the following error Failed to retrieve a response. Please reload the page to try again.

    then in server log i get this:


    69524#0: *3294138 FastCGI sent in stderr: “PHP message: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 27480056 bytes) in?/var/www/vhosts/xxx.uk/devsites.mspbuddy.uk/balnecroftnew/wp-content/plugins/w3-total-cache/Extension_ImageService_Api.php?on line 146” while reading response header from upstream

    i tried increasing memory all the way up to 512MB but doesn’t help.

    my server specs are good 25 Gigs of memory, virtual memory is not full.

    regards,

    Daniel

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @donlee101

    Thank you for reaching out and I am happy to assist you with this.

    The PHP message PHP Fatal error: Allowed memory size of 536870912 means that 536 MB memory size is not sufficient and 512 MB will not do the trick.

    Instead you should try increasing it to 1024 MB.

    Let me know if this helps!

    Thanks!

    Thread Starter donlee101

    (@donlee101)

    that did the trick!

    but why does it require so much memory now?

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @donlee101

    Thank you for your feedback and I am glad that the problem is resolved.

    It’s not about the Image service, it’s more likely about other things on your server and the Image service conversion was a one-too-much to handle.

    Thanks!

    Thread Starter donlee101

    (@donlee101)

    wp memory consumption before running convert all is only around 100 megs.

    Also when i used to run convert all before, it would continue converting even when hourly limit is reached… now it seems i have to hit convert all every hour

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can’t convert all images to webp’ is closed to new replies.