Christopher Schultz schrieb:
>> Also, in JDK 6 and above, there's another intriguing option:
>> -XX:OnOutOfMemoryError=""
>
> That's pretty cool. For the time being, we're on JRE 1.5, so that's not
> an option. I'll look into it as we look forward to upgrading.
>
>> The above will run an exte
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
Caldarale, Charles R wrote:
>> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
>> Subject: Re: Thread Dumps/ Emailing Results...
>>
>> I have written a script to check for OOMs by checking catalina.out
>> for
> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
> Subject: Re: Thread Dumps/ Emailing Results...
>
> I have written a script to check for OOMs by checking catalina.out
> for "OutOfMemoryError". When such an error is detected, I run the
> following commands (apo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
Caldarale, Charles R wrote:
>> From: keeplearning [mailto:[EMAIL PROTECTED]
>> Subject: RE: Thread Dumps/ Emailing Results...
>>
>> 1) I tried using following to mail the file as attachment (we
>> are also us
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuek,
Caldarale, Charles R wrote:
>> From: keeplearning [mailto:[EMAIL PROTECTED]
>> Subject: Thread Dumps/ Emailing Results...
>>
>> So, do i need to supply process id with this command. Like:
>> kill -3 .
>
> That's one way to do it. My preferenc
> From: keeplearning [mailto:[EMAIL PROTECTED]
> Subject: RE: Thread Dumps/ Emailing Results...
>
> I can get pid using ps -ef | grep tomcat.
Not likely. Tomcat is a Java program, so unless something on the command line
includes the symbol "tomcat" (mine doesn't),
gt;> Subject: RE: Thread Dumps/ Emailing Results...
>>
>> 1) I tried using following to mail the file as attachment (we
>> are also using MS Outlook):
>>
>> mail -s "Subject:test" [EMAIL PROTECTED] < test.log
>
> That's using a Linux mailer,
> From: keeplearning [mailto:[EMAIL PROTECTED]
> Subject: RE: Thread Dumps/ Emailing Results...
>
> 1) I tried using following to mail the file as attachment (we
> are also using MS Outlook):
>
> mail -s "Subject:test" [EMAIL PROTECTED] < test.log
That's u
Thanks for your reply, Chuck.
couple of quick questions:
1) I tried using following to mail the file as attachment (we are also using
MS Outlook):
mail -s "Subject:test" [EMAIL PROTECTED] < test.log
But it sends the output in the body rather than as an attachment. I even
tried uuencode but sti
> From: keeplearning [mailto:[EMAIL PROTECTED]
> Subject: Thread Dumps/ Emailing Results...
>
> So, do i need to supply process id with this command. Like:
> kill -3 .
That's one way to do it. My preference is to use the jstack tool from the JDK,
assuming you're running a 1.5 or 1.6 Sun JVM. Yo
10 matches
Mail list logo