kernel: Out of Memory: Killed process 2990


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users kernel: Out of Memory: Killed process 2990
# 1  
Old 03-18-2008
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  
Old 03-18-2008
Um, add more memory maybe?
era
# 3  
Old 03-18-2008
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  
Old 03-18-2008
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 ...)
era
# 5  
Old 03-18-2008
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  
Old 03-18-2008
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".
era
# 7  
Old 03-18-2008
so what do you think i should do now? i am sorry but i need helpSmilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

how to prevent process from being killed

Hi,all.Well,I know someone has already asked this question before,however,It's too long before.So i post a new thread here. Here is the issue.I have a shell script that use awk to calculate something and the script takes about 15 mins,it will use 100% CPU,and the system automatically killed the... (2 Replies)
Discussion started by: homeboy
2 Replies

2. UNIX for Dummies Questions & Answers

Process Killed : Need to find why ?

Hi reader, I'm making a tool out of korn shell script that is running on a HP-UX server. But everytime i invoke the tool, it gets killed after a while (mid-process). I have tried re-running it a couple of times but each invocation ending up the same way .. following is a snippet of the o/p... (8 Replies)
Discussion started by: clakkad
8 Replies

3. UNIX for Dummies Questions & Answers

Protect a Process from Being Killed

Hi, I have a process which takes 13-15 mins for execution and its getting killed in the meantime.So can you please helpme out how to protect the process from getting killed. Thanks in advance. Regards, Harika (9 Replies)
Discussion started by: harikagrp
9 Replies

4. UNIX for Dummies Questions & Answers

SAS Process Getting Killed

HI all, I am very new to AIX (matter of fact Unix). We are currently automating out manual process using Unix Shell Scripting. My wrote a shell script which will accept the name of the sas job as parameter, checks the existense of the sas file in the specified folder. If it is not present,... (1 Reply)
Discussion started by: anubhav2020
1 Replies

5. Solaris

LDAP process getting killed

Hi all, Currently I am using LDAP to store some network related data, When I run following script ./ns-slapd ldif2db Execution of above script terminates displaying "Killed" on the console. As far as I know, a process can be killed by two ways- 1. manually running " kill -9 <PID of LDAP... (1 Reply)
Discussion started by: akash_mahakode
1 Replies

6. Solaris

how to run a killed process

hi, i am creating a daemon process for updating the file at regular interval.one problem with this is if anybody kills the daemon it wont update the file.anybody have idea how to rerun the daemon if it killed.the code is written in c++ in solaries environment. thnaks & regards suresh (8 Replies)
Discussion started by: suresh_rtp
8 Replies

7. Programming

how to delay a process from getting killed

We are forking a process B from process A and the process B should display the details it reads from process C(daemon process) continuously. Let us say that the process C sents 100 packets.The process B receives all the 100 packets from the process C before it prints all details of 31... (1 Reply)
Discussion started by: cijkmysj
1 Replies

8. Programming

Access process memory from kernel space

Hi, I'm currently working on a project to help the analysis of malware from inside the kernel to avoid any kind of detection. So I need to be able to read the process memory from my kernel module. As of now, I'm stuck at converting a virtual memory address (for example 0x080483e8 found... (3 Replies)
Discussion started by: anonymoose
3 Replies

9. UNIX for Dummies Questions & Answers

Who is the parent of a killed process ?

Suppose we have the following process tree: init-> ProcessA->processB->processC then I kill processB Who is the parent of the processC? init or the processA (6 Replies)
Discussion started by: Puntino
6 Replies

10. UNIX for Dummies Questions & Answers

process not getting killed

I have a process that is in the sleeping state "S" and I have tried to stop it with a run control script that I use to stop/start it - but it does not stop. I have tried kill -9 <PID of process> with no change. I imagine that this process is sleeping with the kernel. It does not respond to... (5 Replies)
Discussion started by: finster
5 Replies
Login or Register to Ask a Question