Milan Holzäpfel | 27 Feb 2005 20:51

Sudden disk space usage peaks?


Hello,

I just noticed -- while Zoe was consuming 100% of my CPU for a few
moments -- that free space on the partition where Zoe has its data store
went down to 40 MByte (from ~140 MByte) lasted there for a second or
two, and then came up again to the usual 140 MByte.

This is of particular interest for me because I already had the
situation that free space went down to zero (~70 MByte or so free
before) while Sylpheed, my mail programme, was fetching mails from Zoe,
which unfortunately caused Sylpheed to loose its UIDL-file (so it would
fetch all the mails again).  

While the problem with sylpheed could probably be solved by improving
its handling of the (here quite precious hehe) UIDL-file, I'm still
interested in whether these peaks are expected and whether there's a
recommendation on how much temporary space one should keep around for
Zoe.

About my setup:  OS is Linux, Zoe and all the data is stored on a
partition exclusively used by my user, since the partition is mirrored
(on block level via RAID 1) and encrypted.  The partition uses ReiserFS.
(Hmm it might also be a correlation between Zoe, the encrypted disk
(which needs CPU to do en-/decryption on writes/reads) and some special
behaviour of ReiserFS, which causes somewhat delayed freeing of freed
space...)

System info from Zoe:

(Continue reading)

Zoe | 27 Feb 2005 21:25
Picon

Re: Sudden disk space usage peaks?

Hi Milan,

On Feb 27, 2005, at 20:51, Milan Holzäpfel wrote:

> I'm still interested in whether these peaks are expected and whether 
> there's a
> recommendation on how much temporary space one should keep around for
> Zoe.

ZOË does a "copy on write" when updating its indices... which means 
that any given index can briefly use twice its size when flushed to 
disk.

Regarding UIDL, you can always limit the number of messages returned by 
the built-in POP server. Check the archive and/or the wiki for the 
relevant configuration file.

Cheers,

R.

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
Milan Holzäpfel | 28 Feb 2005 14:50

Re: Sudden disk space usage peaks?


On Sun, 27 Feb 2005 21:25:50 +0100
Zoe <zoe_info <at> mac.com> wrote:

> Hi Milan,
> 
> On Feb 27, 2005, at 20:51, Milan Holzäpfel wrote:
> 
> > I'm still interested in whether these peaks are expected and whether 
> > there's a
> > recommendation on how much temporary space one should keep around for
> > Zoe.
> 
> ZOË does a "copy on write" when updating its indices... which means 
> that any given index can briefly use twice its size when flushed to 
> disk.

Is "one index" stored in one folder in
Zoe/Library/SZ/Indexes/≤long_hex_block>" ?  (If yes then my setup still
seems to matter there, since the entire directory is only 44 MBytes)

> Regarding UIDL, you can always limit the number of messages returned by 
> the built-in POP server. Check the archive and/or the wiki for the 
> relevant configuration file.

For know I'll try to keep enough space around :)))  (and have a daily
backup of all my data, including the UIDL file...) 

Regards,
Milan
(Continue reading)

Zoe | 28 Feb 2005 14:59
Picon

Re: Sudden disk space usage peaks?

Hi Milan,

On Feb 28, 2005, at 14:50, Milan Holzäpfel wrote:

> Is "one index" stored in one folder in
> Zoe/Library/SZ/Indexes/≤long_hex_block>" ?  (If yes then my setup still
> seems to matter there, since the entire directory is only 44 MBytes)

Hmmm... one level down... there are usually 12 of them:

alt.dev.szmail.SZAddress.index
alt.dev.szmail.SZCard.index
alt.dev.szmail.SZContentType.index
alt.dev.szmail.SZDocument.index
alt.dev.szmail.SZDomain.index
alt.dev.szmail.SZEnvelope.index
alt.dev.szmail.SZList.index
alt.dev.szmail.SZLocation.index
alt.dev.szmail.SZName.index
alt.dev.szmail.SZOrganization.index
alt.dev.szmail.SZTLD.index
alt.dev.szmail.SZURI.index

The largest one being SZEnvelope.

> For know I'll try to keep enough space around :)))  (and have a daily
> backup of all my data, including the UIDL file...)

Wise policy ;)

(Continue reading)

Basic Guy | 4 Mar 2005 07:29
Picon

Re: Sudden disk space usage peaks?

I have a problem starting Zoe on windows(XP).
I have tried this with version 0.6.2 and 0.6.3 with the same result:
Last time I used Zoe the version was 0.5.x and it was working just fine.

C:\data\local\Applications\Zoe>java -jar Zoe.jar
(Info) SZClassLoader.path: C:\data\local\Applications\Zoe
(Info) SZClassLoader.loadJavaArchives: loading...
(Info) SZClassLoader.defaultJavaDirectory: C:\data\local\Applications\Zoe\Librar
y\Java\
(Info) SZClassLoader.loadPatches: loading...
03/04 08:23:18 (Info) Start.main: starting...
03/04 08:23:18 (ERROR) ClassLoader.defineClass1: java.lang.NoClassDefFoundError:
 alt/dev/szapp/SZLink$Delegate
03/04 08:23:18 (ERROR) Start.main:
C:\data\local\Applications\Zoe>_

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Zoe | 4 Mar 2005 08:47
Picon

Re: [zoe.user] Re: Sudden disk space usage peaks?


On Mar 04, 2005, at 07:29, Basic Guy wrote:

> I have a problem starting Zoe on windows(XP).
> I have tried this with version 0.6.2 and 0.6.3 with the same result:
> Last time I used Zoe the version was 0.5.x and it was working just 
> fine.

Looks like a faulty installation.

Try the following:

http://zoe.omara.ca/TestVanillaInstallation

Cheers,

R.

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Basic Guy | 4 Mar 2005 09:23
Picon

Re: Re: [zoe.user] Re: Sudden disk space usage peaks?

This is a fresh installation, just uncompressed from the package.
- Adding the debug option doesn't make a difference.
- Tried this with jre 1.4.2 and 1.5.0
- Played around with the CLASSPATH... no difference

???

On Fri, 4 Mar 2005 08:47:16 +0100, Zoe <zoe_info <at> mac.com> wrote:
> 
> On Mar 04, 2005, at 07:29, Basic Guy wrote:
> 
> > I have a problem starting Zoe on windows(XP).
> > I have tried this with version 0.6.2 and 0.6.3 with the same result:
> > Last time I used Zoe the version was 0.5.x and it was working just
> > fine.
> 
> Looks like a faulty installation.
> 
> Try the following:
> 
> http://zoe.omara.ca/TestVanillaInstallation
> 
> Cheers,
> 
> R.
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
(Continue reading)

Zoe | 4 Mar 2005 09:32
Picon

Re: Re: [zoe.user] Re: Sudden disk space usage peaks?

Hi,

On Mar 04, 2005, at 09:23, Basic Guy wrote:

> This is a fresh installation, just uncompressed from the package.
> - Adding the debug option doesn't make a difference.
> - Tried this with jre 1.4.2 and 1.5.0
> - Played around with the CLASSPATH... no difference

ZOË doesn't use any classpath... it uses a dynamic class loader instead.

One way or another, the application cannot find some of its classes:

> 03/04 08:23:18 (ERROR) ClassLoader.defineClass1: 
> java.lang.NoClassDefFoundError:
>  alt/dev/szapp/SZLink$Delegate

Make sure you don't have any old version of SZApp.jar & Co. laying 
around which might interfere with your new installation.

Cheers,

R.

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
(Continue reading)


Gmane