ps I increased the below
sysctl -w net.core.somaxconn=1
Now I get unable to load pypy library: /opt/pypy3/bin/libpypy-c.so: cannot
open shared object file: No such file or directory
even though I added the below to supervisor:
environment=PYTHONPATH=/var/geoaiServer<%=@Server_type%>,LD_LIBRA
Why? I dont get it. Below are the limits I set on ubuntu 18.04
cat /proc/sys/fs/file-max
20
ulimit -Hn
10
ulimit -Sn
10
ulimit
unlimited
Here is my yaml file:
uwsgi:
pidfile: /var/run/<%=@server_type%>.pid
loop: gevent
gevent: 20
socket: 127.0.0.1:8030
processes: <%= node["cpu"
I thought uwsgi was supposed out of the box but it does not.
This is how I install
/opt/pypy3/bin/pip3 install uwsgi==2.0.18
So I was under i build with pypy it will work. Did does not. I even added
the below to my yaml file:
pypy-lib: /opt/pypy3/bin/libpypy-c.so
uwsgi:
pidfile: /var/run/<%