Ubuntu

tomboy writes to disk every 10 seconds even when idle

Reported by mukesh agrawal on 2008-04-27
28
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mono
Fix Released
Unknown
tomboy
Fix Released
Medium
mono (Ubuntu)
Undecided
Unassigned
tomboy (Ubuntu)
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: tomboy

After upgrading to 8.04, I noticed that something was hitting the disk every 10 seconds. Some diagnosis shows that the files affected are in ~.wapi, and that those files are being used by Tomboy.

$ while true; do find . -mmin -1 -type f -print0 | xargs -0 ls --full-time -ltr; echo; sleep 1; done
-rw------- 1 mukesh mukesh 252905 2008-04-26 22:06:54.000000000 -0700 ./.mozilla/firefox/gudrke3v.default/sessionstore.js
-rw------- 1 mukesh mukesh 3686404 2008-04-26 22:07:31.000000000 -0700 ./.wapi/shared_fileshare-qube-Linux-i686-36-11-0
-rw------- 1 mukesh mukesh 1277960 2008-04-26 22:07:31.000000000 -0700 ./.wapi/shared_data-qube-Linux-i686-312-11-0

[9 seconds of output clipped]

-rw------- 1 mukesh mukesh 252905 2008-04-26 22:06:54.000000000 -0700 ./.mozilla/firefox/gudrke3v.default/sessionstore.js
-rw------- 1 mukesh mukesh 3686404 2008-04-26 22:07:41.000000000 -0700 ./.wapi/shared_fileshare-qube-Linux-i686-36-11-0
-rw------- 1 mukesh mukesh 1277960 2008-04-26 22:07:41.000000000 -0700 ./.wapi/shared_data-qube-Linux-i686-312-11-0

[9 seconds of output clipped]

-rw------- 1 mukesh mukesh 252905 2008-04-26 22:06:54.000000000 -0700 ./.mozilla/firefox/gudrke3v.default/sessionstore.js
-rw------- 1 mukesh mukesh 3686404 2008-04-26 22:07:51.000000000 -0700 ./.wapi/shared_fileshare-qube-Linux-i686-36-11-0
-rw------- 1 mukesh mukesh 1277960 2008-04-26 22:07:51.000000000 -0700 ./.wapi/shared_data-qube-Linux-i686-312-11-0

$ lsof -n | grep wapi
tomboy 12832 mukesh mem REG 8,3 3686404 1737315 /home/mukesh/.wapi/shared_fileshare-qube-Linux-i686-36-11-0
tomboy 12832 mukesh mem REG 8,3 1277960 1736941 /home/mukesh/.wapi/shared_data-qube-Linux-i686-312-11-0

Note that while I only noticed this in 8.04, I can't say for certain that it didn't exist in 7.10 -- just that I never noticed it before.

sam tygier (samtygier) wrote :

for me it is every 40 seconds.

Changed in tomboy:
status: New → Confirmed
Pedro Villavicencio (pedro) wrote :

Still an issue with the intrepid version of it?

Changed in tomboy:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: Confirmed → Incomplete
Pedro Villavicencio (pedro) wrote :

Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. Thanks!.

Changed in tomboy:
status: Incomplete → Invalid

Confirmed on Intrepid Alpha 6 with tomboy 0.11.3-0ubuntu1, and on a fully-updated install with tomboy 0.12.0-0ubuntu1. The update interval appears to be forty seconds.

Changed in tomboy:
status: Invalid → Confirmed

Found this related bug in upstream, might be the same thing:
http://bugzilla.gnome.org/show_bug.cgi?id=514434

Changed in tomboy:
status: Confirmed → Triaged
Changed in tomboy:
status: Unknown → New
Changed in tomboy:
status: New → Invalid
Changed in tomboy:
status: Invalid → New
Changed in mono:
status: Unknown → Confirmed

This has been filed upstream for mono on its io-layer component; while there's a workaround to disable IPC mechanisms, it still seems pretty silly to be writing to the disk on behalf of idle applications, even if those apps use IPC.

Changed in mono:
status: New → Triaged
Changed in tomboy:
status: New → Confirmed
Changed in tomboy:
status: Confirmed → Fix Released

The fix for tomboy is now in Jaunty.

Changed in tomboy:
status: Triaged → Fix Released
Changed in mono:
status: Confirmed → Fix Released
Motin (motin) wrote :

Is this really fixed? Using pidstat -d 3 I find tomboy still writes to disk every around 20 seconds:

12.37.09 PID kB_rd/s kB_wr/s kB_ccwr/s Command
12.37.12 5194 0,00 1,33 0,00 tomboy

12.37.27 PID kB_rd/s kB_wr/s kB_ccwr/s Command
12.37.30 5194 0,00 1,33 0,00 tomboy

12.37.48 PID kB_rd/s kB_wr/s kB_ccwr/s Command
12.37.51 5194 0,00 1,33 0,00 tomboy

The find command about did not show anything for me, so this may be another similar bug. How do I know?

cmcginty (casey-mcginty) wrote :

I still have this issue in Jaunty. The access pattern is:

30 seconds, 10 seconds,
30 seconds, 10 seconds,

So it is obviously not fixed.

directhex (directhex) wrote :

Fixed in Karmic. Honest!

Changed in mono (Ubuntu):
status: Triaged → Fix Released
Brownout (brownout) wrote :

> Fixed in Karmic. Honest!

Really?
Idle, no plugins enabled.
05:14:40 PM PID kB_rd/s kB_wr/s kB_ccwr/s Command
05:14:43 PM 4351 0.00 2.67 0.00 tomboy
05:15:13 PM 4351 0.00 2.67 0.00 tomboy
05:15:52 PM 4351 0.00 2.67 0.00 tomboy
05:16:31 PM 4351 0.00 2.67 0.00 tomboy
05:17:13 PM 4351 0.00 2.67 0.00 tomboy

Brownout, the Mono bug was fixed. If you're having issues, it's probably something new/different, so please open a new bug against Tomboy.

Sandy: unless I'm misunderstanding launchpad's UI, this is a bug against Tomboy. At the top of this page, it says:

Ubuntu >> “tomboy” package >> Bugs >> Bug #222907

Mukesh: Let me be a bit more clear: this bug should no longer exist in Karmic, at all.

This bug was fixed in Mono, and Tomboy even applied a work around (almost a year go, see the upstream bug) for users with older versions of Mono installed.

If you are experiencing frequent write issues with Tomboy, it's probably something new/different, so please file a new bug against Tomboy.

Got it. Thanks for the clarification.

Changed in tomboy:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.