[flagged]
All my servers have an 8 GB empty file on disk
311–320 of 715 posts
Re: All my servers have an 8 GB empty file on disk
#312Earlier quoted context omitted.
The meat situation was kind of interesting actually. At the beginning of the lockdown I remember going shopping for lots of shelf-stable foods. Very perishable stuff like meat or fresh veggies were out or hard to find (and yes freezing meat works fine I know). However, lots of stores had tons of shelf stable boxed and canned goods and for meat jerky and other dried meats which are simple to boil and turn into simple…
I bought a bunch of rice, and all that happened was little rice bugs started living in it, so I had to throw it all away. But if there were a rice shortage, I would probably have eaten it.
Easy enough to separate them out of the rice after freezing too.
Re: All my servers have an 8 GB empty file on disk
#313Earlier quoted context omitted.
I still know people that pre-emptively buy toilet paper "because hoarders might buy the rest of it" with absolutely no introspection.
The trick is to do exactly what they tell you not too immediately. Masks don't protect against covid - jump on Alibaba and buy some. Don't buy extra toiled paper, there will be no limits on its sale - immediately do a order on amazon prime. Because within a few days there will be price caps on the sale of TP (increased prices would deter hoarding) so everything will sell out right away. I think people have really lea…
Re: All my servers have an 8 GB empty file on disk
#314> On Linux servers it can be incredibly difficult for any process to succeed if the disk is full. Copy commands and even deletions can fail or take forever as memory tries to swap to a full disk and there's very little you can do to free up large chunks of space. This reasoning doesn't make sense. On Linux, swap is preallocated. This is true regardless of whether you're using a swap partition or a swap file. See man…
IIRC, swap is actually needed for some memory operations. And when you run out of memory, the behaviour is often worse without swap. These days I always at least configure an in-memory compressed swap (zram).
Re: All my servers have an 8 GB empty file on disk
#315It's interesting to me that linux doesn't natively reserve a little space to allow basic commands like directory listing and file deletion to function even with a full disk. Because really the biggest problem when I've had a partition get full, is I sometimes can't even delete the offending log file.
It still boggles my mind that the act of deleting a file can fail because it requires space to perform the act. If y'ask me, that's a fundamental design flaw. Of course nobody asked me...
You can run into real trouble on btrfs if you fill it, it has no reserve space to protected from this scenario. ZFS at least reserves a fraction of the total space so that deletes are allowed to work even when the pool reaches 100% capacity.
Re: All my servers have an 8 GB empty file on disk
#316> I can see how sometimes, when you're up against the wall, having a bit of memory tucked away for a rainy day can really make a difference. Funny how time and experience changes everything.
[1] https://www.gamasutra.com/view/feature/132500/dirty_coding_t...
Re: All my servers have an 8 GB empty file on disk
#317I always thought that database files should be on a different drive from the os. If the db fills up the HD, the os is still running smoothly.
Re: All my servers have an 8 GB empty file on disk
#318How is this better than sounding alarms when free disk space drops below 8GB? If you’re going to ignore the alarms, then you’re going to have the same problem after you remove your spacer file and the disk fills up again!
Compare the rate an haywire process can fill up disk to your response time to alarms, and you got your answer right there.
Re: All my servers have an 8 GB empty file on disk
#319Earlier quoted context omitted.
Most motorcycles are surprisingly manual. This was originally a necessity (like in cars), but remains aesthetically preferable for many riders. OTOH, Honda Goldwings have stereo systems. They might grow an automatic fuel reserve switcher-backer someday too. :)
Fuel injected motorcycles don’t have reserve (at least, none that I’ve seen.) instead they have low fuel lights or full fuel gauges. I’m guessing it’s because the fuel pumps are in the tank and the fuel injection system needs high pressure.
Carb jets can get clogged, too, but are wider since they're not under as much pressure. Also, since they're a wear item they're a lot easier to clean and/or replace.