Willow: It feels like we're going around in circles. Xander: Our circles are going around in circles. We got dizzy circles here.

'Sleeper'


Buffistas Building a Better Board ++

Do you have problems, concerns, or recommendations about the technical side of the Phoenix? Air them here. Compliments also welcome.


Tom Scola - Jan 31, 2018 1:18:34 pm PST #3989 of 4671
Mr. Scola’s wardrobe by Botany 500

The logs have been purged. We went from 600GB to 40GB.


amych - Jan 31, 2018 1:41:03 pm PST #3990 of 4671
Now let us crush something soft and watch it fountain blood. That is a girlish thing to want to do, yes?

take that, logs


Laura - Jan 31, 2018 2:26:12 pm PST #3991 of 4671
Our wings are not tired.

Sweet! Do you clean closets?


Jesse - Jan 31, 2018 3:10:20 pm PST #3992 of 4671
Sometimes I trip on how happy we could be.

Wow, we look so slim!

Thanks, Tom!!


Gudanov - Jan 31, 2018 4:52:56 pm PST #3993 of 4671
Coding and Sleeping

Thanks, Tom :)


Jesse - Feb 05, 2018 4:06:19 am PST #3994 of 4671
Sometimes I trip on how happy we could be.

So I told them "hey! we fixed it!" and here's the response:

Hi there!

Thank you for the reply back about this matter!

It looks like the log locations are down by quite a bit:

9.3G -- 321G "ps189917:/home/buff_org/buffistas.org/phoenix/www.buffistas.org/logs" 6.3G -- 247G "ps189917:/home/buff_org/buffistas.org/phoenix/buffistas.org/logs"

However, they're still active and will continue to grow over time again. I'm afraid we'd first need to clear up the older logs in there, and then you'd have to look into setting up a function to rotate out the old logs with the new logs. The logs seem to get as large as 350Mb, so you'd want to look into possibly rotating out these logs after about 3 days so the new logs overwrite the old logs and rotate out every 3 days to help ensure that the location will not grow over time anymore.

Both are still quite large since they both go back to the new year, so you'd want to clear up the older ones left, and look into the rotation function for the logs.

Please see what can be done about that as well as clearing up the older logs that are left. I've added more time until February 7th, so please do reply back by or before that date if you have any questions or concerns or may require a bit more time. We'd be happy to help!

Thank you kindly,

Jin K.


Gris - Feb 06, 2018 8:38:12 am PST #3995 of 4671
Hey. New board.

I don't have dreamhost access or anything, but I have a similar rotating function running on my personal server. I think if you logged in to the dreamhost account via SSH and did

crontab -l; echo "0 4 * * * find /home/buff_org/buffistas.org/phoenix/www.buffistas.org/logs -mtime +3 -exec rm {} ;" | crontab

then that would set it up. However, that does assume that the log gets regularly written out to separate files; it won't delete old lines. It deletes files older than 3 days every day at 4am.


Gris - Feb 06, 2018 8:41:42 am PST #3996 of 4671
Hey. New board.

P.S. I have a feature request for the new board that we enable markdown, at least for bold and italics. The quick-edits are awesome but markdown is becoming second nature for me and is better for inline formatting...


Tom Scola - Feb 06, 2018 9:10:53 am PST #3997 of 4671
Mr. Scola’s wardrobe by Botany 500

I will add the cron job this evening.


Tom Scola - Feb 06, 2018 2:36:00 pm PST #3998 of 4671
Mr. Scola’s wardrobe by Botany 500

I can't add a cron job, because I get the following error:

[ps189917]$ crontab -l
crontabs/buff_org/: fopen: Permission denied
[ps189917]$ crontab
/var/spool/cron/: mkstemp: Permission denied

Maybe it's something we need to do through the web console?