[erlang-questions] Error while writing to a file

Surindar Sivanesan surindar.shanthi@REDACTED
Mon Apr 2 09:31:12 CEST 2007


Dear all,
Its a gentle reminder.
Sorry for disturbing you all again.
Since this error in writing file is happening often, please give your
inputs.


On 3/22/07, Surindar Sivanesan <surindar.shanthi@REDACTED> wrote:
>
> Dear all,
> I have an application in Erlang which has as many as 200 processes running
> simultaneously.
> All the 200 process will access a process (Module name -file_writer) which
> write log to a file. Sometimes, the following error is occured.
>
> =ERROR REPORT==== 22-Mar-2007::15:45:16 ===
> ** Generic server file_writer terminating
> ** Last message in was {'$gen_cast',{write_log,
>                                         "22/3/2007",
>                                         "15:45:16",
>                                         "Empty",
>                                         "Process_63",
>                                         "Process 63 log off"}}
> ** When Server state == [<0.45.0>,<0.44.0>]
> ** Reason for termination ==
> ** {badarg,[{io,put_chars,[<0.45.0>,"22/3/2007"]},
>             {io,o_request,2},
>             {file_writer,handle_cast,2},
>             {gen_server,handle_msg,6},
>             {proc_lib,init_p,5}]}
>
> Please help me in sorting out this problem.
>
> --
> with regards,
> S.Surindar
>



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


More information about the erlang-questions mailing list