Support » Plugin: Spam protection, AntiSpam, FireWall by CleanTalk » unable to run scan on comments

  • Resolved tommeyboy

    (@tommeyboy)


    When I run a scan on my wp commments which have 10,000+ comments, I get php fatal errors.

    2020/04/28 18:52:59 [error] 54152#54152: *842798 FastCGI sent in stderr: “PHP message: PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 4096 bytes) in /www/site1/public/wp-includes/wp-db.php on line 1989PHP message: PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /www/site1/public/wp-includes/class-wp-error.php on line 62” while reading upstream, client: 96.241.165.115, server: site1.com, request: “GET /wp-admin/edit-comments.php?page=ct_check_spam HTTP/1.0”, upstream: “fastcgi://unix:/var/run/php7.4-fpm-site1.sock:”, host: “site1.com”, referrer: “https://site1.com/wp-admin/edit-comments.php?page=ct_check_spam”

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Support sergecleantalk

    (@sergecleantalk)

    Hello,

    It seems that you have not enough PHP memory. Please check what can use too much memory and increase PHP memory size if possible.

    tommeyboy

    (@tommeyboy)

    We’re hosted on kinsta and we are not able to go above 256GB of ram. What’s odd is that you need that much memory to run a scan. I just tried running another scan and it’s asking for over 16 GB of ram. Most systems do not have that much memory available.

    Error log details below:

    PHP message: PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 16777224 bytes)

    I ran the app one time, but after that first run, I haven’t been able to run it again. What can be done to solve this issue?

    Plugin Support SergeM

    (@serge00)

    Thank you for your feedback, @tommeyboy.

    We will think of optimizing that on the next work week.

    Please, wait.

    Do you have an update on this request? I’d like to subscribe to the the app, but if I cannot scan comments the it’s not worth it.

    Plugin Support amagsumov

    (@amagsumov)

    Hello.

    We need 2-3 days to complete the task.

    Thank you.

    Okay. Thanks. Let me know when it has been fixed.

    Plugin Author Safronik

    (@safronik)

    Hello,

    Thank you for the feedback! We have reduced memory consumption in a few places. Please, let us know the results.

    Please, reinstall the plugin. ( Download link: https://github.com/CleanTalk/wordpress-antispam/releases/download/dev-version/cleantalk-spam-protect.zip )

    Here is an instruction:

    1. Go to WordPress Administrator Panel —> Plugins.
    2. Find the plugin “Spam Protection by CleanTalk” —> Deactivate.
    3. After the automatic page refresh find the plugin again “Spam Protection by CleanTalk” —> Delete. Confirm “Yes, delete these files”.
    5. Go to Plugins —> Add New —> Upload Plugin.
    4. Download the plugin archive from the link above.
    6. Choose the downloaded archive and press “Install Now”.

    Contact us if you have any questions.

    I’m seeing the same error as before. Below is the error message:

    “PHP message: PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 16777224 bytes) in /www/xxxxxxxxx/public/wp-includes/wp-db.php on line 1990” while reading response header from upstream, client: 96.241.165.115, server: xxxxxxxxx.com, request: “GET /wp-admin/edit-comments.php?page=ct_check_spam HTTP/1.0”, upstream: “fastcgi://unix:/var/run/php7.4-fpm-xxxxxxxxx.sock:”, host: “xxxxxxxxx.com”, referrer: “https://xxxxxxxxx.com/wp-admin/edit-comments.php”

    The max memory limit that I have is 256 MB.

    Plugin Support SergeM

    (@serge00)

    Thank you for your feedback, @tommeyboy.

    We will fix it in up to 24 hours. Please, wait.

    Plugin Author Safronik

    (@safronik)

    Hello,

    Lets try it again. Revised some logic. Now it should works a bit faster with less memory needed.

    Please, reinstall the plugin. ( Download link: https://github.com/CleanTalk/wordpress-antispam/releases/download/dev-version/cleantalk-spam-protect.zip )

    Here is an instruction:

    1. Go to WordPress Administrator Panel —> Plugins.
    2. Find the plugin “Spam Protection by CleanTalk” —> Deactivate.
    3. After the automatic page refresh find the plugin again “Spam Protection by CleanTalk” —> Delete. Confirm “Yes, delete these files”.
    5. Go to Plugins —> Add New —> Upload Plugin.
    4. Download the plugin archive from the link above.
    6. Choose the downloaded archive and press “Install Now”.

    Contact us if you have any questions.

    Plugin Author Safronik

    (@safronik)

    Hello @tommeyboy

    Have you tested the development version? Does it use less memory?

Viewing 11 replies - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.