Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
March 23, 20241 yr did it.switch to my theme , few minutes later my forum crash with no system error log at all. 😞 God knows what the reason is Try and test your website for viruses, for example, with this online tool https://online.drweb.com/result2/?url=1
March 23, 20241 yr Author Try and test your website for viruses, for example, with this online tool https://online.drweb.com/result2/?url=1 Scan result: clean
March 23, 20241 yr Author of your theme, what did he say? Did it create an update for you? Try it - create a copy of your theme, enable a copy theme for the default theme. See if it crashes again. Edited March 23, 20241 yr by Adlago
March 23, 20241 yr Community Expert It's looking to appear only in front/forums/global/row. It's related to the Mark app- i think, which is no longer supported. But all the apps are disabled; why does the site keep crashing? https://ibb.co/wN4DPDv Even though apps are disabled, there are times they still load stuff. Try fully uninstalling it and then clearing the system cache.
March 23, 20241 yr Author Maybe i am under attack? My forum crashing in default theam as well My site is down for 2 days now🤔 Edited March 23, 20241 yr by LiveG
March 23, 20241 yr Maybe i am under attack? My forum crashing in default theam as well My site is down for 2 days now🤔 So you must ask your hosting... They must know the situation
March 23, 20241 yr Author Something use all of the memory in once https://ibb.co/h9M2169 Edited March 23, 20241 yr by LiveG
March 23, 20241 yr Community Expert That screenshot does not show all of the memory being used. MySQL is only actively using 10 percent in fact. The Apache and MySQL usage combined memory usage at that moment was less than 5 percent.
March 23, 20241 yr Maybe i am under attack? My forum crashing in default theam as well My site is down for 2 days now🤔 Do you have ACP access?
March 23, 20241 yr Also - Which data storage are you using - - MySQL database - File system - Redis Whith PHP version? Edited March 23, 20241 yr by Adlago
March 24, 20241 yr Author What is your content: htaccess file, and constants php file? yes Also - Which data storage are you using - - MySQL database - File system - Redis Whith PHP version? File systemphp version 8.0 Do you have ACP access? Only when the forum is up Can anyone explain to me how to Capturing errors messages from the server (Linux) into log file? As i understood it could to the root cause of the periodic crashes Edited March 24, 20241 yr by LiveG
March 24, 20241 yr Can anyone explain to me how to Capturing errors messages from the server (Linux) into log file? There are enough descriptions of Apache 2 compatibility with Linux - read and review what is not compatible with your installation. I asked for the contents of two files to you show them, not to confirm their existence... It is possible that some rule in these files is creating an issue that is stressing you out.
March 26, 20241 yr Author Is it safe to share them here? Which log in the picture attached should i tail -f when my site crashes in order to see the root cause? https://ibb.co/6XSWF6y Edited March 26, 20241 yr by LiveG
March 29, 20241 yr Author After many investigations, my server resources (CPU and RAM) suddenly skyrocketed and crashed the server. I want to record logs to a text file for investigation purposes, Please help me better understand which log I should record for the root cause undersatnding. Is it dmesg (displays kernel-related messages) ? Edited March 29, 20241 yr by LiveG
March 30, 2024Mar 30 Author In the logs folder on your server should be a .gz for every domain. These .gz record real-time logs? Another update: the forum doesn't crash when it is in maintenance mode all day (dark for community) ; only when I open it to public it crash after couple of hours. I think this is related to the latest software version IPB has been released. Edited March 30, 2024Mar 30 by LiveG
March 30, 2024Mar 30 Community Expert You can generally tell when there is a big issue with the software because dozens of people are here with the same issue. This topic was created a month and a half ago and there have not been any type of swells of "me too" type messages. So it's likely not a basic code issue that is impacting the majority of users. Now... there could be a problem with how your specific server configuration is setup with the latest version of the software, but that would require you to dig into your server logs to understand that. .GZ are like ZIP files. They're compressed files that contain data. So no, they're not real time. At the end of the day, you need to figure out where or even if your server logs PHP errors to and review those. You theoretically could watch those files in real time if you knew where they were. We can't tell you where those files are because there is no one specific spot for them. It depends on how your specific server was setup. Different OS put files in different places and if you use a control panel, it could be somewhere else even different from the OS default. You may need to hire some sort of server administrator to dig into your server configuration for you if you are not familiar with getting the details of your specific setup. Also... if your board works for a bit and then a few hours later stops working, it's possible your server can't handle the volume of traffic and either needs more resources or needs the server configuration to be optimized. (For example, improving the mySQL my.cnf file, or optimizing the number of Apache processes for the amount of resources of the server.)
March 30, 2024Mar 30 Author Thank you @Randy Calvert Log for php8.0-fpm in the last crash, i need to take care of it, HOPE IT WILL HELP [29-Mar-2024 22:31:09] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 0 idle, and 6 total children [29-Mar-2024 22:31:26] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 16 children, there are 0 idle, and 7 total children [29-Mar-2024 22:31:48] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 8 total children [29-Mar-2024 22:32:04] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 9 total children [29-Mar-2024 22:32:06] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 10 total children [29-Mar-2024 22:32:10] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 11 total children [29-Mar-2024 22:32:13] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 12 total children [29-Mar-2024 22:32:23] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 13 total children [29-Mar-2024 22:32:49] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 14 total children [29-Mar-2024 22:54:45] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 0 idle, and 6 total children
March 30, 2024Mar 30 We start to believe its an some kind of attack Test your security headers https://securityheaders.com/ and show your results Edited March 30, 2024Mar 30 by Adlago
March 30, 2024Mar 30 Community Expert Quote 29-Mar-2024 22:31:09] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 0 idle, and 6 total children These are all saying your PHP-FPM does not have enough processes to handle your traffic. You should look at optimizing your PHP-FPM configuration. I would also suggest looking at the number of Apache processes you have. It MAY be an attack, but if this has been going on for a month and a half, it's not very likely. They don't typically target sites that long unless they're looking to get something from you. It sounds more like you need to optimize your system resources more or move to a bigger server and optimize it.
March 30, 2024Mar 30 Community Expert By the way... if you don't know where your FPM config is and you have root access.... you can run the following command typically: ps aux | grep php-fpm| grep master You should get something like: root 1 0.0 0.9 455112 37324 ? Ss 12:01 0:00 php-fpm: master process (/usr/local/etc/php-fpm.conf) In that case, the config file that FPM is loading from would be /usr/local/etc/php-fpm.conf. You could edit the file in a text editor such as pico, nano, or vim. The file could also be just /etc/php-fpm.conf, or be in a bunch of other places. That's why it's important to know your specific server setup/config.
March 30, 2024Mar 30 @Randy Calvert Is there a configuration that creates an issue described by the author of the topic?