Hi,

i want to to have a application container that acts with memory limits
as there is simple no more memory. Means: if it reaches the limit the
next question for more memory should simple be denied.

The default behaviour is to kill the application when it reaches the
limit (not good).

Then i found out that the config line
        lxc.cgroup.memory.oom_control = 1
turn off the killing, but simple freezes the application. You have the
possibility to get be notified if that happens, but then you could only
kill the application manually or increase the memory limits and the
application runs again. But this is also not that what i want.

The application should simple behave as there is no more memory, so the
application decides what to do if it gets no more memory.


I hope somebody has a solution. Thx in advance for answer.
Greetz
sfrazt

------------------------------------------------------------------------------
FREE DOWNLOAD - uberSVN with Social Coding for Subversion.
Subversion made easy with a complete admin console. Easy 
to use, easy to manage, easy to install, easy to extend. 
Get a Free download of the new open ALM Subversion platform now.
http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to