axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghavendra SM" <>
Subject Axis Core Dump while writing to log file
Date Wed, 17 Oct 2007 13:06:01 GMT
Hi All,

Please find below the GDB back trace of the core dump I found.

Program terminated with signal 25, File size limit exceeded.
#0  0xb79ac2f1 in write () from /lib/tls/
(gdb) bt
#0  0xb79ac2f1 in write () from /lib/tls/
#1  0xb794ce4c in _IO_file_write () from /lib/tls/
#2  0xb794b869 in _IO_file_setbuf () from /lib/tls/
#3  0xb794b93f in _IO_do_write () from /lib/tls/
#4  0xb794c477 in _IO_file_sync () from /lib/tls/
#5  0xb79416e2 in fflush () from /lib/tls/
#6  0xb7af922b in axutil_log_impl_write_to_file () from 
#7  0xb7af9320 in axutil_log_impl_log_debug () from 
#8  0xb773a34d in axis2_http_worker_process_request 
(http_worker=0x81d4cc8, env=0x81d6348, svr_conn=0x81d6368,
    simple_request=0x81d6438) at http_worker.c:155
#9  0xb7aed01f in axis2_svr_thread_worker_func (thd=0x81c4180, 
data=0x81d4d00) at http_svr_thread.c:256
#10 0xb7b043af in dummy_worker () from /opt/aylus/lib/
#11 0xb7f71ced in start_thread () from /lib/tls/
#12 0xb79bbdee in clone () from /lib/tls/

When: It was produced when the axis2.log file was very huge (like 
3451222890 Bytes) and axis tried to write some logs.

Doubts: 1) Does axis2 log utility support writing to a new log file when 
ever a file becomes huge? If yes, how can we enable it?
	  2) Does axis2 log utility support wrapping of the log file 
instead of appending to it after certain file size limit? If yes, how 
can we enable it?
	  3) Does axis2 has a way to preserve all the logs yet not crash 
due to file size limit? 
	  4) If the answers are NO for all of the above questions, is 
axutil_log_impl_write_to_file() (before the fprintf, line #250)is the 
right place to support either of the above?

Please reply.  


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message