Re: [OpenWrt-Devel] overcommit memory/ratio

2014-09-24 Thread Joshua Judson Rosen
On 2014-09-20 03:05, Nikos Mavrogiannopoulos wrote: On Fri, 2014-09-19 at 18:39 -0700, David Lang wrote Well being used to something bad, doesn't mean things cannot get better. Routers (to which I have some experience at), rarely have processes running that wouldn't matter if they are randomly

Re: [OpenWrt-Devel] overcommit memory/ratio

2014-09-20 Thread David Lang
On Sat, 20 Sep 2014, Nikos Mavrogiannopoulos wrote: On Fri, 2014-09-19 at 18:39 -0700, David Lang wrote Well being used to something bad, doesn't mean things cannot get better. Routers (to which I have some experience at), rarely have processes running that wouldn't matter if they are randomly

Re: [OpenWrt-Devel] overcommit memory/ratio

2014-09-20 Thread Nikos Mavrogiannopoulos
On Fri, 2014-09-19 at 18:39 -0700, David Lang wrote > > Well being used to something bad, doesn't mean things cannot get better. > > Routers (to which I have some experience at), rarely have processes > > running that wouldn't matter if they are randomly killed; on a desktop > > system you immedia

Re: [OpenWrt-Devel] overcommit memory/ratio

2014-09-19 Thread David Lang
On Wed, 17 Sep 2014, Nikos Mavrogiannopoulos wrote: On Tue, 2014-09-16 at 22:29 +, Karl P wrote: Alternatively, if you know which process it is, set it's oom_adj_score so that it gets killed first. Some other people are kinda used to things behaving as they are, for better or worse. (

Re: [OpenWrt-Devel] overcommit memory/ratio

2014-09-17 Thread Nikos Mavrogiannopoulos
On Tue, 2014-09-16 at 22:29 +, Karl P wrote: > Alternatively, if you know which process it is, set it's oom_adj_score so > that > it gets killed first. > Some other people are kinda used to things behaving as > they are, for better or worse. (Turning off overcommit on an openwrt device

Re: [OpenWrt-Devel] overcommit memory/ratio

2014-09-16 Thread Karl P
Alternatively, if you know which process it is, set it's oom_adj_score so that it gets killed first. Some other people are kinda used to things behaving as they are, for better or worse. (Turning off overcommit on an openwrt device is no different than turning off overcommit on a desktop as

[OpenWrt-Devel] overcommit memory/ratio

2014-09-15 Thread Nikos Mavrogiannopoulos
Hello, It seems I have a memory leak in a process that runs under openwrt, and occasionally the watchdog process is being killed by the oom-killer causing a reboot. Seen that, I think that having the default overcommit settings of the linux kernel is quite an overkill for a system like openwrt whe