Frequent Disk I/O, v2.2

OS: Ubuntu 12.04 x64
WhatPulse version: 2.2

I read the following in release notes for 2.0.4 (

I’m monitoring Disk I/O with iotop and I’m seeing whatpulse make a write every 10-20 seconds.
Is there a way to stop this?

I ask because I’m running it on a system where the OS is being booted from a USB stick. While SSDs have wear-levelling to combat excessive writes, standard flash drives don’t, so I’m trying to minimise writes as much as possible.

“A write” - but it does not flush everything. There’s no way to stop it from doing that, other than exiting the client. :slight_smile:

Any way of identifying where it’s writing, so that I move that location off my flash drive?

Sure, but it uses the standard data directory of your OS. Click “Open datadir” from the Advanced button on the settings tab, it’ll take you there. If you want to move that, you’ll need to create a hardlink to that location on the default path.

… or use portable mode.

Perfect, thank you. I used a soft link on the directory, seems to have done the trick.

adz@Hanzo:~/.local/share/data$ ls -l
total 0
lrwxrwxrwx 1 adz smbusr 22 Sep 11 22:34 WhatPulse -> /beatrix/adz/WhatPulse
adz@Hanzo:~/.local/share/data$ cd WhatPulse && ls -l
total 1671
-rw-r--r-- 1 adz smbusr   81680 Sep 11 22:36 app.log
-rw-r--r-- 1 adz smbusr 1358092 Sep 10 18:04 GeoIP.dat
-rw-r--r-- 1 adz smbusr   72704 Sep 11 22:40 whatpulse.db
-rw-r--r-- 1 adz smbusr   72704 Sep 11 21:46 whatpulse.db.backup
-rw-r--r-- 1 adz smbusr     208 Sep 11 22:39 whatpulse.wpw
-rw-r--r-- 1 adz smbusr     208 Sep 11 22:38 whatpulse.wpw.backup

Strangely, now that it’s using the HDD instead, it doesn’t seem to be writing every 10-20 seconds any more.