Category Archives: Servers

Linux : APC usage and hit ratio information page

APC (Alternative PHP Cache) come with a nice script (apc.php) that will sort and show you the memory usage and hit ratio of pages cached into APC memory. Do these easy steps to set this up on your Web server. Copy the script from APC folder into a vHost on your Web server (this example… Read More »

Linux : Install file_cache_module.so on CentOS/RHEL6

Since CentOS/RedHat Enterprise Linux 6, “mod_file_cache”, commonly referred as “MMapFile” too is no longer provided with Apache binary. File Cache module statically map file pages into memory. This module is still experimental according to Apache documentation, which may explain why it’s not included, even though it was included in CentOS/RHEL5. You may get the following… Read More »

Linux : PHP Warning: Unable to allocate memory for pool

Found this error in your Web site Apache error logs? PHP Warning:  require_once(): Unable to allocate memory for pool. This is actually caused by APC (Alternative PHP Cache). The allocated memory limit for APC has been reached and no additional PHP script can be cached anymore. The symptoms on your Web site for such error… Read More »

Linux : qmail-smtpd: qq soft reject (mail server temporarily rejected message (#4.3.0))

Did your Qmail server failed to receive a message including an attachment and showing this output in the SMTP logs? policy_check: remote sender@domain.tld -> local recipient@domain.tld (UNAUTHENTICATED SENDER) policy_check: policy allows transmission qmail-smtpd: qq soft reject (mail server temporarily rejected message (#4.3.0)): MAILFROM:<sender@domain.tld> RCPTTO:recipient@domain.tld tcpserver: end 0000 status 000 In this particular case, the version… Read More »

Linux : Guest VM time sync with Xen host

It’s possible to tell the kernel of your Xen guest VM to synchronize or not the clock with the physical host machine. There are numerous reason why you would or not to use this feature (such as your guest VM is behind or forward the clock over time). To find out the current setting, simply… Read More »