[erlang-questions] MySQL with emysql Issue

Jesper Louis Andersen <>
Mon Sep 2 12:10:39 CEST 2013


On Mon, Sep 2, 2013 at 12:02 PM, Sanath Prasanna <>wrote:

> Else set_connection {{'EXIT',{failed_to_connect_to_database,emfile}},
> =ERROR REPORT==== 2-Sep-2013::12:49:21 ===
> File operation error: emfile. Target: ./lib.beam. Function: get_file.
> Process: code_server.
>

The `emfile` POSIX error code would suggest you are running out of file
descriptors from the operating system. Do you have any knowledge of a leak
in the system and to which subsystem. Try asking the OS about open files so
you can get an idea about what is wrong here.


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


More information about the erlang-questions mailing list