Solved

Server hangs

Posted on 2011-09-10
13
460 Views
Last Modified: 2012-05-12
Hello,

After 4 months of perfect work my server with opensuse 11.4 started to freeze. When I'm trying to login into it from another server in the same network I get just the following message:
Last login: Sat Sep 10 23:17:38 2011 from blablabla
Have a lot of fun...

and nothing else. From my home pc I can't even get connected with it, just form the neighbour server.
I have 16 Gb of ram and don't believe that swap gets full..Also I have cron job, that is running every 2 min and killing those processes that are using more than 90% of cpu. So it shouldn't be the overload issue either..

Could somebody explain such server behaivior and how to find the cause ? (no error logs)
0
Comment
Question by:tanel
  • 7
  • 3
13 Comments
 
LVL 21

Expert Comment

by:Papertrip
ID: 36517379
Also I have cron job, that is running every 2 min and killing those processes that are using more than 90% of cpu.

That is not a wise thing to do, and is probably the source of your problem.  Have you tried commenting out that cron job and rebooting to start fresh?  Who knows what that cron job killed that shouldn't have been...
0
 

Author Comment

by:tanel
ID: 36517413
I have another server, where autokill cron script is setup to 85% of cpu and everything is fine.
And as I mentioned before the server was stable almost for 5 months and the script kills the processes just with specific name (top -n 1 -b | grep "hlds_i686"). So, any system process can't be killed.
0
 
LVL 21

Expert Comment

by:Papertrip
ID: 36517423
the script kills the processes just with specific name (top -n 1 -b | grep "hlds_i686")

You didn't say that at first, you said "those processes that are using more than 90% of cpu".

Are you able to login via console?  Is the problem happening to all users?  Have you tried logging in from more than 1 other server?

What exactly do you mean by it's starting to freeze?  Is the only symptom here that you are having trouble logging in remotely or is there something else that makes you think the system is hanging?
0
 
LVL 11

Expert Comment

by:maeltar
ID: 36517526
It could well be an issue with HalfLife, can you post your debug.log please
0
 

Author Comment

by:tanel
ID: 36518273
Thanks for your replies!

Every time I have to go to datacentre for hard reboot, since I can't even directly send any command to the shell, it asks for password , accepts and nothing appears (with all system users). No any strange log in messages and the drive space is okey.

There are several hlds's running and it's hard to find the right debug log. Also if something gets to the debug log, the system tells about is in "messages" - "segmentation fault..." BUT always the last logs are as usual.  

I have SSD(with trim) , 16 GB ram and 2 Gb of swap installed. Is it possible, that some process can eat the whole ram and swap in 2 hours ? I don't even know if it's a kernel/OS or hardware issue.. The first step i gonna do now is to switch the kernel with the default suse's one..
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

Author Comment

by:tanel
ID: 36519362
I've requested that this question be deleted for the following reason:

have to test
0
 
LVL 21

Expert Comment

by:Papertrip
ID: 36519363
I don't understand why this is being deleted in order to "test".
0
 

Accepted Solution

by:
tanel earned 0 total points
ID: 36521751
Well, I have changed my recompiled (optimized for hlds) kernel with the opensuse't new one 3.0.4-2.
Also I have turned off cron job, that was every 5 minutes changing priority of hlds processes to -99 (chrt).

The cron for cpu checks is still runnig but i changd its frequency from 1 min to 3.
I made a new other cron for swap chekings.And every 4 minutes it logs the "free -m" output to the file. Lets see..
up 1 day  0:34,  1 user,  load average: 0.02, 0.02, 0.05

Open in new window

0
 

Author Comment

by:tanel
ID: 36536100
Hello,

After some hours of detailed log investigation I have found the CAUSE of freezing:

Sep 11 12:11:52 cs kernel: [  802.825331] [drm:pch_irq_handler] *ERROR* PCH poison interrupt

Open in new window


Any thoughts ?
0
 

Author Comment

by:tanel
ID: 36536128
I google it and it has to be some 2.6.38 kernel issue, that I have been using before..
If someone has more information please let me know.
0
 

Author Closing Comment

by:tanel
ID: 36902138
Fixed by myself.
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Hello EE, Today we will learn how to send all your network traffic through Tor which is useful to get around censorship and being tracked all together to a certain degree. This article assumes you will be using Linux, have a minimal knowledge of …
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now