LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-07-2013, 03:48 PM   #1
Vinter
Member
 
Registered: Feb 2005
Location: Germany
Distribution: Aptosid
Posts: 148

Rep: Reputation: 19
Server keeps locking up - how to find cause?


Hi!

I've got a server set up that keeps locking up to the point of not even responding to ping, presumably due to excessive CPU usage. Problem is, I can only ssh into it, and the session becomes unresponsive and terminates as soon as this happens. How can I find out what's causing the problem? It's only got busybox, so I can't use top -b. Would renicing sshd help, for instance? Or are there any other recommendable ways of logging CPU usage?

Thanks!
V.
 
Old 07-07-2013, 04:12 PM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,339

Rep: Reputation: Disabled
In my opinion, it's unlikely that a process in userspace is able to hog the CPU to such an extent that the IP stack stops responding.

Are you sure this is not a kernel panic or a hard lock-up? How do you get the server back up and running when this happens?
 
Old 07-07-2013, 06:40 PM   #3
Vinter
Member
 
Registered: Feb 2005
Location: Germany
Distribution: Aptosid
Posts: 148

Original Poster
Rep: Reputation: 19
I don't do anything to relieve it, it happens regularly - last time I timed it, the lockups happened every minute for about 30 seconds. There's nothing in the crontab to suggest regular activity. It's a NAS, so I'm not exactly sure what could be going on in there...
 
Old 07-07-2013, 07:05 PM   #4
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,339

Rep: Reputation: Disabled
I would suspect some kind of hardware failure. Are there any logs on this system?

Have you looked closely at the network interface, cables and switch ports? Have you tried connecting the NIC on the unit directly to a PC?
 
Old 07-08-2013, 09:58 AM   #5
Mousepad123
LQ Newbie
 
Registered: Oct 2012
Distribution: CentOS or Debian
Posts: 25

Rep: Reputation: 3
It might be bad memory, have you tried running Memtest86 on it?
 
Old 07-08-2013, 02:19 PM   #6
RootMason
Member
 
Registered: Oct 2012
Location: Tucson, AZ
Distribution: Debian/CentOS
Posts: 124

Rep: Reputation: 5
I agree that it may be faulty hardware. I have had the same problem with a corrupt hard drive before. The system tries & tries to correct the problem but in the end the problem is unfixable by the OS and it ends up just hogging CPU time while it attempts repairs.
 
  


Reply



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
Terminal server and file locking pdi Slackware 4 04-15-2011 11:49 PM
Network issue locking up server investmentbnker75 Linux - Networking 19 07-25-2008 02:58 AM
How to find cause of system locking up? Arodef Linux - General 3 05-04-2006 09:05 PM
Server locking on page loads? Which? I_AM Linux - Software 2 11-02-2005 09:21 AM
Server is locking up kemplej Linux - Software 1 10-13-2005 09:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:50 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