You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
wang[20:22][/tmp]$ uwsgi --raw-socket :7000 --python-raw test.py --master
*** Starting uWSGI 2.0.11 (32bit) on [Fri Jul 10 20:22:54 2015] ***
compiled with version: 4.9.2 on 02 July 2015 17:15:33
os: Linux-3.13.0-55-generic #94-Ubuntu SMP Thu Jun 18 00:28:41 UTC 2015
nodename: wang-X230
machine: i686
clock source: unix
pcre jit disabled
detected number of CPU cores: 4
current working directory: /tmp
detected binary path: /usr/local/bin/uwsgi
your processes number limit is 94605
your memory page size is 4096 bytes
detected max file descriptor number: 100000
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
uwsgi socket 0 bound to TCP address :7000 fd 3
Python version: 2.7.6 (default, Jun 22 2015, 18:03:54) [GCC 4.8.2]
*** Python threads support is disabled. You can enable it with --enable-threads ***
Python main interpreter initialized at 0x8f57b40
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 60 seconds
mapped 127976 bytes (124 KB) for 1 cores
*** Operational MODE: single process ***
*** no app loaded. going in full dynamic mode ***
*** uWSGI is running in multiple interpreter mode ***
spawned uWSGI master process (pid: 569)
spawned uWSGI worker 1 (pid: 570, cores: 1)
connection: 6
done
Traceback (most recent call last):
File "test.py", line 16, in application
data = os.read(fd, 100)
OSError: [Errno 11] Resource temporarily unavailable
Why ?
The text was updated successfully, but these errors were encountered:
I try using uwsgi's raw socket mode, I have the following code
and i start uwsgi with this arguments:
then, in another terminal, I try connect to the uwsgi's raw socket:
But, I got this Error:
Why ?
The text was updated successfully, but these errors were encountered: