Skip to content
This repository has been archived by the owner on Jun 15, 2021. It is now read-only.

No space left on device...? #472

Open
snug-inglenook opened this issue Feb 21, 2020 · 4 comments
Open

No space left on device...? #472

snug-inglenook opened this issue Feb 21, 2020 · 4 comments

Comments

@snug-inglenook
Copy link

Hi there,
Im getting this message from Voyant: Failed attempt to create corpus.

@sgsinclair
Copy link
Owner

We had indeed run out of disk space, sorry, cleaning things up now.

@rparadis
Copy link

rparadis commented Feb 25, 2020

We are running into this problem as we speak on our local voyant server. Is there instructions somewhere that can point us in the direction on how to clean up and maintain our own instance?

Thank you!

@rparadis
Copy link

rparadis commented Mar 2, 2020

@sgsinclair Any information on how to do server maintenance for our own voyant server instance would be great. Even if it is a point in the right direction.. Thanks for your time.

If it is as simple as just deleting the files on the filesystem... That would be good. Just wasn't sure if there is more to it.

@sgsinclair
Copy link
Owner

sgsinclair commented Mar 19, 2020

So there are a few different strategies and I really need to write up some documentation on them, but in the meantime I suggest you stop the server, find the data directory (let me know if you need help with this) move trombone5_2 to trombone5_2.2 and then restart the server. This will result in a new trombone5_2 directory being created. It will be empty, but Voyant will search for trombone5_2.* directories and try to migrate corpora if it can. Voyant has various strategies for migration, but in the meantime there are some directories in the old trombone5_2.2 directory that can be deleted if you're desperate to reclaim some room:

trombone5_2.2/cache
trombone5_2.2/lucene-per-corpus

On a server that's been running a while, just those two should make a difference.

Looking forward, you can create trombone5_2.3, etc. or delete trombone5_2.2 (those older corpora won't be recoverable) and then repeat as per instructions above.

I recommend that you leave trombone5_2.1 there (if it's already there) since it contains the built-in Austen and Shakespeare corpora (Austen is used in the built-in documentation).

If you don't care about keeping older corpora, then just remove trombone5_2 (while server is not running) and Voyant will recreate it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants