LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (http://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   "killed" Message - how to trace/back trace (http://www.linuxquestions.org/questions/linux-kernel-70/killed-message-how-to-trace-back-trace-616713/)

ebinjose 01-27-2008 10:02 PM

"killed" Message - how to trace/back trace
 
Hi Friends,

When I run my code (its C Code, its quite huge stack with around 10 threads/tasks), because of some memory/task issue I get "killed" message from the kernel (I assume that this is from the kernel !).

Is there a way to trace/back trace the problem and find the cause/location of bug or atleast some level of knowledge by which I can figure out the issue.

Just to add, this is my first question to the forum !
Thanks in advance ! and Hi to all !

./Ebin

syg00 01-29-2008 07:12 AM

There is probably an oom_killer (out of memory) message in "dmesg".
Add some more swap space, and maybe use something like sar to track the memory usage increase.


All times are GMT -5. The time now is 03:37 PM.