LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-06-2011, 08:47 PM   #1
kenhu1970
LQ Newbie
 
Registered: Jan 2011
Posts: 3

Rep: Reputation: 0
Question System crash every 3 weeks


dear all:

"system crash" means that:
(1)I can ping it , but can not connect to it (via ssh or http or anything else)
(2)the major role of that machine is to run a web application written in java, every 3 weeks(almost that), the users inform us and say they can log in that web application , and we find the situation just like (1) says.

When this happen , we can only restart the machine by pushing the power button.(It's sad !)

I've try to read all the log files located in /var/log but find nothing interesting.

Can anyone give me some advices : what should I do next? what investigations I should try ?

Thanks in advance.

Ken @ Taiwan ~
 
Old 01-06-2011, 09:11 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3603Reputation: 3603Reputation: 3603Reputation: 3603Reputation: 3603Reputation: 3603Reputation: 3603Reputation: 3603Reputation: 3603Reputation: 3603Reputation: 3603
Moved: This thread is more suitable in the Linux Server forum and has been moved accordingly to help your thread/question get the exposure it deserves.

- What hardware, amount of RAM, OS, release, kernel?
- What Java application and what memory settings?
- When did this start and what happened at that time hardware, software or configuration-wise?
- Wat (debug) logging and system statistics data (SAR) is available?
 
Old 01-07-2011, 04:05 AM   #3
kenhu1970
LQ Newbie
 
Registered: Jan 2011
Posts: 3

Original Poster
Rep: Reputation: 0
>>What hardware, amount of RAM, OS, release, kernel?

It's a HP Proliant ML-380 with 4GB ram running CentOS 5.4

>>What Java application and what memory settings?

-Xms512m -Xmx2048m -XX:MaxPermSize=256m

>>When did this start and what happened at that time hardware, software or configuration-wise?

The system is up and running since April, 2010. The first time it crash like this is at November, 2010.
No any special event happens, It just suddenly turn to be unresponsive.

>>Wat (debug) logging and system statistics data (SAR) is available?

Log files produced by syslogd + (cpu loading/JVM Heap space info.) collected by our homemade scripts.
 
Old 01-07-2011, 05:57 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3603Reputation: 3603Reputation: 3603Reputation: 3603Reputation: 3603Reputation: 3603Reputation: 3603Reputation: 3603Reputation: 3603Reputation: 3603Reputation: 3603
Quote:
Originally Posted by kenhu1970 View Post
-Xms512m -Xmx2048m -XX:MaxPermSize=256m
- What Java application, version, release, vendor?
- If homebrewn is there a developer who knows his way around log4j to provide you with more war / garbage collection / memory / debug logging?
- If bought did you contact the vendor?


Quote:
Originally Posted by kenhu1970 View Post
The system is up and running since April, 2010. The first time it crash like this is at November, 2010.
No any special event happens, It just suddenly turn to be unresponsive.
- No software updates or re-configuration at all?


Quote:
Originally Posted by kenhu1970 View Post
Log files produced by syslogd + (cpu loading/JVM Heap space info.) collected by our homemade scripts.
And what errors do those logs show before the machine becomes unresponsive?
And what do the load / heap logs show wrt memory usage?

While I'm no proponent of doing things this way would regularly restarting Jakarta (when there's no users connected and say once per month?) help keep the machine on its feet longer while you fix the issue?

Last edited by unSpawn; 01-09-2011 at 10:07 AM. Reason: //Fix wrong quoting
 
Old 01-09-2011, 09:55 AM   #5
sweetdreamz
LQ Newbie
 
Registered: Jan 2011
Posts: 3

Rep: Reputation: 0
paste details from the log file so that we can help.

Last edited by GrapefruiTgirl; 01-09-2011 at 10:18 AM. Reason: Signature disabled due to advertising.
 
Old 01-13-2011, 05:01 AM   #6
kenhu1970
LQ Newbie
 
Registered: Jan 2011
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by sweetdreamz View Post
paste details from the log file so that we can help.
Thanks for everyone trying to help me ...
But my problem is : I am not sure what logs should I read and provide its content here .

The cpu loading and jvm heap consumption logs made by our own have no change before the system crash.

And the system logs in /var/log produced by syslogd seems ok to me after I read some of them like secure, message, etc.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Linux Game "System of Tomorrow" Ships in Two Weeks LXer Syndicated Linux News 0 11-22-2008 05:40 PM
system crash trailer8713 Linux - Newbie 3 02-18-2008 08:03 PM
system crash anurak Red Hat 1 06-16-2006 10:48 AM
Bad bad crash every two weeks blkmage Linux - General 2 10-24-2004 07:53 AM
System Crash!! need help please infected Linux - Software 0 07-30-2003 09:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration