Apache Tune Up I was able to do about 4K concurrent connections with this setup. Using Centos 6.7 64bit Apache httpd-2.2.15-47.el6.centos.x86_64 a Virtual Machine 4x CPU’s and 4GBs of memory, I have 2 disks, one for /var and other for […]
How to find what process are using Swap
How to find what process are using Swap /proc/meminfo – This file reports statistics about memory usage on the system. It is used by free to report the amount of free and used memory (both physical and swap) on the […]
How to get varnish client.ip behind ELB
How to get varnish client.ip behind ELB I needed to filter access by IP using varnish acl, but when your varnish is behind a Amazon ELB Load Balancer, by default it doesn’t work, so here is the solution! Tested using […]
nagios vmware esx plugin
The best script to monitor VMWare ESX using nagios was developed by Steve Shipway. 1. Download the script wget http://felipeferreira.net/wp-content/uploads/2015/05/VMWare.zip unzip VMWare.zip cd VMWare chmod +x check_vmware.pl && sed -i -e ‘s/\r$//’ check_vmware.pl ./check_vmware.pl OBS: It is normal to get […]
solr peformance
How to monitor Solr performance under Tomcat. I keep track of how many access and the performance, based on response time. For this I have 2 scripts: Here is the code: #!/bin/bash # script to check how many erros in […]
awstats
I use the good old awstats to find out how may site hits and usage is going. Also google analytics… feel free to take a look http://stats.felipeferreira.net/
sudo apt-get update behind proxy
When using sudo apt-get update behind a proxy you must do visudo Defaults env_keep = “http_proxy https_proxy ftp_proxy DISPLAY XAUTHORITY”