<div><br clear="all">Hi all</div>
<div>I have run an erlang program applying OTP principle.It run fine for about 15 minutes and after that, it show error in connecting SQL database.</div>
<div>The error for <strong>odbc:connect( ) </strong>is :</div>
<div> {error,{{badmatch,<br> {error,<br> {<strong>enfile</strong>,<br> [{erlang,<br> open_port,<br> [{spawn,tcp_inet},<br> [binary]]},
<br> {prim_inet,open0,1},<br> {prim_inet,open1,2},<br> {inet,open,7},<br> {inet_tcp,listen,2},<br> {odbc,init,1},<br> {gen_server,init_it,6},
<br> {proc_lib,init_p,5}]}}},<br> [{odbc,init,1},<br> {gen_server,init_it,6},<br> {proc_lib,init_p,5}]}}.</div>
<div>Please tell me the reason for this error and guide me to rectify this problem<br>-- <br>with regards,<br>S.Surindar </div>