LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 08-28-2023, 03:01 AM   #1
Brief-Wishbone9091
LQ Newbie
 
Registered: Apr 2023
Posts: 23

Rep: Reputation: 8
How do you deal with server fault where it hangs but doesn't get stopped?


We've some servers in linux and those servers get hang(stuck) but not stopped. So, how can I deal with those servers. It's not clear what's the cause of this stuckness. Any guidance will be appreciated.
 
Old 08-28-2023, 07:03 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,509

Rep: Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377
Care to provide more information? Like every bit of where you're at, what you've checked, what logs say, what's just happening before, what should happen but isn't etc? This is a server, so you're some class of sysadmin, right?

I don't fancy outlining all the possible reasons why things might get stuck.
 
Old 09-14-2023, 11:41 AM   #3
munirashraf9821
LQ Newbie
 
Registered: Sep 2023
Posts: 1

Rep: Reputation: 0
Man, server hang-ups are always a headache. I've faced similar issues in the past. If it's not giving you any error messages, it's kinda like flying blind. Have you tried looking at the logs just before the hang occurs? Could help pinpoint if it's a software issue or something else.

Another route is to use monitoring tools to see if it's a resource bottleneck. If all else fails, sometimes a hard reboot might be the only way to get it back online, but I know that's not ideal. Would love to hear how others are tackling this issue.
 
Old 09-14-2023, 11:52 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,812

Rep: Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003
Quote:
Originally Posted by munirashraf9821 View Post
Man, server hang-ups are always a headache. I've faced similar issues in the past. If it's not giving you any error messages, it's kinda like flying blind. Have you tried looking at the logs just before the hang occurs? Could help pinpoint if it's a software issue or something else.

Another route is to use monitoring tools to see if it's a resource bottleneck. If all else fails, sometimes a hard reboot might be the only way to get it back online, but I know that's not ideal. Would love to hear how others are tackling this issue.
You're a spammer; your spam link in your only other post has been reported. And if you actually read the post here, you'd see they were already asked about logs and to provide more details.
 
Old 09-24-2023, 01:09 PM   #5
Red Squirrel
Senior Member
 
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,338

Rep: Reputation: 54
I would find a way to confirm it's not just the network hanging. Reason I say that is I have a server that will randomly lose the entire network stack, but the server itself is still running. My "fix" is a script that runs every 15 minutes that tries to ping a bunch of local servers and then google. If every single one of those fails it will reboot the server. It's an automation server so I can tell it's still running because the automation stuff still happens, it's just that I lose network connectivity to it. It's a really weird issue since it happens maybe once or twice a year only so it's very hard to troubleshoot.


If the whole server is completely hung and it's doing this often enough I would maybe hookup a monitor to it and run something like "dmesg -w" and wait to see if it catches anything in the last moments before it hangs. That's assuming it's not crashing to the point that it loses display.
 
  


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
seg fault / mem fault - in cron, but works in shell? kauaikat Red Hat 1 04-29-2008 04:24 PM
seg fault / mem fault - in cron, but works in shell? kauaikat Linux - Software 1 04-29-2008 08:21 AM
LXer: The Fourth ‘Patent Deal’ was with Europe… and the Sixth Deal That Won’t be LXer Syndicated Linux News 0 10-24-2007 03:40 PM
Printer? How resume Jobs if Printer Stopped: jobs stopped? Reluctant Linux - General 0 06-03-2006 01:36 PM

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

All times are GMT -5. The time now is 06:14 AM.

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