LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-25-2012, 11:55 AM   #1
nuliknol
Member
 
Registered: Jul 2009
Posts: 42

Rep: Reputation: 0
weird segfault error


Hi,
I have a server (gentoo) which has been running for 2310 days without restarting. About a few months ago a weird segmentation fault error started to happen when we ran perl scripts and ssh client. I reinstalled new version of perl and new ssh client not linked against openssl and we stopped to use old binaries. This is how we "solved" it. Month after that I ran ssh client and it worked, so it appears that the problem was fixed "itself". However a few days ago an oracle sqlplus binary started to throw the same segmentation fault error again.
I am suspecting that the error is somewhere in network libraries but I don't know what causes it. I have tryed 'strace'ing it, but can't find any clue. The server is our production environment and I suspect restarting it might fix, but I don't want to restart it since I don't know if it will start up ok, it is a very old machine.

my question is, is there anything I can do to somehow clean the disk cache of the server without rebooting it? Maybe a library file was corrupted in memory and by reloading it I could fix it.
What other things I could do to discover what causing this segfault?
 
Old 10-25-2012, 12:12 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,147

Rep: Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264
Any software update over the last 6 years may have changed a file (such as a library) on disk but not the old copy in memory. No easy way to fix that other than reboot.
 
Old 10-25-2012, 01:35 PM   #3
nuliknol
Member
 
Registered: Jul 2009
Posts: 42

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by smallpond View Post
Any software update over the last 6 years may have changed a file (such as a library) on disk but not the old copy in memory. No easy way to fix that other than reboot.
I have not made any updates to the distribution since the installation. All the new software goes into /usr/local and oracle in /home/oracle so what you suggest doesn't apply in this case.
 
  


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
gnome applications segfault with error 6 in libXrandr LQ? Linux - Software 1 12-08-2009 08:59 AM
segfault error landysaccount Linux - Newbie 18 02-02-2009 04:07 PM
weird segfault issue FloydMorrison Linux - Software 4 01-28-2005 12:14 AM
SDL Error: /dev/snd/pcmC0D0p - "busy" = segfault tireseas Linux - Software 0 07-18-2004 11:35 AM
SW9.1 (crnt) ATI 3.2.8 (gcc 3.3.3?) segfault error Aeiri Linux - Hardware 1 05-27-2004 03:56 PM

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

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