So, kinda figured this would spur onto a few interesting stories on when everything just doesn't go well at all!
What stupid things have you done on your router, not realizing it would break things till after?
Ill start, I was messing around with router, since you know.. those things are fun to break! Somewhere I decided, hey playing with SARG would be interesting.
Pull the package down, let it run and go off to watch tv, forgetting how big my squid log (5.5G Apr 18 23:44 access.log).
Phone switched down to 2.4ghz, tried to regain an ip and strangely enough it couldn't get an IP. Of-course logic says hey the access point that is due to be thrown out is just acting up. Was not till i got back to my desk that i noticed bandwidth usage dropped suddenly. Squid had crashed! disk space full!
Having clicked on, kill -9 sarg, drop the package and delete the directory holding a ton of html files.. (2GB and counting... likely will be over the 15GB mark.)
come to realize, the rm -R is taking way too long here.. and there is a consistent gzip process going.... i had hit the compress on finish flag
The following script was happily running away as i was deleting:
for a in `/usr/bin/find /usr/local/sarg-reports -cmin -180 -type d -mindepth 1 -maxdepth 1`
/usr/bin/find $a -name "*html" | /usr/bin/xargs gzip
so it was simply replacing every item i removed with another compressed item!
Surely the take away here is, i dont have enough SSDs in the router to keep up with the IO right?