[erlang-questions] xmerl troubles

CGS cgsmcmlxxv@REDACTED
Sun Jun 10 13:35:06 CEST 2012

Actually, it does. ERL_MAX_PORTS environment variable and +P option act on
the number of file descriptors as well. {{badmatch,{error,emfile}} says
that the file couldn't be opened or it was opened with errors. It was my
bad I didn't think of the file descriptors as well, but I thought 290 FD's
is incredibly low (I knew 1024 value is the default for Erlang on every
OS). But, thanks to Bob, the problem got solved. Well, my lack of
experience with Mac OS X had its fingerprint in my judgement. Sorry for

Good luck!


On Sun, Jun 10, 2012 at 6:57 AM, Alex Shneyderman

> Thanks, Bob. That indeed was the problem. I upped the limit to 8K and
> all is working now. Odd that the error I am getting has nothing to do
> with the problem  at hand :-(
> Cheers,
> Alex.
> On Sun, Jun 10, 2012 at 12:45 AM, Bob Ippolito <bob@REDACTED> wrote:
> > Are you using Mac OS X? The ulimit probably needs to be adjusted to
> > accommodate the number of sockets you want to open. The default is
> > notoriously low.
> >
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120610/44ee23a5/attachment.htm>

More information about the erlang-questions mailing list