<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi All,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Is this a bug in Inets?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>OR</FONT> </DIV>
<DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Are there any way to automatically
rotate the access_log ? (or the only solution is manual deletion/rename of
the file)</FONT></DIV></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Regards,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Sanjaya Vitharana</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV style="FONT: 10pt arial">----- Original Message -----
<DIV style="BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> <A
title=sanjaya@wavenet.lk href="mailto:sanjaya@wavenet.lk">Sanjaya Vitharana</A>
</DIV>
<DIV><B>To:</B> <A title=erlang-questions@erlang.org
href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</A> </DIV>
<DIV><B>Sent:</B> Sunday, 17 September 2006 05:51 pm</DIV>
<DIV><B>Subject:</B> [erlang-questions] Fw: inets - traverse exit from apply
?</DIV></DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>Hi ... all,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Problem was the file size of inets</FONT></DIV>
<DIV><FONT face=Arial size=2>access_log 2,147,483,647 bytes (~2.00
GB)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>
<DIV><FONT face=Arial size=2>Are there any way to rotate it ?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks in advance.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Sanjaya Vitharana</FONT></DIV></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV style="FONT: 10pt arial">----- Original Message -----
<DIV style="BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> <A
title=sanjaya@wavenet.lk href="mailto:sanjaya@wavenet.lk">Sanjaya Vitharana</A>
</DIV>
<DIV><B>To:</B> <A title=erlang-questions@erlang.org
href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</A> </DIV>
<DIV><B>Sent:</B> Sunday, 17 September 2006 03:15 pm</DIV>
<DIV><B>Subject:</B> [erlang-questions] inets - traverse exit from apply
?</DIV></DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>Hi ... all,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>After running the system for 6 months
time inets begin to crash,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Try to replace the original function with below 3
lines to make sure it is not other than the http call to inets
httpd.</FONT></DIV>
<DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>read_prof(SessionID,Env,Input)-><BR>
io:fwrite("***blocked for testing***~n"),<BR>
mod_esi:deliver(SessionID, "{error,blocked}"). %%-- for testing</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>same result, so my doubt is the inet
httpd.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>the error_log, <FONT face=Arial size=2>error_disk_log.1 of inets show the
below errors ? what those means ?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Need quick fix. Anyone have experience with this
error ?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Please help.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Sanjaya Vitharana</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>------------------------------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2>System Info:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>[root@prof vm_profile]# erl -version<BR>Erlang
(THREADS,HIPE) (BEAM) emulator version 5.4.10</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>[root@prof vm_profile]# uname -a<BR>Linux prof
2.4.21-27.ELsmp #1 SMP Wed Dec 1 21:59:02 EST 2004 i686 i686 i386
GNU/Linux</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>[root@prof vm_profile]# date<BR>Sun Sep 17 14:49:32
IST 2006<BR></FONT><FONT face=Arial size=2></FONT></DIV></DIV>
<DIV><FONT face=Arial
size=2>------------------------------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2>error_log -- inets</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>[17/Sep/2006:09:20:23 +0530] reporting error:
traverse exit from apply: mod_esi:do =>
<BR>{mod_esi_linked_process_died,<0.221.0>,normal}<BR>[17/Sep/2006:09:20:25
+0530] reporting error: traverse exit from apply: mod_esi:do =>
<BR>{mod_esi_linked_process_died,<0.225.0>,normal}<BR>[17/Sep/2006:10:05:56
+0530] server crash for 192.168.129.20, reason: "Error reading request: No
request received on keep-alive connectionbefore server side
timeout"<BR>[17/Sep/2006:12:50:08 +0530] reporting error: traverse exit from
apply: mod_esi:do =>
<BR>{mod_esi_linked_process_died,<0.214.0>,normal}<BR>[17/Sep/2006:12:50:10
+0530] reporting error: traverse exit from apply: mod_esi:do =>
<BR>{mod_esi_linked_process_died,<0.218.0>,normal}</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV><FONT face=Arial size=2>
<DIV>------------------------------------------------------<BR>error_disk_log.1
-- inets</DIV>
<DIV><BR>{mod_esi_linked_process_died,<0.305.0>,normal}[17/Sep/2006:09:20:23
+0530] reporting error: traverse exit from apply: mod_esi:do =>
<BR>{mod_esi_linked_process_died,<0.221.0>,normal}[17/Sep/2006:09:20:25
+0530] reporting error: traverse exit from apply: mod_esi:do =>
<BR>{mod_esi_linked_process_died,<0.225.0>,normal}[17/Sep/2006:10:05:56
+0530] server crash for 192.168.129.20, reason: "Error reading request: No
request received on keep-alive connectionbefore server side
timeout"<BR>[17/Sep/2006:12:50:08 +0530] reporting error: traverse exit from
apply: mod_esi:do =>
<BR>{mod_esi_linked_process_died,<0.214.0>,normal}[17/Sep/2006:12:50:10
+0530] reporting error: traverse exit from apply: mod_esi:do =>
<BR>{mod_esi_linked_process_died,<0.218.0>,normal}</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>------------------------------------------------------</FONT></DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>erlang-questions
mailing
list<BR>erlang-questions@erlang.org<BR>http://www.erlang.org/mailman/listinfo/erlang-questions<BR>
<P>
<HR>
<P></P>_______________________________________________<BR>erlang-questions
mailing
list<BR>erlang-questions@erlang.org<BR>http://www.erlang.org/mailman/listinfo/erlang-questions<BR></BODY></HTML>