M
M
mr_drinkens892015-06-09 12:39:44
Django
mr_drinkens89, 2015-06-09 12:39:44

Where does server memory go?

Good afternoon.
I don't understand what the problem is.
There is a server with 4 GB of RAM. spinning 8 django sites.
DB: mysql, postgree.
Stack: django+uwsgi+supervisor.
If you try to restart the supervisor - the server freezes. In terms of resources, almost all memory is occupied. The problem is solved only by a full reboot.
Let me know if anyone has experienced this problem.
Thanks

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Konstantin, 2015-06-09
@fallen8rwtf

seriously... first of all it is:
www.linuxatemyram.com

S
sim3x, 2015-06-09
@sim3x

This should help

vacuum=True   
max-requests=2500
harakiri=54

max-requests - after 2.5k requests, it will restart the thread,
but for starters, it's good to understand who ate the resource and why

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question