Posts Under Category:

Generally PHP memory limit set by root host is 8-32 MB But sometime you may need more PHP memory. If you are on a shared hosting, you can increase php memory limit of your account by simply adding the following code in your .htaccess file located in public_html folder.

php_value memory_limit 128M

This will increase php memory limit of your account to 128 MB. If there is no .htaccess file in public_html folder, create a text file and rename it to .htaccess

Our Recommended Hosting

Use below SSH command to find detailed memory information / usage of your server / VPS. It will show you total memory, free memory, used memory, cached memory etc.

cat /proc/meminfo

This command is very useful as it shows large amount of valuable information about the server RAM usage, like:

  • Total usable RAM
  • Free memory
  • Buffer memory
  • Cached memory
  • Swap used as cache memory
  • Total cache memory that is active
  • Total cache memory that is free
  • Total amount of memory in the high region
  • The total amount of non-highmem memory.
  • The amount of free memory of the low memory region.
  • Total amount of physical swap memory.
  • Dirt: The total amount of memory waiting to be written back to the disk.
  • Writeback: The total amount of memory actively being written back to the disk.
  • etc..

ssh-proc

Another useful command

Another very good SSH command to find detailed memory information is:

vmstat -s

Our Recommended Dedicated Server

You can check the centOS version installed on your dedicated server / VPS using any of the following SSH command.

cat /etc/*release*

cat /etc/redhat-release

cat /etc/centos-release

centos-version

Our Recommended VPS Hosting

You can check your dedicated server or VPS memory details using SSH command.

free –m

This command will show total memory installed, currently used memory, currently free memory and other details.

memory-ssh

Another useful SSH command is ps to check memory usage. This command will show all running processes with RAM usage as a percent of total RAM:

ps aux

ssh-ps

Our Recommended VPS Hosting

Normal price of cPanel/WHM license for dedicated server is 25$ per month, while cPanel/WHM license for VPS is around 10$ per month.

So, what is difference between cPanel / WHM for dedicated server and cPanel / WHM for VPS??

Don’t be confused that VPS cPanel/WHM lacks few functionality. Both cPanel for VPS and dedicated server are functionally identical. VPS cPanel/WHM name is VPS Optimized and name of cPanel/WHM for dedicated server is Accelerated.

The only difference is that VPS Optimized is optimized for virtual environments.

Our Recommended VPS Hosting

Top command in SSH is used to display top process using high CPU.

To exit from top, just press following key on your keyboard.

q

Our Recommended Dedicated Server