Answer the question
In order to leave comments, you need to log in
Why does the memory consumption on the server not fall after the completion of all scripts?
Good afternoon.
We will not understand why the memory consumption does not drop after the script ends.
There is no traffic to the site, HTOP information We upload
4 thousand products to the site, consumption grows
Then it does not fall, and at the next upload - an error of lack of memory.
Brief specifications
CPU: 2 RAM: 2 GB SSD: 30 GB
Ubuntu 16.04
Vesta
Answer the question
In order to leave comments, you need to log in
Memory consumption and should not fall. PHP (like any other high-level PL) will not give the operating system memory that it has used at least once, because it may still be needed for similar requests and there is no point in driving it back and forth.
To solve the problem in your case, I see 3 options:
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question