-
Notifications
You must be signed in to change notification settings - Fork 691
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IOError: [Errno 90] Message too long #1265
Comments
Maybe it is the same reason as in #1266 - stdout is set as nonblocking. Errno 90 == EMSGSIZE and https://linux.die.net/man/2/send: |
Any ideas? |
If we set option |
any news ?.. |
Received same issue in our app recently.
any news on this guys? |
I've finally found a workaround. Set the option |
This did not work for me. I added three zeros on top of 1000000. Still gives same error. |
uWSGI does not handle properly printing to stdout big strings when using logger option.
$ uwsgi --version
2.0.13.1
$ uname -a
Linux 4.4.0-22-generic #40-Ubuntu SMP Thu May 12 22:03:46 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Example:
$ rm -f /tmp/uwsgi.log; uwsgi --http=:9090 --logger=file:/tmp/uwsgi.log --eval='print "x" * 300000'; tail /tmp/uwsgi.log
Python version: 2.7.11+ (default, Apr 17 2016, 14:00:29) [GCC 5.3.1 20160413]
*** Python threads support is disabled. You can enable it with --enable-threads ***
Python main interpreter initialized at 0x144f9c0
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 60 seconds
mapped 145536 bytes (142 KB) for 1 cores
*** Operational MODE: single process ***
Traceback (most recent call last):
File "uwsgi_eval_config", line 1, in
IOError: [Errno 90] Message too long
The text was updated successfully, but these errors were encountered: