Hi,

I have developed an application where i have mentioned the yaws application as a mandatory one in the test.app file as
 {applications,[kernel,stdlib,yaws]} . The application run well for some days.
 Today I got a strange error when i was running this applicaion for the  testing the throughput of my application and for some time the application run well but suddenly i got this error for yaws and the application is stopped.

The below error was recorded into the log file of my application.

Can anyone explain me why this error comes and in what conditions and also some suggestions to avoid this error in the future when i want to check the through put of my application

** Generic server yaws_log terminating 
** Last message in was minute10
** When Server state == {state,true,"/usr/local/var/log/yaws",
                            [91,"29",47,"Dec",47,"2008",58,"19",58,"14",58,
                             ["0","5"],
                             32,
                             [43,["000","0"]],
                             93],
                            undefined,1000000,false,true,
                            {alog,
                                {file_descriptor,prim_file,{#Port<0.118>,13}},
                                undefined,"/usr/local/var/log/yaws/auth.log"},
                            [{alog,
                                 {file_descriptor,prim_file,{#Port<0.117>,12}},
                                 "localhost:2222",
                                 "/usr/local/var/log/yaws/localhost:2222.access"}]}
** Reason for termination == 
** {timeout,{gen_event,call,
                       [error_logger,yaws_log_file_h,wrap]}}

=CRASH REPORT==== 29-Dec-2008::19:14:17 ===
  crasher:
    pid: <0.48.0>
    registered_name: yaws_log
    exception exit: {timeout,
                        {gen_event,call,[error_logger,yaws_log_file_h,wrap]}}
      in function  gen_server:terminate/6
    initial call: gen:init_it(gen_server,<0.47.0>,<0.47.0>,
                              {local,yaws_log},
                              yaws_log,[],[])
    ancestors: [yaws_sup,<0.46.0>]
    messages: [secs3,secs3]
    links: [#Port<0.118>,<0.53.0>,<0.54.0>,<0.47.0>,#Port<0.117>]
    dictionary: []
    trap_exit: false
    status: running
    heap_size: 4181
    stack_size: 23
    reductions: 2786539
  neighbours:

=SUPERVISOR REPORT==== 29-Dec-2008::19:14:18 ===
     Supervisor: {local,yaws_sup}
     Context:    child_terminated
     Reason:     {timeout,{gen_event,call,
                                     [error_logger,yaws_log_file_h,wrap]}}
     Offender:   [{pid,<0.48.0>},
                  {name,yaws_log},
                  {mfa,{yaws_log,start_link,[]}},
                  {restart_type,permanent},
                  {shutdown,5000},
                  {child_type,worker}]
 
=SUPERVISOR REPORT==== 29-Dec-2008::19:14:18 ===
     Supervisor: {local,yaws_sup}
     Context:    shutdown
     Reason:     reached_max_restart_intensity
     Offender:   [{pid,<0.48.0>},
                  {name,yaws_log},
                  {mfa,{yaws_log,start_link,[]}},
                  {restart_type,permanent},
                  {shutdown,5000},
                  {child_type,worker}]

Thanks and Regards,
Phanikar.