| freemangordon | ugh, https://github.com/libcgroup/libcgroup/blob/303e69cb0eb19509d1d0e972fff1a2ed7a01fe0d/src/daemon/cgrulesengd.c#L570 | 11:59 |
|---|---|---|
| Wizzup | is that realistically something we'll run in to a lot, or? | 12:01 |
| freemangordon | Wizzup: almost there https://git.maemo.org/leste/procmngd | 15:06 |
| freemangordon | It just needs configuration/mathing part | 15:06 |
| freemangordon | AI did great job on helping with documentation :) | 15:07 |
| Wizzup | hehe | 15:10 |
| Wizzup | at least it didn't suggest inotify on /proc again :P | 15:10 |
| Wizzup | how is the memory usage? | 15:11 |
| freemangordon | lemme check | 15:11 |
| freemangordon | Wizzup: what exactly to check, re mem usage | 15:12 |
| Wizzup | how it compares to some other things we tried | 15:12 |
| freemangordon | which parameter? | 15:13 |
| freemangordon | 561297 root 20 0 2504 580 516 R 0,0 0,0 0:00.00 procmngd | 15:15 |
| Wizzup | maybe /usr/bin/time -v | 15:15 |
| Wizzup | that reports the max memory used | 15:15 |
| Wizzup | I don't know the columns here | 15:15 |
| freemangordon | sorry | 15:16 |
| freemangordon | PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND | 15:16 |
| freemangordon | 561297 root 20 0 2504 580 516 R 0,0 0,0 0:00.00 procmngd | 15:16 |
| Wizzup | that seems pretty good | 15:16 |
| freemangordon | mhm | 15:16 |
| Wizzup | good job! | 15:17 |
| freemangordon | again, I have to add config support (I am thinking of json) and name matching | 15:17 |
| freemangordon | but that shoudl not increase mem usage that much | 15:17 |
| Wizzup | Maybe we can match absolute paths | 15:17 |
| Wizzup | I am not sure if we need regex | 15:17 |
| Wizzup | looks like glibc can do regex though | 15:18 |
| freemangordon | yes, we'll match absolute paths | 15:19 |
| freemangordon | have to run, will finish it later on, hopwfully | 15:20 |
| freemangordon | ttyl | 15:20 |
| inky | > i'm personally not a big fan of qt5, too much cpu and ram usage for almost nothing | 16:27 |
| inky | me too, gtk2 is a great choice. i am afraid it'll be deprecated one day, then we have fltk and alike. | 16:27 |
| inky | so i didn't want to distract with questions and silently waited, is daedalus migration complete? | 17:03 |
| inky | easiest way to upgrade is to dd new images? | 17:03 |
| inky | in daedalus do we have to have chimaera maemo repos for apps because we didn't rebuild those for daedalus yet? | 17:03 |
| inky | is this time to start trying to build? | 17:03 |
| Wizzup | yes, you can build extras for daedalus | 17:10 |
| Wizzup | a bunch were already built | 17:10 |
| arno11 | inky: yeah @fltk :) | 18:45 |
| arno11 | Wizzup: btw @new dillo, could you please launch a build in jenkins ? | 18:52 |
| arno11 | hm, it is in extras, well...maybe you prefer having it in leste forks, no ? | 18:59 |
| Wizzup | yeah, I am not sure what makes more sense | 19:02 |
| arno11 | maybe better in extras first | 19:04 |
| freemangordon | I don't think we shall make dillo a system package | 19:39 |
| freemangordon | what is the problem of it being in extras? | 19:39 |
| Wizzup | note that dillo is already a system package by it being in devuan | 19:39 |
| freemangordon | well, yeah | 19:39 |
| freemangordon | oh, then we shall move it to forks | 19:40 |
| freemangordon | HAM will refuse to update it otherwise :) | 19:40 |
| arno11 | ah, good to know | 19:42 |
| Wizzup | ok, I'll move it | 20:05 |
| Wizzup | running dillo job | 20:06 |
| arno11 | nice, ty | 20:43 |
| freemangordon | arno11: https://git.maemo.org/leste/procmngd | 21:25 |
| freemangordon | please build on n900 test on n900 | 21:25 |
| freemangordon | config files live in /etc/procmngd.d/ | 21:26 |
| freemangordon | format is (for top): | 21:26 |
| freemangordon | { | 21:26 |
| freemangordon | "/usr/bin/top": { | 21:26 |
| freemangordon | "nice": 10 | 21:26 |
| freemangordon | } | 21:26 |
| freemangordon | } | 21:26 |
| arno11 | ok, let's try | 21:27 |
| freemangordon | It'd be nice if you can prepare a basic rules to add to leste-config | 21:27 |
| freemangordon | not n900 specific :) | 21:28 |
| freemangordon | but n900 is the best one to test, being the less powerful | 21:28 |
| arno11 | yes makes sense | 21:28 |
| freemangordon | also, expect bugs, as code is alive for few hours :) and despite I tried to make it bug-free, I doubt this is possible on the first try | 21:30 |
| arno11 | ok, np | 21:32 |
| arno11 | pkg installed, will try with one process first | 21:47 |
| freemangordon | ok | 21:58 |
| arno11 | freemangordon: does config files need specific names, or ? | 22:01 |
| sicelo | looking at the code, seems it parses every regular file that lives under that directory | 22:08 |
| arno11 | yeah indeed | 22:08 |
| arno11 | i ask because ATM, it fails to 'nice' | 22:09 |
| arno11 | i reloaded it, let's see | 22:11 |
| freemangordon | arno11: what it means "fails to nice"? | 22:12 |
| sicelo | run it in foreground with `--loglevel debug` | 22:12 |
| arno11 | i mean i can't change nice value | 22:12 |
| arno11 | *ATM | 22:12 |
| freemangordon | please elaborate | 22:12 |
| freemangordon | which binary? | 22:12 |
| freemangordon | what is the config file? | 22:13 |
| arno11 | i created a config file for top with a new nice value | 22:13 |
| arno11 | like your example | 22:13 |
| freemangordon | after service was started? | 22:13 |
| arno11 | yes, so i reloaded it | 22:14 |
| freemangordon | ah, right | 22:14 |
| freemangordon | it does not pick config changes automatically | 22:14 |
| arno11 | ah ok | 22:14 |
| freemangordon | that's why the 'sudo /etc/init.d/procmngd reload' | 22:15 |
| freemangordon | also, it logs to /var/log/daemon.log by default | 22:15 |
| arno11 | ok | 22:15 |
| freemangordon | check what it says there | 22:15 |
| arno11 | ok | 22:16 |
| arno11 | ugh, no daemon.log at all | 22:16 |
| freemangordon | no way | 22:17 |
| freemangordon | if that's the case, your OS is broken | 22:17 |
| arno11 | nope it woks fine :) | 22:17 |
| arno11 | *works | 22:17 |
| freemangordon | 'it' being? daemon, os, what? | 22:18 |
| arno11 | it == OS | 22:18 |
| arno11 | no daemon.log | 22:19 |
| Wizzup | there is /var/log/maemo for various maemo things | 22:19 |
| Wizzup | but daemon.log should be in regular place | 22:19 |
| freemangordon | mhm | 22:19 |
| arno11 | if someone else can chech in fresh daedalus | 22:19 |
| arno11 | *check | 22:20 |
| sicelo | indeed no daemon.log on my daedalus D4. weird, i seem to recall i've seen this file in the past | 22:20 |
| sicelo | did you look in syslog? | 22:20 |
| freemangordon | hmm, maybe rsyslog changed | 22:21 |
| freemangordon | indeed on my d4 daemon.log is last updated in February | 22:21 |
| arno11 | freemangordon: ah it seems to (half) working | 22:23 |
| arno11 | so i set nice -10 in the cfg file, reload procmngd | 22:24 |
| arno11 | and pkill top | 22:24 |
| arno11 | the new nice value is 0 | 22:24 |
| arno11 | instead of -8 by default | 22:24 |
| freemangordon | sorry, I don;t get what you're saying | 22:25 |
| freemangordon | why -8 if you set -10? | 22:25 |
| arno11 | default value is -8, new requested value -10 but it failed so the new value is zero | 22:26 |
| freemangordon | where this default value of -8 comes from? | 22:26 |
| arno11 | idk, it is the default value in daedalus | 22:27 |
| freemangordon | default value for? | 22:28 |
| arno11 | for top | 22:28 |
| freemangordon | where that default comes from? | 22:28 |
| arno11 | don't know | 22:29 |
| arno11 | anyway,let me try with +10 | 22:29 |
| arno11 | needs few min | 22:29 |
| freemangordon | min? | 22:29 |
| freemangordon | what for? | 22:29 |
| arno11 | to try a new value in the config file | 22:30 |
| freemangordon | hmm, wait, netlink events seem to not work | 22:31 |
| freemangordon | Wizzup: what the? ^^^ | 22:33 |
| freemangordon | do we miss something in the kernel? | 22:33 |
| Wizzup | could be, no idea | 22:34 |
| arno11 | (btw top default nice value is 0 ) | 22:34 |
| Wizzup | are the modules loaded? | 22:35 |
| freemangordon | which modules? | 22:35 |
| Wizzup | yeah, not sure | 22:35 |
| Wizzup | I think netlink should be there, udev uses it too | 22:36 |
| freemangordon | ok, no process related events come (on d4 that is) | 22:36 |
| freemangordon | in VM it works fine | 22:36 |
| Wizzup | CONFIG_NETLINK_DIAG ? | 22:38 |
| Wizzup | modprobe netlink_diag | 22:39 |
| freemangordon | lemme check | 22:39 |
| freemangordon | didn't help | 22:40 |
| freemangordon | lemme see what else we have | 22:40 |
| Wizzup | maybe compare with vm\ | 22:43 |
| Wizzup | lsmod | 22:43 |
| Wizzup | or zgrep /proc/config.gz etc | 22:43 |
| Wizzup | /proc/net/netlink has contents on my d4 | 22:44 |
| freemangordon | it is not only VM, it works on my ubuntu too | 22:44 |
| freemangordon | but there netlink_diag is 70k, on d4 it is 15 | 22:45 |
| freemangordon | lemme check what is missing | 22:45 |
| freemangordon | hmm, wait, netlink is the transport protocol, no? | 22:46 |
| freemangordon | we need cn_proc | 22:48 |
| freemangordon | Wizzup: CONFIG_PROC_EVENTS | 22:48 |
| freemangordon | and it is disabled :) | 22:48 |
| Wizzup | ah | 22:49 |
| Wizzup | lol | 22:49 |
| freemangordon | because connector is [m] | 22:49 |
| freemangordon | Wizzup: will you fix that? | 22:51 |
| freemangordon | CONFIG_CONNECTOR must be [y] and then you can select CONFIG_PROC_EVENTS = y | 22:52 |
| Wizzup | I can look at it maybe tomorrow or the day after | 22:58 |
| freemangordon | ok, I'll try to fix it tomorrow | 23:00 |
| sicelo | subtle UX bug in conversations wrt. smses: when an sms is received, conversations shows the yellow (normal) envelope. if you delete that sms, conversations does delete the contents, but keeps the 'chat' | 23:05 |
| sicelo | doesn't look like you can delete this chat at all, even though the menu has a 'Delete chat' option | 23:06 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!