**** BEGIN LOGGING AT Fri Apr 12 02:59:57 2019 Apr 12 05:29:30 hi Apr 12 05:31:25 How to connect Led sensor and keyboard like I/O device with beagle board via GPIO port?and how to config that GPIO ports? Apr 12 05:49:42 just run latest debian and use config-pin Apr 12 07:07:06 Hi All i am using Android linux kernel Apr 12 07:08:06 working with BBB. I am facing the issue with lowmemorykiller.c driver Apr 12 07:08:55 this application is handling the memory stats in sysem Apr 12 07:09:55 android on a BBB ? o.O Apr 12 07:10:32 *system and now i am facing issue with it saying like lowmemorykiller is killing the applications.. Apr 12 07:10:51 Yes zmatt Apr 12 07:11:19 I mean... I don't really know anything about android, but it sounds like you're running out of memory :P Apr 12 07:11:34 how to overcome with lowmemorykillers... Apr 12 07:12:49 this is an android question, not a bbb questoin Apr 12 07:13:36 yes Apr 12 07:14:05 but this is very common issue is even in generic linux kernel Apr 12 07:14:18 not about android or linux Apr 12 07:14:23 I've never run out of memory on a bbb Apr 12 07:14:35 its about linux kernel I Mean... Apr 12 07:14:46 I don't understand what you mean Apr 12 07:16:15 in general, if you're running out of memory, the obvious options are: 1. use less memory 2. use a board with more memory Apr 12 07:16:21 I am running one python script for reboot stress test.. Here i am getting the lowmemorykillers.. Apr 12 07:18:05 I checked two of our beaglebones (our main development system and one production system), both had around 370 MB of available memory Apr 12 07:18:27 in other words we would still run comfortably even if the system had only 256 MB instead of 512 MB Apr 12 07:19:58 I just checked another one that has a display and a Qt5-based GUI... it has 318 MB of available memory Apr 12 07:20:10 I've successfully run a node-red instance on a 128M device ;) Apr 12 07:20:28 Narasimha: so if you're running out of memory, that's not a "very common issue" Apr 12 07:20:40 it just means you're wasting a lot of memory in some way Apr 12 07:20:50 Logs are like this... Apr 12 07:20:51 lowmemorykiller: select 'init' (1), adj 0, size 110, to kill lowmemorykiller: Current process 'netlinkuser' (138), adj 0, size 58, lowmemorykiller: select 'udevd' (682), adj 0, size 192, to kill lowmemorykiller: Current process 'udevd' (694), adj 0, size 128, lowmemorykiller: Current process 'udevd' (695), adj 0, size 128, Apr 12 07:21:18 use 'top' and press 'M' to see what eats memory :) Apr 12 07:21:35 please never paste multiline output into chat, use a paste service like pastebin.com instead Apr 12 07:22:16 ok sorry Matt for that... Apr 12 07:24:38 also, those messages are just debug output, the actual process that gets killed will say "lowmemorykiller: send sigkill to ..." or something like that Apr 12 07:25:15 Yes Matt you are correct... Apr 12 07:26:00 it will also say how much memory it was using (in pages) Apr 12 07:33:08 yes but is there a way to ignore lowmemorykillers or reduce it... Apr 12 07:35:01 lowmemorykiller can be tweaked to alter its decisions on which task to kill, but if you're running out of memory, *something* has to get killed. Apr 12 07:35:26 can you paste the line regarding which process it actually killed? (the "send sigkill to..." line) Apr 12 07:35:35 yes correct... Apr 12 07:35:50 i am attaching... Apr 12 07:45:52 .. ? Apr 12 07:49:50 looking for exact log.. Apr 12 07:56:12 lowmemorykiller: Killing 'udevd' (150), adj 0,to free 1512kB on behalf of 'kswapd0' (60) because cache 0kB is below limit 1536kB for oom_score_adj 0 Free memory is -340kB above reserved Apr 12 07:56:30 like this its showing Matt.. Apr 12 07:56:31 wtf Apr 12 07:57:08 can you share the whole log (or at least everything related to this kill) via pastebin.com ? Apr 12 07:58:37 because I have trouble imagining how on earth the oom killer came to the conclusion that killing udevd to free up 1.5 MB was the best possible way to free up memory Apr 12 07:58:55 btw, what kernel version are you using? Apr 12 08:00:14 if there's no identifiable userspace process that's using up all the memory then maybe you have a kernel memory leak or something Apr 12 08:06:25 https://pastebin.com/UqHPpb3P Apr 12 08:07:28 this doesn't provide any context Apr 12 08:08:19 where are all the debug messages you showed earlier? Apr 12 08:08:22 linux kernel version 3.14.. Apr 12 08:09:20 anyway, if you already run out of memory in initramfs then I have no idea what's going on, it sounds like your system is horribly broken Apr 12 08:10:36 Thanks Matt for efforts . Generally is there any way to ignore lowmemorykillers in linux kerenel.. Apr 12 08:11:02 Narasimha: the question is nonsensical Apr 12 08:11:51 that's like copying a file to a disk, getting the error "disk is full", and then asking how to ignore the error Apr 12 08:12:52 the problem there isn't that you get an error, the problem is that the disk is full. likewise your problem isn't the lowmemorykiller, the problem is being out of memory Apr 12 08:13:22 since this happens so early during boot, something really weird is going on presumably Apr 12 08:15:10 but android is not supported in this channel, and I think TI also doesn't support it anymore. so if you choose to use android on the BBB anyway, you should either get third party support or expect to have to invest a lot of time to debug problems yourself Apr 12 08:18:04 Witekio supports android on am335x: https://witekio.com/cpu/am335x/ Apr 12 14:23:05 hi, i bought a BBB 1 week ago. I'm able now to play with leds but i don't get it how to play with the both programmables buttons, can u help me? i'm not finding anything on the internet :) Apr 12 14:23:44 i don't find the associated class in /sys/class/... Apr 12 15:03:26 lol Apr 12 15:24:50 I'm sure there's at least a million result on google Apr 12 15:25:11 I very much doubt there are any results on that Apr 12 15:25:35 if he looked "which associated class for playing with programmables button" yeah Apr 12 15:25:38 given that the bbb doesn't *have* "programmable" buttons Apr 12 15:26:12 also there isn't an associated sysfs class for it Apr 12 15:51:23 I bought nRF52840 "dongles" Apr 12 15:51:27 that word is so ugly, dongle Apr 12 18:34:23 Somebody know how can I load a server in my beaglebone from a html file? Apr 12 20:48:21 that doesn't make sense. Apr 12 21:22:20 Purapotencia: you mean serve static html files from your bbb ? Apr 12 21:22:22 sure, use nginx Apr 12 21:22:32 there's a default conf you can tailor to your needs Apr 12 21:22:39 it serves files from /var/www/html by default **** ENDING LOGGING AT Sat Apr 13 02:59:57 2019