• Resolved sherriw6

    (@sherriw6)


    Hi!

    I’m finding errors in my PHP server logs indicating that the script class-relevanssi-spellcorrector.php is exceeding the script execution time limit. This is usually paired with WP’s meta.php file exceeding the memory limit. (below are two of these instances (it’s flagged at two different line numbers).

    I have enabled the Throttle searches. setting as well as found a bunch of spammy strings in our Relevanssi logs and added those to the keyword spam blocking list. I even added some rate limiting rules to Cloudflare to slow down any rapid hits to our search form. But the issue persists.

    Since the spell corrector seems to be the troublemaker, is there a way to disable any spell correction (I can’t find it in settings)? Or any suggestions on more strategies to mitigate this? This is a very popular, content-heavy site with lots of traffic- search is a vital tool for our users so it gets a lot of legitimate search hits.

    (NOTE: I’m aware that there is a specific process for support for Premium clients. However I’m new to the maintenance of this site and the plugin was bought/implemented long ago. No one has the support login email anymore or even remembers when it was bought, and I’m not even sure how to get our license key out of the plugin, or login for support at this point.)

    [08-Jan-2025 03:03:27] WARNING: [pool example.com] child 10763 said into stderr: "PHP message: PHP Fatal error:  Maximum execution time of 300 seconds exce
    eded in /var/www/vhosts/example.com/httpdocs/wp-content/plugins/relevanssi-premium/premium/class-relevanssi-spellcorrector.php on line 140"

    [08-Jan-2025 03:03:38] WARNING: [pool example.com] child 18431 said into stderr: "PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exh
    austed (tried to allocate 4096 bytes) in /var/www/vhosts/example.com/httpdocs/wp-includes/meta.php on line 1195"

    ----

    [08-Jan-2025 03:23:38] WARNING: [pool example.com] child 10769 said into stderr: "PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exh
    austed (tried to allocate 4096 bytes) in /var/www/vhosts/example.com/httpdocs/wp-includes/meta.php on line 1195"

    [08-Jan-2025 03:25:59] WARNING: [pool example.com] child 8826 said into stderr: "PHP message: PHP Fatal error: Maximum execution time of 300 seconds excee
    ded in /var/www/vhosts/example.com/httpdocs/wp-content/plugins/relevanssi-premium/premium/class-relevanssi-spellcorrector.php on line 108"

    Any info is greatly appreciated- thank you kindly!

Viewing 1 replies (of 1 total)
  • Plugin Author Mikko Saari

    (@msaari)

    I’m sorry, but I’m simply not allowed to provide Premium support here.

    Your API key is stored in the relevanssi_api_key value in the wp_options database table. Find out your key and send it to me ([email protected]), and I’ll check your license.

Viewing 1 replies (of 1 total)

The topic ‘Spellcorrector Exceeding Script Execution Time (300s)’ is closed to new replies.