[Dxspider-support] Disk useage problem
Frank Johnson
frank at fdj.org.uk
Mon Oct 22 13:00:43 CEST 2007
Dirk Koopman wrote:
> Frank Johnson wrote:
>> HI All,
>> GB7NHT has been running reliably for several years now on a minimalistic
>> Linux box with 2G hard disk with 73% stable disk usage.
>> Since upgrading to the latest CVS version, Spider has ground to a halt
>> with no free disk space several times.
>> Each time, I had had a clear out, finally having to delete all the
>> kernel source. Previously, I had deleted previous years spots and logs.
>> This time its 100% again and I cannot delete any more.
>>
>> I have two very large user_asc and user_asc.o files and users.v2/3 files
>>
>> -rw-rw-r-- 1 sysop spider 557596672 Oct 21 17:18 user_asc
>> -rw-rw-r-- 1 sysop spider 320348160 Oct 10 10:16 user_asc.o
>> -rw-rw-r-- 1 sysop spider 1806336 Feb 5 2004 users.v2
>> -rw-rw-r-- 1 sysop spider 17170432 Oct 21 17:23 users.v3
>>
>
> These are your problem. Sadly the solution which I put in place to solve
> the problem of corrupt Berkeley DB files can sometimes also, themselves,
> cause problems.
>
> What you will find if you look at one of the user_asc files is that
> large parts of it are rubbish (use "less user_asc" and stop it
> calculating line numbers when it says), page down until you get to the
> rubbish. Hopefully that will be a long way down.
>
> What I suggest is that you get rid of of user_asc. Then stop the node
> and see whether you can do:
>
> rm users.v3
> perl user_asc.o
>
> It will go so far and then spew loads of errors (note: there may be more
> valid data after the rubbish) and it will then stop. Hopefully at the
> end of it, you will have a working users.v3 file (you can get rid of the
> users.v2 file).
>
> Just for some verisimilitude, I would:
>
> cd /spider/perl
> ./update_sysop.pl
>
> and then restart the node and see what happens.
>
> If you can't get most of the user file back then we will need to resort
> to some splitting and editing, but hopefully it won't come to that.
>
> Dirk
>
> _______________________________________________
> Dxspider-support mailing list
> Dxspider-support at dxcluster.org
> http://mailman.tobit.co.uk/mailman/listinfo/dxspider-support
>
>
Many thanks Dirk,
Looks like that has been successful.
Now I have:
-rw-rw-r-- 1 sysop spider 320348160 Oct 10 10:16 user_asc.o
-rw-rw-r-- 1 sysop spider 17170432 Oct 22 11:58 users.v3
Back to 63% disk usage - will keep an eye on things over the next few days.
Frank, G0GSR
More information about the Dxspider-support
mailing list