Score:0

How to investigate apache server becoming unresponsive

cn flag

I'm running a Debian 11 Server with an Apache 2.4.56 server that only serves to redirect URLs to a memos docker container and the element frontend of my matrix instancee.

Unfortunately, the server becomes unresponsive for 20-30 minutes several times per day. This is not load-related, both CPU and RAM never exceeded 25% usage. (It also serves less than a dozen users, and they do not use it frequently.)

When this happens, I can still ssh into the system and restart apache, after which everything is fine for a while again. This is why I heavily suspect that apache is at fault.

My questions are:

  • How do I investigate this?
  • What logs could I be having a look at, and what would I be looking for?
  • Are there any tests I should run when this happens the next time?

UPDATE: Unfortunately I did not determine the exact cause of this. However, I did switch to nginx and have not had any trouble since. It is possible that apache was simply too much for my server.

Rizwan.A avatar
cn flag
you can check following question, hope this helps https://serverfault.com/questions/849705/apache-unresponsive-stalling-occasionally
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.