Riz Khan on April 24th, 2010

On Virtouzzo VPSs you can calcualte the Guaranted, Buestable and other memory usage using below formulae : Guaranteed memory = barrier of vmguarpages / 1024 * 4 Burstable memory = privvmpages / 1024 x 4 Current Memory Usage = physpages held value /1024 * 4 Current Usage (RAM + SWAP) = oomguarpages held value /1024 […]

Continue reading about How To : Calculate memory on Virtouzzo or OpenVZ VPSs

Riz Khan on April 24th, 2010

We can find the IP delegation for any IP using below command , i.e. using this command we can find which Nameserves are responsible for this IP and e.g. should provide the Reverse DNS for that IP : dig +trace -x 22.33.44.55 Where 22.33.44.55 is the IP for which we want to find the delegation, […]

Continue reading about How To : Find the delegation for an IP

We can check the Php versions and configurations like suphp, phpsuexec or dso on a Cpanel based servers on shell using below command : /usr/local/cpanel/bin/rebuild_phpconf –current Sample output : root@myserver [~]# /usr/local/cpanel/bin/rebuild_phpconf –current Available handlers: suphp dso cgi none DEFAULT PHP: 5 PHP4 SAPI: suphp PHP5 SAPI: suphp SUEXEC: enabled root@myserver [~]#

Continue reading about How To : Check php configuration on shell for Cpanel server

Riz Khan on April 24th, 2010

We can run certain processes like account packaging or account restores with certain cpuwatch value to make sure the server load remains in control and thus normal server operations continue to work during the cpu intensive restore or package processes. This can be achieved by using below command : /usr/local/cpanel/bin/cpuwatch 10 /scripts/restorepkg USERNAME We can […]

Continue reading about How To : Run processes with cpuwatch on CPanel

Riz Khan on April 24th, 2010

The below Application Error is a common error for windows vpss (virtouzzo based ) : Application Error The server encountered an internal error or misconfiguration. Contact your Hosting ProviderPlease report this problem to the technical support. This is usually caused by VPS hitting its memory paramets , the QOS alerts can be checked from vzmc/pmc […]

Continue reading about How To : Solve “Application Error” in Windows vzpp

If you delete a dns zone file for mistake in Cpanel/WHM and the account has lot of subdomains , then it can get very time consuming to fix this manually , by first adding the zone file and then adding entries for individual subdomains, below trick can fix this : Rename the domain name from […]

Continue reading about How To : Fix ” DNS zone deleted by mistake “ on cPanel servers