LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-22-2004, 03:13 PM   #1
chrisellis
LQ Newbie
 
Registered: Jan 2004
Location: uk
Distribution: mandrake
Posts: 7

Rep: Reputation: 0
Linux Server keeps Crashing


I have ahad a mysterious problem on my mandrake linux (10 RC1) server. It has been working fine since christmas then on saturday (19th june) it crashed. this is the first time since christmas it has crashed. I have two other servers which are fine. This server is an aging k6/2 400 with 96mb ram. (my other servers are pentium 266's with 89mb ram and 128mb ram). The server is my email server hosting Qmail and apache with squirelmail. it also is my dns server (BIND 9.2xx). after it crashed i checked my kernel logs. in the kernel.errors log was a list of "out of memory" errors here is an extract:

"Jun 19 10:53:18 mars kernel: Out of Memory: Killed process 24854 (tcpserver).
Jun 19 10:53:24 mars kernel: Out of Memory: Killed process 24843 (qmail-send)."

I do not under stand why it has sudenly started to runn out or ram. On one of the times over the weekend when it hadn't crashed it ran a "ps aux" and found that spam assassin was using up 25% of my ram so i stoped it however later that day it crashed. also after another rebot i periodical ran "free -m" and found that when i used the webmail it would report 1mb free then 10 mins later still 1mb free. The server didn't seem to free up the ram after about 30mins it would free up another mb but this seemed very odd

I do not know wether this is a hardware error or a software error
 
Old 06-25-2004, 04:50 AM   #2
chrisellis
LQ Newbie
 
Registered: Jan 2004
Location: uk
Distribution: mandrake
Posts: 7

Original Poster
Rep: Reputation: 0
Crash Developments

I have installed for ram now and it is still crashing could it be the graphics card
 
Old 06-25-2004, 09:59 PM   #3
mascdman
Member
 
Registered: Jun 2004
Location: Canada
Distribution: Ubuntu 6.06 LTS
Posts: 152

Rep: Reputation: 30
Well, those out of memory errors are created by the kernel's OOM killer -- it randomly chooses processes to kill when the system starts running dangerously low on memory (it may not be totally random, there are probably some heuristics involved, I'm not too sure). You mentioned that spam-assassin was using up a lot of memory. Just guessing here, but perhaps it has a memory leak (doubtful or many others would be noticing it) or there's a lot of unprocessed mail in qmail's delivery queue?

As for the 1MB free, I've got 1GB of RAM in my machine and it shows 3MB free. A lot of that is being used to cache data, though (700+ MB). I'd suggest running top and when it's running type s1 (1 second refreshes) then On<ENTER> (sort display by memory usage). See what processes are using up RAM and go from there.

--mascdman
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
10.1, server crashing repeatedly wheel Mandriva 1 04-04-2006 03:39 PM
Server keeps crashing yepp Linux - Enterprise 7 11-08-2005 07:39 AM
server crashing...under attack? sneakyimp Linux - Security 4 10-23-2005 04:37 PM
MY server keeps crashing and I don't know why... Electrode Linux - General 6 07-06-2003 10:53 AM
x server crashing often... rooman Slackware 6 12-11-2002 02:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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