ps I increased the below

sysctl -w net.core.somaxconn=10000

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_LIBRARY_PATH=
/opt/pypy3/bin/libpypy-c.so

On Sat, Apr 6, 2019 at 7:25 PM David Montgomery <davidmontgom...@gmail.com>
wrote:

> Why? I dont get it.  Below are the limits I set on ubuntu 18.04
>
> cat /proc/sys/fs/file-max
> 200000
>
> ulimit -Hn
> 100000
>
>  ulimit -Sn
> 100000
>
>  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"]["total"] %>
> b: 32768
> master: true
> enable-threads: true
> pypy-lib: /opt/pypy3/bin/libpypy-c.so
> listen: 1024
> logto2: /tmp/<%=@server_type %>.log
> touch-reload: /var/geoaiServer<%=@Server_type%>/wsgi.py
> master-fifo: /tmp/uwsgi_api_master_fifo
> wsgi-file: /var/geoaiServer<%=@Server_type%>/wsgi.py
> pp: [/var/geoaiServer<%=@Server_type%>]
>
>
>
>
> your processes number limit is 64064
>
> your memory page size is 4096 bytes
>
> detected max file descriptor number: 1024
>
> lock engine: pthread robust mutexes
>
> thunder lock: disabled (you can enable it with --thunder-lock)
>
> Listen queue size is greater than the system max net.core.somaxconn (128).
>
> your processes number limit is 64064
>
> your memory page size is 4096 bytes
>
> detected max file descriptor number: 1024
>
> lock engine: pthread robust mutexes
>
> thunder lock: disabled (you can enable it with --thunder-lock)
>
> Listen queue size is greater than the system max net.core.somaxconn (128).
>
> your processes number limit is 64064
>
> your memory page size is 4096 bytes
>
> detected max file descriptor number: 1024
>
> lock engine: pthread robust mutexes
>
> thunder lock: disabled (you can enable it with --thunder-lock)
>
> Listen queue size is greater than the system max net.core.somaxconn (128).
>
> your processes number limit is 64064
>
> your memory page size is 4096 bytes
>
> detected max file descriptor number: 1024
>
> lock engine: pthread robust mutexes
>
> thunder lock: disabled (you can enable it with --thunder-lock)
>
> Listen queue size is greater than the system max net.core.somaxconn (128).
>
_______________________________________________
uWSGI mailing list
uWSGI@lists.unbit.it
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to