The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Who is the parent of a killed process ? Puntino UNIX for Dummies Questions & Answers 6 05-13-2008 05:50 AM
how to trap unix signal if the process killed/interupt occured in bash... manas_ranjan Shell Programming and Scripting 15 09-23-2007 09:47 AM
Kernel use of real memory daniels AIX 1 01-04-2006 12:29 AM
process not getting killed finster UNIX for Dummies Questions & Answers 5 03-26-2005 01:26 PM
How to supress a "Killed" message when a process is terminated? kenwolff UNIX for Advanced & Expert Users 2 03-22-2004 11:17 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-18-2008
bsandeep_80 bsandeep_80 is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 122
kernel: Out of Memory: Killed process 2990

There is a tomcat webserver running that is used to host a java application. Sometime the service goes down with error logs. I see the following error messages in /var/log/messages:


kernel: Out of Memory: Killed process 2990 (co).
Out of Memory: Killed process 25671 (httpd)
Out of Memory: Killed process 8914 (httpd).
Out of Memory: Killed process 9022 (httpd).
Out of Memory: Killed process 3018 (httpd)

Can someone guide me what i should do on this and what could be the problem?

Thanks,
Sandeep
  #2 (permalink)  
Old 03-18-2008
era
Guest
  
 

Posts: n/a
Bits: 0 [Banking]
Um, add more memory maybe?
  #3 (permalink)  
Old 03-18-2008
bsandeep_80 bsandeep_80 is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 122
But the memory results seems to be fine . Please see results below:

free -m
total used free shared buffers cached
Mem: 2015 2001 14 0 207 1567
-/+ buffers/cache: 226 1789
Swap: 0 0 0
  #4 (permalink)  
Old 03-18-2008
era
Guest
  
 

Posts: n/a
Bits: 0 [Banking]
2001/2015 is certainly near the limit, especially if you don't have any swap. Do you? (Sorry for asking -- this happened to me recently; swap had somehow failed at boot time and I was wondering why I was running out of memory all the time ...)
  #5 (permalink)  
Old 03-18-2008
bsandeep_80 bsandeep_80 is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 122
THis are the results that i gathered now. I have no info how to check if swap is available. can you please let me know on that and also i gathered the vmstat results. this is what i see:

vmstat
procs memory swap io system cpu
r b w swpd free buff cache si so bi bo in cs us sy id
0 0 0 0 79616 251580 1495780 0 0 47 17 56 68 1 0 99
  #6 (permalink)  
Old 03-18-2008
era
Guest
  
 

Posts: n/a
Bits: 0 [Banking]
The "free" output already suggests that you have zero swap total, though it's hard to see from the space-stripped HTML rendering.

On Linux, swapon -s shows what swap you have active. On other platforms, try "apropos swap". On Solaris, it looks like the command is simply "swap".
Closed Thread

Bookmarks

Tags
linux, solaris

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:08 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0