Answer the question
In order to leave comments, you need to log in
How to find the cause of the server memory being 100% full?
Hello everybody.
Such a problem:
There is a vps on Debian7 with 12 GB of ram.
It has nginx/1.2.1, Apache/2.2.22, PHP 5.4.45-0+deb7u4, MySQL 5.5.49-0+deb7u1 and 5 sites with a total traffic of about 23,000 per day.
From time to time, 1-2 times a day, the ram is filled to 100% for 5-10 minutes.
Attention, the question is:
How to find the cause of the server memory being 100% full? Is it possible to at least write something like an htop screenshot to some log file?
Answer the question
In order to leave comments, you need to log in
Good afternoon.
The result of a simple top can be written to a file
-n - number of iterations
-b - batch mode, just for writing data to a file.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question