<freemangordon>
config files live in /etc/procmngd.d/
<freemangordon>
format is (for top):
<freemangordon>
{
<freemangordon>
"/usr/bin/top": {
<freemangordon>
"nice": 10
<freemangordon>
}
<freemangordon>
}
<arno11>
ok, let's try
<freemangordon>
It'd be nice if you can prepare a basic rules to add to leste-config
<freemangordon>
not n900 specific :)
<freemangordon>
but n900 is the best one to test, being the less powerful
<arno11>
yes makes sense
<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
<arno11>
ok, np
Livio has quit [Ping timeout: 264 seconds]
<arno11>
pkg installed, will try with one process first
Livio has joined #maemo-leste
_fab has joined #maemo-leste
<freemangordon>
ok
<arno11>
freemangordon: does config files need specific names, or ?
<sicelo>
looking at the code, seems it parses every regular file that lives under that directory
<arno11>
yeah indeed
<arno11>
i ask because ATM, it fails to 'nice'
<arno11>
i reloaded it, let's see
<freemangordon>
arno11: what it means "fails to nice"?
<sicelo>
run it in foreground with `--loglevel debug`
<arno11>
i mean i can't change nice value
<arno11>
*ATM
<freemangordon>
please elaborate
<freemangordon>
which binary?
<freemangordon>
what is the config file?
<arno11>
i created a config file for top with a new nice value
<arno11>
like your example
<freemangordon>
after service was started?
<arno11>
yes, so i reloaded it
<freemangordon>
ah, right
<freemangordon>
it does not pick config changes automatically
<arno11>
ah ok
<freemangordon>
that's why the 'sudo /etc/init.d/procmngd reload'
<freemangordon>
also, it logs to /var/log/daemon.log by default
<arno11>
ok
<freemangordon>
check what it says there
<arno11>
ok
<arno11>
ugh, no daemon.log at all
<freemangordon>
no way
<freemangordon>
if that's the case, your OS is broken
<arno11>
nope it woks fine :)
<arno11>
*works
<freemangordon>
'it' being? daemon, os, what?
<arno11>
it == OS
<arno11>
no daemon.log
<Wizzup>
there is /var/log/maemo for various maemo things
<Wizzup>
but daemon.log should be in regular place
<freemangordon>
mhm
<arno11>
if someone else can chech in fresh daedalus
<arno11>
*check
<sicelo>
indeed no daemon.log on my daedalus D4. weird, i seem to recall i've seen this file in the past
<sicelo>
did you look in syslog?
<freemangordon>
hmm, maybe rsyslog changed
<freemangordon>
indeed on my d4 daemon.log is last updated in February
<arno11>
freemangordon: ah it seems to (half) working
<arno11>
so i set nice -10 in the cfg file, reload procmngd
<arno11>
and pkill top
<arno11>
the new nice value is 0
<arno11>
instead of -8 by default
<freemangordon>
sorry, I don;t get what you're saying
<freemangordon>
why -8 if you set -10?
<arno11>
default value is -8, new requested value -10 but it failed so the new value is zero
<freemangordon>
where this default value of -8 comes from?
<arno11>
idk, it is the default value in daedalus
<freemangordon>
default value for?
<arno11>
for top
<freemangordon>
where that default comes from?
<arno11>
don't know
<arno11>
anyway,let me try with +10
<arno11>
needs few min
<freemangordon>
min?
<freemangordon>
what for?
<arno11>
to try a new value in the config file
<freemangordon>
hmm, wait, netlink events seem to not work
<freemangordon>
Wizzup: what the? ^^^
<freemangordon>
do we miss something in the kernel?
<Wizzup>
could be, no idea
<arno11>
(btw top default nice value is 0 )
<Wizzup>
are the modules loaded?
<freemangordon>
which modules?
<Wizzup>
yeah, not sure
<Wizzup>
I think netlink should be there, udev uses it too
<freemangordon>
ok, no process related events come (on d4 that is)
<freemangordon>
in VM it works fine
<Wizzup>
CONFIG_NETLINK_DIAG ?
<Wizzup>
modprobe netlink_diag
<freemangordon>
lemme check
<freemangordon>
didn't help
<freemangordon>
lemme see what else we have
<Wizzup>
maybe compare with vm\
<Wizzup>
lsmod
<Wizzup>
or zgrep /proc/config.gz etc
<Wizzup>
/proc/net/netlink has contents on my d4
<freemangordon>
it is not only VM, it works on my ubuntu too
<freemangordon>
but there netlink_diag is 70k, on d4 it is 15
<freemangordon>
lemme check what is missing
_fab has quit [Ping timeout: 252 seconds]
<freemangordon>
hmm, wait, netlink is the transport protocol, no?
<freemangordon>
we need cn_proc
<freemangordon>
Wizzup: CONFIG_PROC_EVENTS
<freemangordon>
and it is disabled :)
<Wizzup>
ah
<Wizzup>
lol
<freemangordon>
because connector is [m]
Twig has quit [Remote host closed the connection]
lyubov has quit [Read error: Connection reset by peer]
<freemangordon>
Wizzup: will you fix that?
<freemangordon>
CONFIG_CONNECTOR must be [y] and then you can select CONFIG_PROC_EVENTS = y
lyubov has joined #maemo-leste
Livio has quit [Quit: leaving]
akossh has quit [Quit: Leaving.]
<Wizzup>
I can look at it maybe tomorrow or the day after
<freemangordon>
ok, I'll try to fix it tomorrow
arno11 has left #maemo-leste [#maemo-leste]
<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'
<sicelo>
doesn't look like you can delete this chat at all, even though the menu has a 'Delete chat' option
apac has joined #maemo-leste
lyubov has quit [Read error: Connection reset by peer]
lyubov has joined #maemo-leste
lyubov has quit [Read error: Connection reset by peer]
lyubov has joined #maemo-leste
xmn has joined #maemo-leste
lyubov has quit [Read error: Connection reset by peer]