> Hi,
>
> I'm using errbit (airbrake clone) and I'm getting a lot of errors when
> my apps are posting errors to errbit.
> Sometimes errbit is throwing Errno::EBADF when request.raw_post is called
> https://github.com/errbit/errbit/blob/master/app/controllers/notices_controller.rb#L8
>
> I'm not sure if it's errbit/rails issue but it may also be something
> with uWSGI post buffering. I was using post-buffering 4096 but today
> I've increased it to 32768 to see if it makes any difference.
> I don't see why I'm getting this bad file descriptor error, so it's
> possible that when uWSGI is buffering post data to disk something bad
> is happening. What filesystem location does uWSGI uses to store
> buffered post data?
>


The file is created via the tmpfile() function:

http://www.kernel.org/doc/man-pages/online/pages/man3/tmpfile.3.html




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

Reply via email to