[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
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
-------------- 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