-
Dead simple ssh login monitoring with Monit and Pushover
Following on from my earlier post on how to set up Dead simple CentOS server monitoring with Monit and Pushover, I recently added monitoring for ssh logins. I…
-
Dead simple CentOS server monitoring with Monit and Pushover
My company Nucleics has an array of servers distributed around the world to support our PeakTrace Basecaller. For historical reasons these servers are a mix of CentOS 6/7…
-
CentOS 6: Adjusting the remote desktop resolution without a monitor being connected
If you remote desktop share into a CentOS 6 system without a monitor being connected (i.e. a headless server) the screen resolution defaults to a tiny 800x600. Unfortunately…
-
Simple POSIX Semaphore Library for Windows
Update (1 November 2026). The library was modernised on 21 October 2026. The 2.0.0 changelog documents fixes for broken unnamed semaphores, a use-after-free in sem_close, incorrect sem_open behaviour,…
-
Tracking down global variables in C code
I recently had the fun job of making some complex legacy C code (200,000+ lines) thread safe. Of course there were globals spread through the code so finding…
-
(104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
This error (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server started to appear in my apache error log whenever I tried to upload a file.…
-
setrlimit not raising a signal with SIGXCPU
I ran into a unusual linux bug of late using RLIMIT_CPU to kill zombie processes that ran for longer than 15 seconds. The basic code I was using was:…
-
pear.php.net is using a unsupported protocol – This should never happen.
I ran into the error "pear.php.net is using a unsupported protocol - This should never happen." when I tried to upgrade my pecl packages. I have to say…
-
Letters to avoid in creating passwords for non-english keyboard layouts
I had an interesting issue arise where I sent a computer to a customer located in Germany. I had created a password for them, but they had problems…
-
Install R on CentOS 5 x64 using yum
I recently had the fun of installing R on my development box. While you can install from source I wanted to be able to install using yum. R…