Re: [discuss] memrlimit - potential applications that can use

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Balbir Singh
Date: Thursday, August 21, 2008 - 3:26 am

KAMEZAWA Hiroyuki wrote:

It can happen today with overcommit turned on. Why is it unlucky?

 I think it's better to trigger some notifier to application or daemon

So you are suggesting that when we are running out of memory (as defined by our
current resource constraints), we don't return -ENOMEM, but instead we now
handle a new event that states that we are running out of memory?

NOTE: I am not opposed to the event, it can be useful for container
administrators to know how to size their containers, not to application
developers who want to auto-tune their applications (see my comment on autonomic
computing in an earlier thread) or to applications that want to make sure they
don't OOM without the system administrator having to do oom_adj for every
important application.



-- 
	Balbir

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[discuss] memrlimit - potential applications that can use, Balbir Singh, (Tue Aug 19, 12:18 am)
Re: [discuss] memrlimit - potential applications that can use, KAMEZAWA Hiroyuki, (Thu Aug 21, 12:43 am)
Re: [discuss] memrlimit - potential applications that can use, Balbir Singh, (Thu Aug 21, 3:26 am)
Re: [discuss] memrlimit - potential applications that can use, KAMEZAWA Hiroyuki, (Thu Aug 21, 3:59 am)