Friday, May 28, 2010

Increase max emails per hour for a single domain in cPanel

You can change the maximum number of emails allowed for a particular domain to a different number than the system default using the file (Other than WHM settings)

/var/cpanel/maxemails
Just add an entry like “domain.com = 100″ . Now 100 is the maximum email per hour limit for domain.com.

But please make sure that you have executed the following script after updating the file /var/cpanel/maxemails.

#/scripts/build_maxemails_config

Thursday, May 20, 2010

OpenVZ network down SIOCADDRT: Network is unreachable

Have you ever come across in a situation where the VPS is running, but network is unreachable? OpenVZ VPS may be up and running, but network service will be down resulting downtime for websites hosted in it. If you try to restart the network, you will get the below error:

====================================

[root@pers ~]# /etc/init.d/network restart
Shutting down interface venet0: [ OK ]
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface venet0: SIOCADDRT: Network is unreachable
SIOCADDRT: Network is unreachable
====================================

To fix this, SSH into the main node server and enter into the VPS and then execute the below command:

/etc/sysconfig/network-scripts/ifup-routes venet0:0


Sunday, May 9, 2010

open3: fork failed: Cannot allocate memory at cpsrvd-ssl line 6152

Cpanel Internal Server Error

open3: fork failed: Cannot allocate memory at cpsrvd-ssl line 6152

cpsrvd/11.25 Server at 216.18.214.132

Internal Server Error

Soln: /scripts/upcp --force

Sunday, May 2, 2010

http://gnufreakz.wordpress.com/page/11/

http://kb.mediatemple.net/questions/246/(dv)+HOWTO:+Basic+Apache+performance+tuning+(httpd)

http://www.perlcode.org/tutorials/apache/tuning.html

http://www.devside.net/articles/apache-performance-tuning


http://phplens.com/phpeverywhere/tuning-apache-php