• Resolved twisted1919

    (@twisted1919)


    Hello,

    We got a few alerts from newrelic where this particular part of the plugin was responsible for about 98% slowdown of our requests.
    I took a look at the method itself which doesn’t look it does much work to create such a bottleneck, but maybe I am missing something here.
    Can you please take a look and share any insights or reasons why this part of the code could cause such a slowdown?

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi @twisted1919

    AIOWPS\Firewall\Config\init_file creates and save the firewall config to be used for AIOS firewall, which runs before all other wordpress codes.

    I do not think it should be slowing down as it does simple file optionation, yes it might be the issue due to security issue if it can not write the file or may be another thing which might making it slowdown.

    Let me internally create a ticket for this and get back to you..

    Also if you get any more information based on it does simple file operation why it slowdown for it let me know.

    Regards

    Thread Starter twisted1919

    (@twisted1919)

    yes it might be the issue due to security issue if it can not write the file or may be another thing which might making it slowdown.
    — This might be the reason, we’re running under pantheon.io but they don’t list this plugin as being problematic. ( https://docs.pantheon.io/plugins-known-issues )
    I’ll open a ticket with them and get back to you as well.

    Thread Starter twisted1919

    (@twisted1919)

    I just checked and the settings.php file was created in the right place, and it is there since the plugin has been installed first time, specifically, at /wp-content/uploads/aios/firewall-rules/settings.php

    Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi @twisted1919

    Ok, can you please cross check if there is any contents inside it or not also. /wp-content/uploads/aios/firewall-rules/settings.php

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘AIOWPS\Firewall\Config\init_file’ is closed to new replies.