Ivan Tomica

mu4e on Fedora

Since recently I’m an Emacs user, and as such I like to have my Emacs everywhere. Including on the laptop which runs Fedora 30 at this moment. One of the most crucial things for me is email, which is being handled by mu/mu4e. And since I was unable to google

Continue Reading

My Vim configuration

Although recently I’ve switched most of my workflow into the Emacs 😈 I still edit things here and there in Vim. Vim doesn’t have many nice and fancy features enabled by default, but that’s OK, I like it light. But not so light… soo… this post will show configuration options

Continue Reading

PostgreSQL online VACUUM with pg_repack

Those familiar with PostgreSQL know how it internally manages blocks for storing data and how when you delete some entry it is only marked dead (dead tuples). In order to reclaim space VACUUM needs to be run. Vacuuming database won’t give that space back to the operating system, instead, it

Continue Reading

Gitlab Patch upgrades

I’ve been hosting my Gitlab instance for some time now. Gives me the freedom of experimenting with various features and also forces me to learn a thing or two about it. Install I currently have has been done via installation from source. Reason for that was that Omnibus package has

Continue Reading

Apache: No space left on device

When apache reports no space left on device: couldn’t create accept lock and you’ve checked both disk space and inode usage of disk and they both report as fine check active semaphores: ipcs -s If there’s high number of them, Apache probably hasn’t cleared up after itself and some semaphores

Continue Reading

Reboot with kexec on Ubuntu 18.04

First off, what is kexec? – It is a system call that enables you to load and boot into another kernel from currently running kernel. That effectively means; doing reboot without going through the whole POST/Firmware load process. To use kexec we can rely on systemd to handle process for

Continue Reading

Remove EFI grub timeout

Ever since I’ve set up EFI boot on my machine using grub I had this issue with timeout option not wanting to go away. Digging into the issue I first looked at /boot/grub/grub.cfg where I found this piece of code: “This is weird” I said to myself, where does that

Continue Reading

Moving Ubuntu to Root-on-ZFS

My main rig is running Ubuntu 18.04. To be more precise I opted out at install time to use Ubuntu Mate 18.04 but later on installed AwesomeWM and use that instead now. But without digressing much, I decided it was time to move my root (/) to ZFS. Why? –

Continue Reading