Month: May 2014

How To Reduce table_locks_waited In MySQL/MyISAM

The scourge of parallelism and scaling everywhere: locking. Or in MySQL/MyISAM — and to be more precise — table locks. Here’s an overview of what to look out for and how one might go about reducing the frequency at which they occur. Before you embark on …

How To Speed Up Drupal and/or PHP With XCache

Doubtless most of you do this already, but if you don’t you probably should at least consider it: install . If you serve pages from Drupal or moreover with PHP you could, as I have, increase your PHP throughput by 167% for five minutes of effort. …

Running Cron As An Authenticated User

It’s clear from the Drupal 7 documentation, cron jobs don’t play nice together when you need the cron job be associated with a non-anonymous publishing task. But, there is a way to solve this issue with a quick snippet of code on a per case basis. …

Server URL Monitoring

I’ve long used Servers Alive for my URL monitoring. It seems to have occasional application errors when booting from startup on one of my spare staging servers that I almost never keep online anymore. So, it’s time to look into some new options. My first pick …

Centos 6 LogRotate Debugging

Not sure if your log rotate patterns in /etc/logrotate.d/* are working as you’d expect, or want to know what a pattern is catching? Then you want logs for your logs (ha). In this case you can troubleshoot by running the built in debug tool: /usr/sbin/logrotate –debug …

Scripts Running in PHP FPM Process Status

Show the scripts that are running at any given time on php-fpm with nginx in centos 6. This is helpful if you need to troubleshoot a script that is being bombarded by bots, has bugs, or is causing excessively high load. The process status only works …

TMP Clearing & Finding Large Files To Cleanup

It’s important to do spring cleaning every once in a while and ensure automated processes. If your tmp dir is not getting cleared: yum install tmpwatch – removes files older than 10 days. Log rotation: /var/log has a ton of logs, they should all be setup …

Say bye-bye to the old trusty MD5

It is official: Microsoft is one of the big ones who’ll be retiring the venerable-but-vulnerable MD5 algorithm. Don’t worry, you’ll still be able to create MD5 hashes for your documents and verify them, but not for authentication and code signing anymore. The first chink in MD5′s …

Custom snmpd extension for port checking

As weird as it sounds, recently I had a task to accomplish port checks without access to the LAN on which daemons listen for connections. Speaking of a monitoring solution, the obvious choice was SNMP, which is the most widespread means of getting health information from …

Don’t Use kill -9

When I was starting out as a sysadmin I would hear and read “don’t use kill -9” all the time. But rarely did anyone explain that to do instead. I saw this the other day and liked it. Randal Schwartz, who wrote many of the Perl …

Your Questions About Website Setup For Dummies

Charles asks… What Program Allows me To BLOCK Websites and BLOCK all Downloading? i would really like a program, Free if yow will discover one. i would really like a program That BLOCKS all Types of Downloads, like Installing, Video Downloading, Saving Target. Dose Anyone know? …

Your Questions About Make Money Online

Steven asks… How do you switch cash in gta on-line between characters ? I have a personality on gta on-line and has like 750k i feel ? And i need to make a brand new character , however is there a solution to switch the cash …

Google Launches Panda 4.0

It’s official. Panda 4.0 has formally hit the Google search outcomes. The Panda algorithm, which was designed to assist increase nice high quality content material websites whereas pushing down skinny or low-high quality content material websites within the search outcomes, has all the time focused scraper …

15 quick tips for a succesful YouTube strategy

The tempo of social video sharing has virtually doubled in 12 months and forty two% of video shares now occur within the first three days of launch. This is in line with new research from Unruly revealed in the present day. The Social Diffusion Curve measures the lifecycle …