How To Fix “IOError: [Errno 10] No child processes” When Running the aws CLI Command from Perl WWW-REST-Apid

Author: , December 3rd, 2020

Problem While running the aws cli command from a Perl async command inside apid, I go the following error:

Solution The issue turned out to be a bug in Python2.7, so I upgraded to Python3.4, then uninstalled and re-installed the aws cli software so that it used the proper Python34 version. Procedure […]

How To Empty the Cache in Prometheus Using Curl

Author: , May 7th, 2020

I wanted to empty the time series data cache from the Prometheus server to start clean. The best practice is to use the administrative HTTP API via curl. For example, to clear all data for job mysqld as defined in the prometheus.yml configuration file:

If you want to delete ALL data from Prometheus, then […]

How To Use Rsync With An FTP Server

Author: , February 25th, 2012

Prerequisites: curlftpfs and rsync programs must be installed! Create a mount point, then mount the remote directory:

Now rsync the mounted FTP directory to your local directory:

How To Install CurlFTPFS On Amazon Linux/CentOS

Author: , February 25th, 2012