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/<%=@server_type%>.pid
loop: gevent
gevent: 100
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: 100
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%>]
logformat: {"city":"%(city)","region_name":"%(region_name)","time_zone"
:"%(time_zone)","longitude":"%(longitude)","latitude":"%(latitude)",
"country_code":"%(country_code)","country_name":"%(country_name)","region"
:"%(region)","forwarded":"%(forwarded)","STATUS_CODE":"%(status)",
"REQUEST_CONTENT_BODY_SIZE":"%(cl)","switches":"%(switches)","UNIX_TIME"
:"%(epoch)","HTTP_REFERER":"%(referer)","HTTP_USER_AGENT":"%(uagent)",
"REQUEST_URI":"%(uri)","REQUEST_METHOD":" %(method)","REMOTE_USER"
:"%(user)","REMOTE_ADDR":"%(addr)","HTTP_HOST":"%(host)","SERVER_PROTOCOL"
:"%(proto)"}

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)

uwsgi socket 0 bound to TCP address 127.0.0.1:8030 fd 3

uWSGI running as root, you can use --uid/--gid/--chroot options

*** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***

unable to load pypy library: /opt/pypy3/bin/libpypy-c.so: cannot open
shared object file: No such file or directory
_______________________________________________
uWSGI mailing list
uWSGI@lists.unbit.it
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to