|
From: Tom H. <to...@co...> - 2006-01-16 11:44:45
|
In message <BBC...@br...>
Richard Frith-Macdonald <ri...@br...> wrote:
> On 16 Jan 2006, at 10:52, Tom Hughes wrote:
>
>> In message <88F...@br...>
>> Richard Frith-Macdonald <ri...@br...> wrote:
>>
>>> I just tried adding '--error-limit=no' to the command line to start
>>> tomcat. It generates a bigger log file ... but the log file has
>>> stopped growing, though the valgrind/tomcat process looks like it is
>>> in a loop of some sort (ie a 'ps' shows it in an 'R' state).
>>> The log file stopped growing at 10:13, but it's now 10:40 and 'ps'
>>> shows the the process has now used over 28 minutes of CPU time.
>>
>> Well what does strace say it is doing? What about --trace-
>> syscalls=yes?
>
> I hadn't thought of that ... looks like a signal handling problem of
> some sort ... after adding '--trace-syscalls=yes' I get
> 'SYSCALL[8149,1]( 15) rt_sigreturn ( ) --> [pre-success] Success(0x0)'
> repeated indefinitely at the end of the log file. The log file to
> that point is about 900KB.
Looks like a signal handling issue then - add --trace-signals=yes
and see what that gets you.
Tom
--
Tom Hughes (to...@co...)
http://www.compton.nu/
|