Posts Tagged ‘Linux’

apache tuneup

November 16th, 2015 1 comment

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 the rest.

Read more…

How to find what process are using Swap

July 23rd, 2015 No comments

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 system as well as the shared memory and buffers used by the kernel. You can also use free, vmstat and other tools to find out the same information.

Read more…

Categories: Linux Tags: , ,

varnishadm ban

June 24th, 2015 No comments

When cleaning the cache on varnish 3.0 there is a way to only ban the specific host.

The command is:

Read more…

Categories: Varnish Tags: , , , , , ,

nagios vmware esx plugin

May 26th, 2015 No comments

The best script to monitor VMWare ESX using nagios was
developed by Steve Shipway.

Read more…

solr peformance

May 25th, 2015 No comments

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:

Read more…

Categories: Linux Tags: , , ,

linux two interfaces same subnet

February 27th, 2015 No comments

On RHEL6 and RHEL7 once you add a second interface on the same subnet, it does not work ( no ping)
The cause of the problem is a change on the parameter rp_filter

Read more…

Categories: HowTo, Windows Tags: , , ,

sudo apt-get update behind proxy

February 26th, 2015 No comments

When using sudo apt-get update behind a proxy you must do
Defaults env_keep = “http_proxy https_proxy ftp_proxy DISPLAY XAUTHORITY”

Categories: HowTo, Linux Tags: , , , , ,

check process uptime

December 10th, 2014 1 comment

Simple script to get any linux process uptime.
It could have been done using the /proc/PID too.

Here is the code:

Read more…

Categories: Nagios, plugins Tags: , , , ,

how to install zabbix on centos

November 19th, 2014 No comments

How to install Zabbix

yum -y update
yum -y install httpd php php-cli php php-ctype php-bcmath php-xmlreader php-xmlwriter php-xmlwriterfping libcurl libiksemel net-snmp php-net-socket php-mbstring php-gettext mysql mysql-server mysql-devel.x86_64 php-mysql.x86_64 libxml2-devel.x86_64 libxml2.x86_64 libxml2-static.x86_64 net-snmp-devel.x86_64 net-snmp-libs.x86_64 net-snmp-utils.x86_64 libcurl-devel.x86_64 libcurl.x86_64 curl.x86_64 gd.x86_64 gd-progs.x86_64 php-gd.x86_64 gcc

Read more…

Categories: HowTo, Linux Tags: , , , ,

How to restream mms to wowza

October 17th, 2014 No comments

How to restream mms to wowza (Centos 6 and Linux AMI)

Add these repos

name=CentOS-6 – Base
includepkgs=SDL libtheora gsm libdc1394 libdrm liboil mesa-dri-drivers mesa-dri1-drivers mesa-dri-filesystem libraw1394 libpciaccess cppunit libLLVM

Read more…

Categories: Amazon-AWS, HowTo, Linux Tags: , ,