Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Server info: cPanel / 4GB

The conf file as below:

#Memory a user
-m 128
# default port
-p 11211
# user to run daemon nobody/apache/www-data
-u nobody
# only listen locally
-l 127.0.0.1

Does it mean that it assign 128M to each account(domain)? Let's say if 10 sites are running, 128 * 10 = 1280M will be consumed for the server?

Please correct me if wrong. Thanks.

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

Memcached has no concept of "domains", "sites", "accounts", "users", or anything else of that nature. It's just a big box that you put things in and take then out of. In this case, you've specified that the box may be up to 128MB in size.

It is possible that cPanel may have some sort of "memcached per account" functionality; if that's the case, you'll want to consult cPanel support about the impact of their proprietary functionality on your system operation.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.