lkml.org 
[lkml]   [1998]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Kernel memory per process
Date
> 
> We have a process running on a Linux box. This process has a memory leak and
> continues to consume memory until it gets to 32 M. When it reaches this point
> it Seg faults and exits without a core file.
>
> Does the Linux kernel pose some type of limit on a process that's going berserk?

Usually a process will simply get an ENOMEM when it runs out of memory, I don't know
if the kernel does a sig 11, but I'd bet it's a libc thing instead.

>
> One other note, the process is multi-threaded and uses the pthreads library.

I had this problem with pthreads, I wasn't creating them as detached; if the
thread is not created as detached, you must call pthread_join to reap the stack
and other resources when the thread exits.

> Rodney D. Holm rodneyh@apexxtech.com

--Perry

--
Perry Harrington Linux rules all OSes. APSoft ()
email: perry@apsoft.com Think Blue. /\

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:42    [W:0.029 / U:0.796 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site