General description – what the hell will we try to do here: When you find yourself chasing memory leaks, or Heisenbugs for a long time chances are you will have a huge debug log. If the disk gets full and you need only the logs at the end when the problem raises it’s ugly head, use the technique described here.   The technique involves: closing the file handle where the process writes the logs currently – int creat(const char *path, mode_t mode); creating a new…Continue Reading “Hot-swapping a log file on a running process w/ GDB w/o stopping it”

Sometimes you find yourself cheeping out an giving not enough space on you virtualbox host machine. Self-sabotage, masochism – who knows the reasons that rule the decision of not assigning the default 8GBs of space that is ALLOCATED AS NEEDED. Sometimes you give it 32 gigs, and finding that all of a sudden that is not enough… In any case you have the privilege to reverse some mistakes of planing and this is one of them reversible types. Since software is constructed following the principle…Continue Reading “How To: Increase the Size of Red Hat / CentOS / Fedora VirtualBox guest host … and some LVM usage stuff”