Score:0

how to determine specific website from PID?

us flag
Dog

I'm running a Linux2 webserver on Amazon EC2 which is hosting a number of (mainly wordpress) websites.

Every day at about the same time the server CPU jumps to run at 100% CPU for about an hour.

Using the Top command i see that an instance of httpd is running at 90%+ CPU.

How can i determine which specific site is causing this?

Is it possible to equate the PID to a website?

any other ideas how i can isolate the cause?

user9517 avatar
cn flag
As is often the case, the documentation is your friend - https://httpd.apache.org/docs/2.4/mod/mod_log_config.html#formats
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.