Jump to content

Featured Replies

 

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

  • Replies 61
  • Views 3.6k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • There's no hasMarkers method in our code, sounds like a very old template. Can you compare your forums/front/global/row template with the default one?

  • Randy Calvert
    Randy Calvert

    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 typ

  • Upgraded and deactivated this option as recommended. i will monitor it. Thank you @Jim M

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 by Adlago

  • 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. 

  • Author

Maybe i am under attack?

My forum crashing in default theam as well

My site is down for 2 days now🤔

Edited by LiveG

 

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

  • Author

Something use all of the memory in once

https://ibb.co/h9M2169

Edited by LiveG

  • 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. 

 

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?

Also -

Which data storage are you using -
- MySQL database
- File system
- Redis
Whith PHP version?

Edited by Adlago

What is your content:
htaccess file,
and
constants php file?

  • 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 by LiveG

 

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.

  • 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 by LiveG

  • 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 by LiveG

In the logs folder on your server should be a .gz for every domain.

  • 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 by LiveG

  • 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.)  

 

  • 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

  • Author

We start to believe its an some kind of attack

 

We start to believe its an some kind of attack

Test your security headers

https://securityheaders.com/

and show your results

Edited by Adlago

  • 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.  

  • 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.  

@Randy Calvert Is there a configuration that creates an issue described by the author of the topic?

Recently Browsing 0

  • No registered users viewing this page.