[erlang-questions] Error while writing to a file

Surindar Sivanesan surindar.shanthi@REDACTED
Thu Mar 22 16:12:58 CET 2007

Dear all,
I have an application in Erlang which has as many as 200 processes running
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,
                                        "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"]},

Please help me in sorting out this problem.

with regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20070322/8d37c738/attachment.htm>

More information about the erlang-questions mailing list