RE: Oracle user process uses all memory and swap on server

From: Iggy Fernandez <iggy_fernandez_at_hotmail.com>
Date: Mon, 12 Nov 2012 09:55:47 -0800
Message-ID: <BLU165-W46E4F082CB2C28E189BB86EB6D0_at_phx.gbl>



I noticed that the brk system calls are failing because the return value is less than the argument value. brk(0x60013000) = 0x5ffef000
http://www.kernel.org/doc/man-pages/online/pages/man2/brk.2.htmlbrk() sets the end of the data segment to the value specified by addr, when that value is reasonable, the system has enough memory, and the process does not exceed its maximum data size (see setrlimit(2)) ... On failure, the system call returns the current break. http://www.kernel.org/doc/man-pages/online/pages/man2/setrlimit.2.htmlRLIMIT_DATA The maximum size of the process's data segment (initialized data, uninitialized data, and heap). This limit affects calls to brk(2) 0x60013000 is 1,610,690,560 in decimal
0x5ffef000 is 1,610,543,104 in decimal
Best of luck in solving this
Iggy

> When I run an OS strace and a 10046 trace, after the last traced event in
> the oracle session trace, the process strace continues with
>
> brk(0x60013000) = 0x5ffef000
> mmap(NULL, 1048576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
> = 0x2b9e775b5000
> brk(0x60013000) = 0x5ffef000
> mmap(NULL, 1048576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
> = 0x2b9e776b5000
> ...
> Repeating
> ...
                                               

--
http://www.freelists.org/webpage/oracle-l
Received on Mon Nov 12 2012 - 18:55:47 CET

Original text of this message