GreXXL I tried but no that good improvement ... only a 2-5 seconds difference

And also after doing this new signup users are not giving a notification to admin that someone is registered and it takes the same time to register by Google (FOF Oauth) around 40-60 seconds

    xasharma Something seriously wrong with your server's setup. The resources are way enough to host Flarum, and yet you struggle. This also goes beyond supporting Flarum as everything points to this not being related to Flarum. If you have trouble setting up the server, you might find someone you can hire to help you configure it in theServices tag.

      5 days later

      Is the error message still the same ? If MySQL is denying connection, it's not a Flarum-specific issue.

      If you are out of ideas you could try contacting your hosting support or if they have a community forum, maybe other users of that hosting experienced issues with MySQL as well.

      If you really don't find anything, you should probably try provisioning a new server, either with the same host or with a different host and see if the issue appears there as well.

        clarkwinkelmann

        clarkwinkelmann Is the error message still the same ?

        Yes, not always, i get this error 2-3 times a day and problems are still same.

        xasharma It reproduces sometimes... I changed my hosting also to run the site fast .... but with 4 Cores and 6 GB RAM, it is still very slow, it takes around 40-60 seconds to register a user and takes around 20 - 40 seconds to post a discussion and takes 20 - 40 seconds to post a Post. And i have turned off the notifications for all users.
        It uses only 40 - 60% of CPU and around 50-70% RAM on average

        clarkwinkelmann I use cpanel and @luceos helped me to migrate my site from old hosting to new one.

        On cPanel, as we all know, the main site index is in the public_html directory, And on the home path (before public_html), I have my data folder named "flarum", in this folder the all data is stored.

        Screenshot -

        Screenshot of public_html data

        Screenshot of the flarum directory -

        Screenshot of the public directory under flarum directory - (but i checked the files both all are not working/not used and the main data is in public_html >> assests directory as shwon in the 2nd screenshot

        May be there is an error

          Wellwisher did the problem occur before or after migration?

          After, First I tried the normal flarum, and after the database migration it was very slow

          Wellwisher What’s the sites url?

          hacksnation

          My small brain says there's two things you can possibly look into:

          1. Make sure there are no firewall restrictions preventing the connection. E.g ModSecurity is known to cause issues.

          ModSecurity is an Apache module which works as a web application firewall.

          It blocks known exploits and provides protection from a range of attacks against web applications. However, sometimes, ModSecurity may incorrectly determine that a certain request is malicious, while it is actually legitimate. In such a situation we can white-list triggered mod_security rule on the server, so that you can bypass the block.

          We have found and whitelisted a few triggered rules on the server. You can test your website updating once again now.

          1. There's a small chance an extension could be causing the issue too. Try disabling all modifications and see if your new members are able register at normal speed.