[Box Backup] Problems with speed....

Andreas Schrafl boxbackup@fluffy.co.uk
Sun, 25 Dec 2005 17:11:17 +0100


Hi Mikael

Are your files at /usr/local/boxbackup/backup/<ACOUNTNUMBER>

To look where the files should be create a new account and search for it 
(find /usr/local/ -name <ACCOUNTNUMBER>). I had mine at /backup/bbstore 
and had to move them to /backup/bbstore/backup (in the raidfile there is 
only /backup/bbstore). After this it worked.

merry christmas
andy

Mikael Syska wrote:
> Still trying to debug the speed issue.....
> More info here.....
> The server keeps using around 97% of the CPU....
> 
> Tried building the "debug" version of bbstored.... more output but no 
> matter what I do it can't seem to find the "raidfile.conf" and the 
> location of it if corrent in the bbstored.conf file.....
> ----------------- Witht he debug version
> Dec 25 02:11:05 freebsd60 bbstored[665]: Starting daemon (config: 
> /usr/local/etc/box/bbstored.conf) (version 0.09)
> Dec 25 02:11:05 freebsd60 bbstored/hk[666]: Housekeeping process started
> Dec 25 02:11:05 freebsd60 bbstored/hk[666]: Starting housekeeping
> Dec 25 02:11:05 freebsd60 bbstored/hk[666]: TRACE: Exception thrown: 
> RaidFileException(RaidFileDoesntExist) at RaidFileRead.cpp(1057
> )   Dec 25 02:11:05 freebsd60 bbstored/hk[666]: TRACE: Block 800 freed, 
> but not known. Error? Or allocated in startup static allocation?
> Dec 25 02:11:05 freebsd60 last message repeated 12 times
> Dec 25 02:11:05 freebsd60 bbstored/hk[666]: while housekeeping account 
> 00000001, exception RaidFile RaidFileDoesntExist (2/11) -- ab
> orting housekeeping run for this account
> Dec 25 02:11:05 freebsd60 bbstored/hk[666]: Finished housekeeping
> 
> --------------- With the normal version
> Dec 25 02:15:35 freebsd60 bbstored[794]: Starting daemon (config: 
> /usr/local/etc/box/bbstored.conf) (version 0.09)
> Dec 25 02:15:35 freebsd60 bbstored/hk[795]: Housekeeping process started
> Dec 25 02:15:35 freebsd60 bbstored/hk[795]: Starting housekeeping
> Dec 25 02:15:36 freebsd60 bbstored/hk[795]: Finished housekeeping
> 
> So there seems to be something wrong with the way that I'm building the 
> debug version or something.....
> 
> cd /boxbackup-0.09/
> ./configure
> cd bin/bbstored/
> make
> cd ../../debug/bin/bbstored/
> and copied the bbstored file over the other bbstored file on the 
> system.... it start but as you can see from above its does not work... :-(
> 
> something i'm doing wrong here?
> 
> any help will be great
> 
> Merry Christmas all
> 
> // Syska
> 
> 
> syska [/usr/local/etc/box]# less raidfile.conf
> disc0
> {
>        SetNumber = 0
>        BlockSize = 2048
>        Dir0 = /usr/local/boxbackup
>        Dir1 = /usr/local/boxbackup
>        Dir2 = /usr/local/boxbackup
> }
> 
> syska [/usr/local/etc/box]# less bbstored.conf
> RaidFileConf = /usr/local/etc/box/raidfile.conf
> AccountDatabase = /usr/local/etc/box/bbstored/accounts.txt
> 
> # Uncomment this line to see exactly what commands are being received 
> from clients.
> ExtendedLogging = yes
> 
> # scan all accounts for files which need deleting every 15 minutes.
> 
> TimeBetweenHousekeeping = 900
> 
> Server
> {
>        PidFile = /var/run/bbstored.pid
>        User = _bbstored
>        ListenAddresses = inet:freebsd60.xxx.xx
>        CertificateFile = 
> /usr/local/etc/box/bbstored/freebsd60.xxx.xx-cert.pem
>        PrivateKeyFile = 
> /usr/local/etc/box/bbstored/freebsd60.xxx.xx-key.pem
>        TrustedCAsFile = /usr/local/etc/box/bbstored/clientCA.pem
> }
> 
> _______________________________________________
> boxbackup mailing list
> boxbackup@fluffy.co.uk
> http://lists.warhead.org.uk/mailman/listinfo/boxbackup