[erlang-questions] ei_connect fails sometimes with EIO

Andre Nathan <>
Thu Dec 1 14:49:48 CET 2011


On Tue, 2011-11-29 at 08:25 -0200, Andre Nathan wrote:
> On Tue, 2011-11-29 at 17:20 +0800, Wei Cao wrote:
> > I had similar problems before, when I read user information inside
> > mnesia database 
> > times to times from a proxy written in C. Each time, I acquire a
> > connection via ei_connect()
> > and close it after user info is read.
> 
> Interesting, that's exactly what I'm doing...
> 
> I'll try your patch and report back.

This, together with the fix to use unique node names made the errors go
away. Maybe this patch could be sent upstream?

Thanks!
Andre




More information about the erlang-questions mailing list