Problem with OOM killer killing process even when there is plenty of RAM.

Pritam Bankar pritambankar1988 at gmail.com
Fri Dec 9 06:45:59 EST 2011


Hi,
use of
get_zeroed_page(unsigned int flags);  or
get_free_page(unsigned int flags);
might help you.


Thanks,
Pritam

On Thu, Dec 8, 2011 at 9:47 PM, Mulyadi Santosa
<mulyadi.santosa at gmail.com>wrote:

> Hi...
>
> On Thu, Dec 8, 2011 at 02:06, mindentropy <mindentropy at gmail.com> wrote:
> >> mind to tell us, how do you allocate memory? kmalloc?
> > Via kmalloc.
>
> As Greg said, you probably better use vmalloc for such allocation.
> Vmalloc can deal with non contigous physical pages...
>
> >>
> >> furthermore, could you kindly paste the content of /proc/meminfo right
> >> before OOM kicks in?
> > Its kind of tough to do it as it happens so fast. I will try to write a
> script
> > which polls.
>
> Alright, I just thought it will be better if we understand the overall
> virtual memory situation better.
>
>
> --
> regards,
>
> Mulyadi Santosa
> Freelance Linux trainer and consultant
>
> blog: the-hydra.blogspot.com
> training: mulyaditraining.blogspot.com
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>



-- 

Pritam Bankar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20111209/1ddbc396/attachment.html 


More information about the Kernelnewbies mailing list