Hi,

ext Gustavo Sverzut Barbieri wrote:
>> Anyone see this before on an N800?
>>
>> I am getting it for Control Panel, Web, Bookmarks... etc etc...
>> ahhhh!!!!!
>>
>> Do I need to reflash?  Is there some other fix anyone can think of?
>
> I've found this and quite isolated the problem.
>
> This happens more often if you have rd-mode DISABLED, if you enable it
> you'll still get this error, but it's rare.

Which release you're using?

My first quess would be that the device runs out of memory (because
something (Canola?) is using a lot of it, maybe because it leaks) and
allocations are denied to applications (by kernel) and if that happens
inside anything using Glib (such as Gtk), the Glib aborts the process.

How much free memory (free+buffers+cached) the device has when this
starts to happen more frequently?

Anyway, I don't see what in R&D mode could be affecting memory usage...

Could you isolate it better?


> This seems to happen if "exceeded number of DBus connections", at
> least I get this error when trying to use anything (launch from xterm,
> both with and without run-standalone)

I've never seen this error message.
Does it come from the application or the D-BUS daemon?

What:
        cat /proc/sys/fs/file-nr
tells about file descriptor usage in the whole system?

And what:
--------------------------------
for pid in /proc/[0-9]*; do
   cmd=$(tr '\0' ' '<$pid/cmdline);
   if [ "$cmd" ]; then
     echo "$(ls -l $pid/fd/|wc -l) ${cmd%% *}[${pid##*/}]";
   fi;
done|sort -n
--------------------------------
lists as number of file descriptors used by the processes?

attached are the results I got when error happens. You can see that
file descriptors are still available.

This is with canolla installed, but canola app itself is not running.
However, there is canola-conf and avahi running.

Seems that the session bus is saturated, launching apps from xterm
(with and without run-standalone.sh) display:

GLIB WARNING ** GConf - Client failed to connect to the D-BUS daemon:
The maximum number of active connections for UID 29999 has been reached
GConf Error: No D-BUS daemon running

Ok, the maximum number error comes from D-BUS.  UID 29999 is the "user"
under which all the applications (and some other processes) in the
device are run under.  D-BUS seems to be keeping could of connections
per user which in Maemo doesn't make sense, as almost everything is run
as "user" user and almost everything uses D-BUS.


Any hints?

Seems like something does a lot of D-BUS connections.

According to the file descriptor usage, there are not that many
connections open at that moment, so maybe D-BUS counts all connections,
not just active ones in which case e.g. opening and closing D-BUS
connection each time one sends a message would be really bad also
for rest of the applications & system, not just for the performance
of that particular process...


As this problem seems to be Canola related and can happen also after
Canola is uninstalled and device rebooted, does Canola muck up with
D-BUS configuration?


        - Eero

------------------------------------------------------------------------

      1 init[1]
      3 /sbin/getty[1184]
      3 /usr/sbin/temp-reaper[765]
      4 /bin/sh[1190]
      4 /bin/sh[1192]
      4 /sbin/udhcpc[1025]
      4 /usr/bin/clipboard-manager[1069]
      4 /usr/bin/hildon-input-method[1044]
      4 /usr/bin/maemo_af_desktop[1021]
      4 /usr/bin/matchbox-window-manager[776]
      4 /usr/bin/osso-connectivity-ui-conndlgs[1040]
      4 /usr/bin/osso-xterm[1104]
      4 /usr/lib/galago/telepathy-feed[1056]
      4 /usr/libexec/galago-daemon[1052]
      4 /usr/sbin/dnsmasq[713]
      4 gnome-pty-helper[1108]
      4 sh[1115]
      4 sh[1524]
      5 /bin/sh[1138]
      5 /usr/bin/alarmd[1123]
      5 /usr/lib/gconf2/gconfd-2[733]
      5 /usr/sbin/sdpd[812]
      5 sh[1548]
      5 sh[1553]
      6 /usr/bin/bme-dbus-proxy[839]
      6 /usr/bin/mission-control[1050]
      6 /usr/bin/telepathy-gabble[1054]
      6 /usr/sbin/dsp_dld[789]
      6 /usr/sbin/hcid[800]
      6 /usr/sbin/wlancond[926]
      7 /usr/bin/esd[861]
      7 /usr/bin/obexsrv[1099]
      8 /sbin/mce[730]
      8 /sbin/udevd[435]
      8 /usr/bin/maemo-launcher[951]
      8 /usr/lib/sapwood/sapwood-server[772]
      8 /usr/libexec/dbus-vfs-daemon[993]
      8 /usr/sbin/icd[929]
      9 /usr/bin/bme[332]
      9 /usr/bin/btcond[884]
      9 /usr/bin/ias[1072]
      9 /usr/bin/osso-connectivity-ui-conndlgs[1041]
      9 /usr/bin/osso_hss[856]
      9 /usr/bin/systemui[1095]
     10 /usr/bin/hildon-input-method[1045]
     10 /usr/libexec/e-addressbook-factory[1036]
     10 /usr/libexec/e-addressbook-factory[1047]
     11 /usr/bin/canola-conf[1183]
     11 /usr/bin/canola-conf[1185]
     11 /usr/bin/osso-media-server[1082]
     12 avahi-daemon:[1132]
     13 /usr/bin/mediaplayer-engine[1165]
     13 /usr/bin/mediaplayer-engine[1167]
     13 /usr/bin/metalayer-crawler[1174]
     13 /usr/bin/metalayer-crawler[1175]
     13 /usr/bin/osso-xterm[1105]
     15 /usr/bin/Xomap[736]
     15 /usr/sbin/ke-recv[919]
     24 dsme[325]
     24 dsme[327]
     24 dsme[328]
     25 /usr/bin/maemo_af_desktop[1022]
     28 /usr/bin/dbus-daemon[768]
     45 /usr/bin/dbus-daemon[719]


