logo       

Re: OutOfMem problem: msg#00248

Subject: Re: OutOfMem problem
FUJITA Tomonori wrote:

>From: Harald Kubota <hkubota@xxxxxxx>
>Subject: Re: [Iscsitarget-devel] OutOfMem problem
>Date: Tue, 26 Jul 2005 00:44:46 +0900
>
>  
>
>>>Try "QueuedCommands" option.
>>>
>>>      
>>>
>>Well...what can I say...That fixed it!
>>    
>>
>
>Nice.
>  
>

Seems I was a bit hasty: it helped, but it did not fix it completely.
While running bonnie++ during the night, the 3rd one created a OOM
situation again.


>The combination of small amount of memory and slow storage devices
>easily leads to OOM situations. So in that configuration, you need to
>decrease the number of concurrent iSCSI commands.
>
>  
>

Would it not be ok to preallocate all 4 (or 32) buffers, so there's no
memory to
allocate dynamically? According to Ming's mail, there's not so much to
allocate anyway, so even when using a small memory target, allocating
4 times 128kb once and for all seems reasonable to avoid OOM.

I'll try later with QueuedCommands=1 and see how this goes.

Harald



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click


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