taroon-list@redhat.com
[Top] [All Lists]

RE: OCFS and Out Of Memory issue

Subject: RE: OCFS and Out Of Memory issue
From: "Frank, Ryan"
Date: Thu, 3 Feb 2005 16:44:37 -0500
Just did an update to U4... Same problem... Back to the drawing board...
Thanks for the info.. 


--
-Ryan
Allvac Unix Services
Monroe, NC
(704) 282-1586

-----Original Message-----
From: taroon-list-bounces@xxxxxxxxxx
[mailto:taroon-list-bounces@xxxxxxxxxx] On Behalf Of Larry Woodman
Sent: Thursday, February 03, 2005 3:34 PM
To: arjanv@xxxxxxxxxx; Discussion of Red Hat Enterprise Linux 3 (Taroon)
Subject: Re: OCFS and Out Of Memory issue

Arjan van de Ven wrote:

>On Thu, 2005-02-03 at 14:02 -0500, Larry Woodman wrote:
>  
>
>>O'Neill, Donald (US - Deerfield) wrote:
>>
>>    
>>
>>>Red Hat suggests using the enterprise kernel with anything more than 
>>>4GB of RAM.
>>>
>>>      
>>>
>>This is RHEL3, there is no enterprise kernel.  The smp kernel is for 
>>up to 16GB and the hugemem kernel si for > 16GB.
>>    
>>
>
>actually for > 8Gb or when you want 4Gb of userspace virtual space ;)
>
>btw the cause for the vm issue is quite obvious:
>buffer_head       4935182 4936190    108 141009 141034    1 : 1008  252
>
>that's a LOT....
>
It didnt reclaim the buffer_headers because RHEL3-U3 was missing this
patch:

--- linux-2.4.21/fs/buffer.c.orig
+++ linux-2.4.21/fs/buffer.c
@@ -1465,7 +1465,7 @@ int try_to_reclaim_buffers(int priority,
         * don't bother reclaiming any if the buffer heads take up less
         * than 10% of pageable low memory.
         */
-       if (nr_unused_buffer_heads * sizeof(struct buffer_head) * 10 <
+       if (nr_used_buffer_heads * sizeof(struct buffer_head) * 10 <
                                        freeable_lowmem() * PAGE_SIZE)
                        return 0;
 



>
>  
>
>-----------------------------------------------------------------------
>-
>
>--
>Taroon-list mailing list
>Taroon-list@xxxxxxxxxx
>http://www.redhat.com/mailman/listinfo/taroon-list
>


--
Taroon-list mailing list
Taroon-list@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/taroon-list


--
Taroon-list mailing list
Taroon-list@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/taroon-list

<Prev in Thread] Current Thread [Next in Thread>