[erlang-questions] enfile error in socket

Surindar Sivanesan surindar.shanthi@REDACTED
Wed Jul 11 04:23:04 CEST 2007


Our server will not close the socket. The client itself closes the socket.
Do we need to close the socket even after the client closes the socket?
Is that be the reason of enfile error? Because, in the below link, it is
said that,*You're continously opening either files or sockets and not
closing them.*


On 7/11/07, Anthony Kong <KONGA@REDACTED> wrote:
>
>  Maybe this answer your question:
>
> http://www.erlang.org/pipermail/erlang-questions/2006-January/018733.html
>
> Cheers, Anthony
>
> >>> "Surindar Sivanesan" <surindar.shanthi@REDACTED> 11/07/2007 11:47 am
> >>>
>
>  Dear all,
>
> We are using client server program in erlang using TCP/IP (gen_tcp).
> When more clients (around 100) are connected to the erlang server, the
> server willnot accept the connection and returns {error,enfile}.
> What is the reason of this error. Is there any way available to mitigate
> this error. Please give your inputs.
> Thanks in advance
> --
> Best regards,
> S.Surindar
>
> **********************************************************************
>
> ***** IMPORTANT INFORMATION *****
>
> This document should be read only by those persons to whom it is
>
> addressed and its content is not intended for use by any other
>
> persons. If you have received this message in error, please notify
>
> us immediately. Please also destroy and delete the message from
>
> your computer. Any unauthorised form of reproduction of this message
>
> is strictly prohibited.
>
>
>
> St.George Bank Limited AFSL 240997, Advance Asset Management Limited
>
> AFSL 240902, St.George Life Limited AFSL 240900, ASGARD Capital Management
> Limited
>
> AFSL 240695 and Securitor Financial Group Limited AFSL 240687 is not
> liable for
>
> the proper and complete transmission of the information contained in
>
> this communication, nor for any delay in its receipt.
>
> **********************************************************************
>
>
>



-- 
with regards,
S.Surindar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20070711/bf1178ad/attachment.htm>


More information about the erlang-questions mailing list