How high do You usually set memory limit ?

bejbi

Well-Known Member
PartnerNOC
Jan 20, 2006
159
30
178
Poland
cPanel Access Level
DataCenter Provider
What memory limit do You set in LVE ?

In my observation:

I have one customer which has about 800 unique visitor per day. Website is based on joomla 1.5

He has about 9-10 php processes, and each of them has memory usage:

30 MB real memory, and 440 virtual memory

So the sum of virtual memory is ~4GB !!

The standard limit of LVE z cPanel is 1GB of virtual memory ... How high do You raise memory limit on Your hosting ?
 

iseletsk

Well-Known Member
Verifed Vendor
On CL6 -- you should really use just physical memory and disable vitual memory at all (by setting it to 0). As soon as we push the new CL5 kernel with physical memory support, we will make it default.
 

iseletsk

Well-Known Member
Verifed Vendor
Physical memory corresponds to RES column in top. Virtual memory -- corresponds to VIRT column.
Per top man page:
VIRT -- Virtual Image (kb)
The total amount of virtual memory used by the task. It
includes all code, data and shared libraries plus pages that
have been swapped out and pages that have been mapped but not
used.

RES -- Resident size (kb)
The non-swapped physical memory a task has used.

I don't know how to explain what virtual memory is in non-technical terms. Here is the pretty good technical explanation: Solaris Troubleshooting and Performance Tuning.

Physical memory on the other hand is the most reasonable way to account for actual memory used.