[erlang-questions] driver_select by tcp_inet driver failed

Zabrane Mickael <>
Thu Sep 20 13:39:13 CEST 2012


Hi Max,

I faced a similar problem long time ago while using the 1st implementation of "sendfile" in Yaws:
http://osdir.com/ml/erlang-questions-programming/2011-04/msg00380.html

But the error was bit different:
=ERROR REPORT==== 17-Apr-2011::20:49:18 ===
driver_select(0x0000000000000c31, 24, ERL_DRV_WRITE, 1) by
sendfile_drv driver #Port<0.3121> stealing control of fd=24 from
output driver tcp_inet #Port<0.10029>

Regards,
Zabrane

On Sep 20, 2012, at 1:08 PM, Max Lapshin wrote:

> driver_select(0x0000000000000220, 22, ERL_DRV_READ ERL_DRV_USE, 1) by
> tcp_inet driver #Port<0.20000> failed: fd=22 (re)selected before
> stop_select was called for driver efile
> 
> I suppose, that it is somehow related to using sendfile with
> cowboy_http_static, but not sure yet.
> 
> Has someone met with the same problem?
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120920/ceda2b60/attachment.html>


More information about the erlang-questions mailing list