> Anonymized little  bit, but complete. I have --offload commented out since
> I've had some issues with it in the past and I never did proper testing
> for
> this feature.


You may have some memory corruption.

That function is called only if can_offload is 1 and it is set in
core/socket.c:

if (uwsgi.offload_threads > 0) uwsgi_sock->can_offload = 1;

and accessed via wsgi_req->socket->can_offload

you can add some debug to see when (and where) can_offload became 1



-- 
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to