------------------------------------------------------------------------

              total         used         free       shared      buffers
  Mem:       127252        81072        46180            0          416
 Swap:            0            0            0
Total:       127252        81072        46180


------------------------------------------------------------------------

1274    0       4096


------------------------------------------------------------------------

  PID  Uid     VmSize Stat Command
1 root 476 S init [2] 2 root SWN [ksoftirqd/0]
    3 root            SW  [watchdog/0]
    4 root            SW< [events/0]
    5 root            SW< [khelper]
    6 root            SW< [kthread]
   29 root            SW< [kblockd/0]
   30 root            SW< [kseriod]
   41 root            SW< [OMAP McSPI/0]
  109 root            SW  [pdflush]
  110 root            SW  [pdflush]
  111 root            SW< [kswapd0]
  112 root            SW< [aio/0]
  115 root            SW< [mipid_esd]
  245 root            SW  [mtdblockd]
  275 root            SW< [kmmcd]
  285 root            SW< [krfcommd]
  294 root            SW  [mmcqd]
  300 root            SW  [mmcqd]
  303 root            SWN [jffs2_gcd_mtd3]
  325 root        552 S < dsme -d -l syslog -v 4 -p /usr/lib/dsme/libstartup.so
  327 root        552 S < dsme -d -l syslog -v 4 -p /usr/lib/dsme/libstartup.so
  328 root        552 S   dsme -d -l syslog -v 4 -p /usr/lib/dsme/libstartup.so
332 root 348 S /usr/bin/bme 406 root SWN [jffs2_gcd_mtd4] 435 root 420 S < /sbin/udevd --daemon 713 nobody 636 S < /usr/sbin/dnsmasq -k -i lo -a 127.0.0.1 -z 719 messageb 1428 S < /usr/bin/dbus-daemon --system 730 root 1308 S < /sbin/mce 733 messageb 1436 S /usr/lib/gconf2/gconfd-2 736 root 4288 S < /usr/bin/Xomap -mouse tslib -nozap -dpi 96 -wr 765 user 180 S < /usr/sbin/temp-reaper 768 user 1248 S < /usr/bin/dbus-daemon --session 772 user 2524 S < /usr/lib/sapwood/sapwood-server 776 user 2932 S < /usr/bin/matchbox-window-manager -theme default -use_
  784 root            SW< [mailbox/dsp]
  789 root       1128 S   /usr/sbin/dsp_dld -p --disable-restart -c /lib/dsp/ds
800 root 864 S < /usr/sbin/hcid -n -x 812 root 552 S < /usr/sbin/sdpd -n 839 root 832 S < /usr/bin/bme-dbus-proxy -N 856 root 1420 S /usr/bin/osso_hss 861 root 656 S < /usr/bin/esd 884 root 1124 S < /usr/bin/btcond -l 916 root SW< [file-storage-ga] 919 root 1436 S < /usr/sbin/ke-recv 926 root 1160 S < /usr/sbin/wlancond 929 root 1452 S < /usr/sbin/icd 951 user 1396 S < /usr/bin/maemo-launcher --daemon --send-app-died --bo 993 user 1856 S /usr/libexec/dbus-vfs-daemon 1021 user 328 S < /usr/bin/maemo_af_desktop 1022 user 11744 S < /usr/bin/maemo_af_desktop 1025 root 476 S < /sbin/udhcpc -i wlan0 -s /etc/udhcpc/udhcpc.script -f 1036 user 2296 S /usr/libexec/e-addressbook-factory 1040 user 332 S < /usr/bin/osso-connectivity-ui-conndlgs 1041 user 4532 S < /usr/bin/osso-connectivity-ui-conndlgs 1044 user 332 S < /usr/bin/hildon-input-method 1045 user 7500 S < /usr/bin/hildon-input-method 1047 user 2296 S /usr/libexec/e-addressbook-factory 1050 user 3532 S /usr/bin/mission-control 1052 user 2304 S /usr/libexec/galago-daemon 1054 user 3576 S /usr/bin/telepathy-gabble 1056 user 2364 S /usr/lib/galago/telepathy-feed 1069 user 532 S < /usr/bin/clipboard-manager 1072 root 1248 S /usr/bin/ias 1082 user 3316 S < /usr/bin/osso-media-server 1095 systemui 4908 S < /usr/bin/systemui 1099 user 1056 S < /usr/bin/obexsrv -l 1104 user 328 S /usr/bin/osso-xterm 1105 user 9792 S /usr/bin/osso-xterm 1108 user 584 S gnome-pty-helper 1115 user 644 S sh 1123 user 1832 S /usr/bin/alarmd 1132 avahi 1232 S avahi-daemon: running [Nokia-N800-51.local] 1138 user 508 S /bin/sh /usr/bin/canola-conf.sh 1165 user 2708 S /usr/bin/mediaplayer-engine 1167 user 2708 S /usr/bin/mediaplayer-engine 1174 user 2748 S /usr/bin/metalayer-crawler -F 1175 user 2748 S /usr/bin/metalayer-crawler -F 1183 user 2400 S /usr/bin/canola-conf 1184 root 496 S /sbin/getty -L ttyS0 115200 vt100 1185 user 2400 S /usr/bin/canola-conf 1190 root 508 S /bin/sh -e /usr/sbin/gainroot 1192 root 728 S /bin/sh 1524 user 672 S sh 1548 root 476 S sh /media/mmc1/collect-data.sh n800_canola-installed- 1551 root 580 R ps aux

_______________________________________________
maemo-users mailing list
[email protected]
https://maemo.org/mailman/listinfo/maemo-users

Reply via email to