Page 1 of 1

uwsgi-core

Published: May 18, 2015 - 1:54 PM
by jmeyer
Good morning,

I get the following error.
I updated to version 1.2 this morning but I don't know if that's related.

Code: Select all

May 18 13:52:27 debian kernel: [  617.824017] Out of memory: Kill process 3263 (uwsgi-core) score 108 or sacrifice child
May 18 13:52:27 debian kernel: [  617.824333] Killed process 3263 (uwsgi-core) total-vm:160272kB, anon-rss:54936kB, file-rss:24kB
Thanks in advance.

Re: uwsgi-core

Published: May 18, 2015 - 3:56 PM
by jmeyer
After some testing, with 1GB or 2GB of RAM, the problem persists.
The previous message is due to memory saturation at the very beginning of the machine's startup.
If I stop the waptserver service, the memory is freed.

Re: uwsgi-core

Published: May 19, 2015 - 08:55
by jmeyer
New info, I have about 15 instances of uwsgi-core which take up about 5% of the RAM each.
Is it possible to reduce or limit the number of simultaneous instances?
Untitled.png
Untitled.png (93.87 KB) Viewed 6545 times

Re: uwsgi-core

Published: May 20, 2015 - 09:09
by Yvan Karmouta
Good morning,
How many Wapt customers do you have?
At the end of your update, did you restart the postconf script?

Code: Select all

python /opt/wapt/waptserver/scripts/postconf.py

Re: uwsgi-core

Published: May 20, 2015 - 11:02
by jmeyer
Hello,
I have between 250 and 300 WAPT clients.
I just restarted the script, but I don't think I ran it after updating from 1.1 to 1.2 as indicated in the documentation.

Re: uwsgi-core

Published: May 21, 2015 - 08:47
by jmeyer
I just migrated to a new server where I installed 3GB of RAM and 4 cores.
The problem seems to be solved.