'apache' Tag

  • Identifying main traffic sources with netstat and awk (one-liner explained)

    March 27, 2011

    This is just a short guide on how to find the main offenders in case of web server hammering. Sample of eventual output: netstat -natp | grep :80 | awk ‘{print $5}’ | cut -d: -f1 | sort | uniq -c | sort -n | tail      25 195.150.23.130      25 67.222.164.140   [...]

  • Apache Cluster Config Sync

    January 11, 2010

    It has become quite commonplace today, for high traffic sites to require more than one web server. Here is a small script in charge of synchronizing the server configuration files (/etc/httpd in this example). In this case, I will be using apache as the web server of choice, simply because of its prevalence and popularity, [...]

 
Powered by Wordpress. Theme by Shlomi Noach, openark.org
Hosted by Evolution On-line