XF 2.2 Forum mostly unreachable(500) and slow

Albanian

Member
Hi,

Since a week my forum is acting very crazy, people often get 500 errors or its very slow. So it's very hard to visit, I thought it had something to do with my server, so I ordered a new VPS and moved it there hoping it would work normally again. But unfortunately, the problems continue, so I have no idea what it's about. When I look in the error logs of my server I see the following:

Code:
    AH01071: Got error 'PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /var/www/vhosts/mydomain.com/httpdocs/src/XF/Db/AbstractStatement.php on line 106'

Code:
    AH01071: Got error 'PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 12288 bytes) in /var/www/vhosts/mydomain.com/httpdocs/src/XF/Db/Mysqli/Statement.php on line 144', referer: https://mydomain.com/service_worker.js

Code:
    19989#0: *125271 upstream timed out (110: Connection timed out) while reading response header from upstream

Code:
[alert] 16245#0: *18631 socket() failed (24: Too many open files) while connecting to upstream

Anybody an idea whats going on with my forum?
 
As I mentioned, I ordered a new and faster server and migrated there. But still same issue. I also don't think it has to do with that since only 17% of the memory is constantly in use, also the problem started one day and another. While I haven't seen any growth in the number of visitors, it has always been consistent.. I think there is something going on in the forum that is just taking up a lot of memory all of a sudden.
 
Suggestion..... if you have your site structure and database backed up.
Roll out a new VPS (your wipe your current and roll out a new OS install) using CentOS (still supported through 06/2024). Then install CentMinMod. I'm sure that AlmaLinux will be fully supported by CentMinMod before CentOS support expires.
The only downfall, you don't have a "real" panel handholding experience, so it assumes you have some knowledge with working with Linux at teh command line.
 
Top Bottom