How aboot a warning when you're going to shut the board down for a backup?

   #3  

rumble phish

BAMF+
Joined
Mar 31, 2002
Messages
10,127
Location
Modesto, CA
Maybe you were banned? It's been up for the rest of us.
No, it was down but just for a short while. Seeing as how CZ has worked so diligently to revamp and rebuild the site, I think it to be in quite poor taste to bitch at him for a short back up.
 
   #5  
OP
OP
Master-Cylinder

Master-Cylinder

Duck Loving Curmudgeon and Legendary Race Wrench
Joined
Oct 27, 2003
Messages
47,245
Location
Out in the field
No, it was down but just for a short while. Seeing as how CZ has worked so diligently to revamp and rebuild the site, I think it to be in quite poor taste to bitch at him for a short back up.

Not bitching, just a little post saying "I'm gonna back this bitch up, so it ain't gonna work" would be cool.
 
Likes: JC
   #9  

gobrian77

Quod Erat Demonstrandum
Joined
Dec 31, 2001
Messages
20,527
Location
Thailand
I think it was more an unexpected issue/emergency that CZ was dealing with (which necessitated the immediate back-up) rather than planned maintenence.
 
   #11  

CZLoco

artist formerly known as quad destroyer and...
Joined
Dec 13, 2001
Messages
24,203
Location
Austin, TX
GoBrian got it.
Board ran out of HDD space.
There was an images_cache folder that had accumulated like 7GB.
Board got to a point where it had no space to write new threads to the database and it shut down.

Why in the world does anyone run out of HDD space these days?!?
Because the monthly hosting for our VM server is based on tiers.
If you're rich, you get a VM with tons of space.
We should be fine with our current storage. Just gotta keep an eye on it and keep it "pruned".
#growingpains #learnaswego :)

After I got us back online, I kicked off a quick backup.
 
   #12  

Stetson

BAMF
Joined
Nov 17, 2002
Messages
7,232
Location
Maine
He sent us all text messages on our smaht fones before the backup. That's what happens when you don't read your texts.
 
   #13  

CZLoco

artist formerly known as quad destroyer and...
Joined
Dec 13, 2001
Messages
24,203
Location
Austin, TX
Stetson, did we purposely leave him off "the list"?
Oh, it's cuz he's got a flip-fone. Right.

We seem to be "ok" on disk space for the moment.
Code:
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda         79G   40G   36G  53% /
I'll have to research ways to auto-trim the fat and get an email notification setup in CentOS for when we start running out of space again.
 
Likes: JC
   #14  

CZLoco

artist formerly known as quad destroyer and...
Joined
Dec 13, 2001
Messages
24,203
Location
Austin, TX
Hey, that was easy. I just received an email alert notifying me of low disk space!
I set up a test with 52% as the limit (we're currently at 53%) and it immediately notified me by email.

Code:
!/bin/bash
CURRENT=$(df / | grep / | awk '{ print $5}' | sed 's/%//g')
THRESHOLD=52

if [ "$CURRENT" -gt "$THRESHOLD" ] ; then
    mail -s 'Disk Space Alert' labusasorg@gmail.com << EOF
Your root partition remaining free space is critically low. Used: $CURRENT%
EOF
fi
 
   #15  

CZLoco

artist formerly known as quad destroyer and...
Joined
Dec 13, 2001
Messages
24,203
Location
Austin, TX
Aww crap, now how do i turn it off.
 
Top Bottom