Messages in this thread | | | From | Perry Harrington <> | Subject | Re: Kernel memory per process | Date | Fri, 29 May 1998 15:43:05 -0700 (PDT) |
| |
> > 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
| |