PHP Memory Usage

Posted by Pizon on December 21, 2010

PHP memory utilization is always an issue with web applications. As of version 5.2.0 there are two useful functions available to help determine application memory usage.
Continue reading…

Patch to fix –textonly option to yaourt on Arch Linux

Posted by Pizon on June 07, 2009

If you use the yaourt wrapper for pacman on Arch Linux you may have noticed that the --textonly option no longer works properly. After spending some time on various forums, wikis, bug trackers, and Google I was not able to find a solution to this problem. An inspection of the yaourt scripts reveals a stanza missing from a case block in the colors.sh include used to configure output colorization. I have created a patch to fix this minor annoyance:

Download the patch

The patch can be applied using standard patch syntax:

patch -p0 < yaourt_color_sh.patch

BASH Functions To Manipulate selinux Policy

Posted by Pizon on March 06, 2008

selinux is a great tool for keeping your server secure. The problem many people run into is properly configuring security policies to allow their services to run properly. Redhat-derived Linux distributions provide the audit2allow utility for easing the creation of selinux policy.

Continue reading…


Bad Behavior has blocked 69 access attempts in the last 7 days.