Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-06-2011, 08:47 PM
|
#1
|
LQ Newbie
Registered: Jan 2011
Posts: 3
Rep:
|
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 ~
|
|
|
01-06-2011, 09:11 PM
|
#2
|
Moderator
Registered: May 2001
Posts: 29,415
|
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?
|
|
|
01-07-2011, 04:05 AM
|
#3
|
LQ Newbie
Registered: Jan 2011
Posts: 3
Original Poster
Rep:
|
>>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.
|
|
|
01-07-2011, 05:57 AM
|
#4
|
Moderator
Registered: May 2001
Posts: 29,415
|
Quote:
Originally Posted by kenhu1970
-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
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
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
|
|
|
01-09-2011, 09:55 AM
|
#5
|
LQ Newbie
Registered: Jan 2011
Posts: 3
Rep:
|
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.
|
|
|
01-13-2011, 05:01 AM
|
#6
|
LQ Newbie
Registered: Jan 2011
Posts: 3
Original Poster
Rep:
|
Quote:
Originally Posted by sweetdreamz
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.
|
|
|
All times are GMT -5. The time now is 03:20 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|