libera/#maemo-leste/ Sunday, 2025-04-06

freemangordonugh, https://github.com/libcgroup/libcgroup/blob/303e69cb0eb19509d1d0e972fff1a2ed7a01fe0d/src/daemon/cgrulesengd.c#L57011:59
Wizzupis that realistically something we'll run in to a lot, or?12:01
freemangordonWizzup: almost there https://git.maemo.org/leste/procmngd15:06
freemangordonIt just needs configuration/mathing part15:06
freemangordonAI did great job on helping with documentation :)15:07
Wizzuphehe15:10
Wizzupat least it didn't suggest inotify on /proc again :P15:10
Wizzuphow is the memory usage?15:11
freemangordonlemme check15:11
freemangordonWizzup: what exactly to check, re mem usage15:12
Wizzuphow it compares to some other things we tried15:12
freemangordonwhich parameter?15:13
freemangordon561297 root      20   0    2504    580    516 R   0,0   0,0   0:00.00 procmngd15:15
Wizzupmaybe /usr/bin/time -v15:15
Wizzupthat reports the max memory used15:15
WizzupI don't know the columns here15:15
freemangordonsorry15:16
freemangordon    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND15:16
freemangordon 561297 root      20   0    2504    580    516 R   0,0   0,0   0:00.00 procmngd15:16
Wizzupthat seems pretty good15:16
freemangordonmhm15:16
Wizzupgood job!15:17
freemangordonagain, I have to add config support (I am thinking of json) and name matching15:17
freemangordonbut that shoudl not increase mem usage that much15:17
WizzupMaybe we can match absolute paths15:17
WizzupI am not sure if we need regex15:17
Wizzuplooks like glibc can do regex though15:18
freemangordonyes, we'll match absolute paths15:19
freemangordonhave to run, will finish it later on, hopwfully15:20
freemangordonttyl15:20
inky> i'm personally not a big fan of qt5, too much cpu and ram usage for almost nothing16:27
inkyme too, gtk2 is a great choice. i am afraid it'll be deprecated one day, then we have fltk and alike.16:27
inkyso i didn't want to distract with questions and silently waited, is daedalus migration complete?17:03
inkyeasiest way to upgrade is to dd new images?17:03
inkyin daedalus do we have to have chimaera maemo repos for apps because we didn't rebuild those for daedalus yet?17:03
inkyis this time to start trying to build?17:03
Wizzupyes, you can build extras for daedalus17:10
Wizzupa bunch were already built17:10
arno11inky: yeah @fltk :)18:45
arno11Wizzup: btw @new dillo, could you please launch a build in jenkins ?18:52
arno11hm, 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 sense19:02
arno11maybe better in extras first19:04
freemangordonI don't think we shall make dillo a system package19:39
freemangordonwhat is the problem of it being in extras?19:39
Wizzupnote that dillo is already a system package by it being in devuan19:39
freemangordonwell, yeah19:39
freemangordonoh, then we shall move it to forks19:40
freemangordonHAM will refuse to update it otherwise :)19:40
arno11ah, good to know19:42
Wizzupok, I'll move it20:05
Wizzuprunning dillo job20:06
arno11nice, ty20:43
freemangordonarno11: https://git.maemo.org/leste/procmngd21:25
freemangordonplease build on n900 test on n90021:25
freemangordonconfig files live in /etc/procmngd.d/21:26
freemangordonformat is (for top):21:26
freemangordon{21:26
freemangordon  "/usr/bin/top": {21:26
freemangordon    "nice": 1021:26
freemangordon  }21:26
freemangordon}21:26
arno11ok, let's try21:27
freemangordonIt'd be nice if you can prepare a basic rules to add to leste-config21:27
freemangordonnot n900 specific :)21:28
freemangordonbut n900 is the best one to test, being the less powerful21:28
arno11yes makes sense21:28
freemangordonalso, 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 try21:30
arno11ok, np21:32
arno11pkg installed, will try with one process first21:47
freemangordonok21:58
arno11freemangordon: does config files need specific names, or ?22:01
sicelolooking at the code, seems it parses every regular file that lives under that directory22:08
arno11yeah indeed22:08
arno11i ask because ATM, it fails to 'nice'22:09
arno11i reloaded it, let's see22:11
freemangordonarno11: what it means "fails to nice"?22:12
sicelorun it in foreground with `--loglevel debug`22:12
arno11i mean i can't change nice value22:12
arno11*ATM22:12
freemangordonplease elaborate22:12
freemangordonwhich binary?22:12
freemangordonwhat is the config file?22:13
arno11i created a config file for top with a new nice value22:13
arno11like your example22:13
freemangordonafter service was started?22:13
arno11yes, so i reloaded it22:14
freemangordonah, right22:14
freemangordonit does not pick config changes automatically22:14
arno11ah ok22:14
freemangordonthat's why the 'sudo /etc/init.d/procmngd reload'22:15
freemangordonalso, it logs to /var/log/daemon.log by default22:15
arno11ok22:15
freemangordoncheck what it says there22:15
arno11ok22:16
arno11ugh, no daemon.log at all22:16
freemangordonno way22:17
freemangordonif that's the case, your OS is broken22:17
arno11nope it woks fine :)22:17
arno11*works22:17
freemangordon'it' being? daemon, os, what?22:18
arno11it == OS22:18
arno11no daemon.log22:19
Wizzupthere is /var/log/maemo for various maemo things22:19
Wizzupbut daemon.log should be in regular place22:19
freemangordonmhm22:19
arno11if someone else can chech in fresh daedalus22:19
arno11*check22:20
siceloindeed no daemon.log on my daedalus D4. weird, i seem to recall i've seen this file in the past22:20
sicelodid you look in syslog?22:20
freemangordonhmm, maybe rsyslog changed22:21
freemangordonindeed on my d4 daemon.log is last updated in February22:21
arno11freemangordon: ah it seems to (half) working22:23
arno11so i set nice -10 in the cfg file, reload procmngd22:24
arno11and pkill top22:24
arno11the new nice value is 022:24
arno11instead of -8 by default22:24
freemangordonsorry, I don;t get what you're saying22:25
freemangordonwhy -8 if you set -10?22:25
arno11default value is -8, new requested value -10 but it failed so the new value is zero22:26
freemangordonwhere this default value of -8 comes from?22:26
arno11idk, it is the default value in daedalus22:27
freemangordondefault value for?22:28
arno11for top22:28
freemangordonwhere that default comes from?22:28
arno11don't know22:29
arno11anyway,let me try with +1022:29
arno11needs few min22:29
freemangordonmin?22:29
freemangordonwhat for?22:29
arno11to try a new value in the config file22:30
freemangordonhmm, wait, netlink events seem to not work22:31
freemangordonWizzup: what the? ^^^22:33
freemangordondo we miss something in the kernel?22:33
Wizzupcould be, no idea22:34
arno11(btw top default nice value is 0 )22:34
Wizzupare the modules loaded?22:35
freemangordonwhich modules?22:35
Wizzupyeah, not sure22:35
WizzupI think netlink should be there, udev uses it too22:36
freemangordonok, no process related events come (on d4 that is)22:36
freemangordonin VM it works fine22:36
WizzupCONFIG_NETLINK_DIAG ?22:38
Wizzupmodprobe netlink_diag22:39
freemangordonlemme check22:39
freemangordondidn't help22:40
freemangordonlemme see what else we have22:40
Wizzupmaybe compare with vm\22:43
Wizzuplsmod22:43
Wizzupor zgrep /proc/config.gz etc22:43
Wizzup/proc/net/netlink has contents on my d422:44
freemangordonit is not only VM, it works on my ubuntu too22:44
freemangordonbut there netlink_diag is 70k, on d4 it is 1522:45
freemangordonlemme check what is missing22:45
freemangordonhmm, wait, netlink is the transport protocol, no?22:46
freemangordonwe need cn_proc22:48
freemangordonWizzup: CONFIG_PROC_EVENTS22:48
freemangordonand it is disabled :)22:48
Wizzupah22:49
Wizzuplol22:49
freemangordonbecause connector is [m]22:49
freemangordonWizzup: will you fix that?22:51
freemangordonCONFIG_CONNECTOR must be [y] and then you can select CONFIG_PROC_EVENTS = y22:52
WizzupI can look at it maybe tomorrow or the day after22:58
freemangordonok, I'll try to fix it tomorrow23:00
sicelosubtle 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
sicelodoesn't look like you can delete this chat at all, even though the menu has a 'Delete chat' option23:06

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!