What Are You Doing Right Now
-
@nerdydad said in What Are You Doing Right Now:
@caramel said in What Are You Doing Right Now:
@eddiejennings said in What Are You Doing Right Now:
Learning a new tool (for me),
du
to try to figure out what's eating all of the space on my FreePBX test server.Du..... du hast..... du hast mich....
Okay there {RAMSTEIN}
You have to trot that one out from time to time.
-
Think I found the problem.
[root@freepbxtest2 var]# du -hc log/ | grep -i total 18G total
21 GB of total space is available for /
-
On coffee number two, now.
-
Is it a.... caramel latte?
-
No, it's a normal coffee.
-
Lame
-
Not as lame as the Rammstein gag.
-
Touche
-
And the culprit
[root@freepbxtest2 asterisk]# ls -al --block-size=G total 18G drwxrwxr-x. 4 asterisk asterisk 1G Sep 11 04:02 . drwxr-xr-x. 14 root root 1G Sep 10 04:02 .. drwxrwxr-x. 2 asterisk asterisk 1G Sep 7 11:13 cdr-csv drwxrwxr-x. 2 asterisk asterisk 1G Sep 7 11:13 cdr-custom -rw-r--r-- 1 asterisk asterisk 0G Sep 11 12:45 fail2ban -rw-r----- 1 asterisk asterisk 0G Sep 11 04:02 fail2ban.0 -rw-r----- 1 asterisk asterisk 0G Sep 10 04:02 fail2ban.1 -rw-r-----. 1 asterisk asterisk 2G Sep 8 16:19 fail2ban.2 -rw-r--r-- 1 asterisk asterisk 12G Sep 10 04:02 fail2ban-20170910 -rw-r--r-- 1 asterisk asterisk 2G Sep 11 04:02 fail2ban-20170911
Yesterday's fail2ban log.
-
Well just that one, most were empty.
-
@scottalanmiller said in What Are You Doing Right Now:
Well just that one, most were empty.
Yeah. I'm actually glad this happened. I'd rather learn to deal with log file sizes getting out of control on my test server than learn on production.
-
Finally got my library account hooked up to Mango Languages.
-
Power is out. Winds picking up. So I'm sitting here eating garlic - red pepper - cheese grits, heating some sake on the unstoppable gas stove.
-
@rojoloco said in What Are You Doing Right Now:
Power is out. Winds picking up. So I'm sitting here eating garlic - red pepper - cheese grits, heating some sake on the unstoppable gas stove.
Not sure if I should feel sorry for you, or ask if there is any leftovers,..
-
I couldn't help myself, I had to go look if someone had reviewed RAD Diaries yet. Sadly, not yet.
https://smile.amazon.com/gp/product/1549637533/ref=pe_2313400_253590260_em_1p_0_im
-
@travisdh1 said in What Are You Doing Right Now:
I couldn't help myself, I had to go look if someone had reviewed RAD Diaries yet. Sadly, not yet.
https://smile.amazon.com/gp/product/1549637533/ref=pe_2313400_253590260_em_1p_0_im
Is that your book?
-
@tim_g said in What Are You Doing Right Now:
@travisdh1 said in What Are You Doing Right Now:
I couldn't help myself, I had to go look if someone had reviewed RAD Diaries yet. Sadly, not yet.
https://smile.amazon.com/gp/product/1549637533/ref=pe_2313400_253590260_em_1p_0_im
Is that your book?
Nope, it's another one by @scottalanmiller's former roomie.
-
@eddiejennings said in What Are You Doing Right Now:
@scottalanmiller said in What Are You Doing Right Now:
Well just that one, most were empty.
Yeah. I'm actually glad this happened. I'd rather learn to deal with log file sizes getting out of control on my test server than learn on production.
They should always rotate daily and cleanup after ummm 5 days. That is how Elastix and FreePBX are setup.
The bigger question is why is
fail2ban
getting 12GB of logs in a day.. This is a text log. That is a f*** ton of information. -
The bigger question is why is
fail2ban
getting 12GB of logs in a day.. This is a text log. That is a f*** ton of information.Yep. I'll be figuring that out tomorrow when I can be back in the office.
-
@eddiejennings said in What Are You Doing Right Now:
The bigger question is why is
fail2ban
getting 12GB of logs in a day.. This is a text log. That is a f*** ton of information.Yep. I'll be figuring that out tomorrow when I can be back in the office.
All I can say is, good thing you had fail2ban running!