Coder Social home page Coder Social logo

Comments (7)

ciscon avatar ciscon commented on August 18, 2024 1

so it turns out there was an overflow when calculating the space used (thanks @spoike) but being that you're on the antilag stuff, you'd need to manually merge the fix in (assuming it's that issue you're hitting and not the file limit).

from mvdsv.

ciscon avatar ciscon commented on August 18, 2024 1

fyi, if you want to archive the stuff it's better to do it yourself anyway, i have a cronjob like this:

20 6 * * 4 root nice -n20 rsync -a /mnt/nas-quake/demos/*.mvd /mnt/nas-quake/demos_backup/nicotinelounge/. >/dev/null 2>&1 && nice -n20 find /mnt/nas-quake/demos -mtime +30 -print0|xargs -r -0 rm -f >/dev/null 2>&1

from mvdsv.

ciscon avatar ciscon commented on August 18, 2024

i can't replicate this issue on master, i created a 1 gig mvd and threw it in alongside a handful of other demos, set my sv_demomaxdirsize to 1 gig, and when i start a match:
sv_demoClearOld
[2024-05-10 12:51:02] "sv_demoClearOld" is "10"
sv_demomaxdirsize
[2024-05-10 12:51:05] "sv_demoMaxDirSize" is "1024000"
[2024-05-10 12:51:08] ciscon is ready
[2024-05-10 12:51:08] All players ready
[2024-05-10 12:51:08] Timer started
[2024-05-10 12:51:08] QiZmo: timer lag point disabled
[2024-05-10 12:51:08] Clearing 10 old demos

from mvdsv.

mushis avatar mushis commented on August 18, 2024

maybe permissions..?

from mvdsv.

ciscon avatar ciscon commented on August 18, 2024

you'd think it wouldn't be writing the things in the first place if it were permissions, but you never know when it comes to more advanced stuff like extended attributes/selinux (though i doubt that's an issue on a default ubuntu install).

from mvdsv.

ciscon avatar ciscon commented on August 18, 2024

are there more than 4096 demos in there? it will stop counting at that number so if the size limit isn't hit with a bunch of tiny demos you're sol and have to clear out stuff manually.

from mvdsv.

tarbugre avatar tarbugre commented on August 18, 2024

are there more than 4096 demos in there? it will stop counting at that number so if the size limit isn't hit with a bunch of tiny demos you're sol and have to clear out stuff manually.

You've got it!
ubuntu@ip-xxx-xxx-xxx-xxx:~/nquakesv/ktx/demos$ ls | wc -l
8113

PS: I just manually deleted some.
I wrote a script to delete demos older than 60 days

We have a lot of "end" matches, so tiny demos

from mvdsv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.