Memcache command start parameter description _ php instance

Source: Internet
Author: User
This article describes the description of the memcache command startup parameters in Chinese. The code is as follows:


Usr/local/bin/memcached-d-m 128-u root-l 192.168.0.10-p 12121-c 256-P/tmp/memcached. pid

-TCP port listened by p (default: 11211)
-U udp listening port (default: 11211, disabled when 0)
-D run as a daemon
-U: the account that runs Memcached is not the root user.
-The maximum memory usage unit of m is MB. the default value is 64 MB.
-The default number of c soft connections is 1024.
-V output warning and error message
-Vv: print the client's request and return information
-H: Print Help information
-I print the copyright information of memcached and libevent.
-L binding address (default: all IP addresses are allowed, regardless of internal and external networks or the local machine IP address replacement, there is a security risk, if set to 127.0.0.1, only local access is allowed)
-P writes the PID to the file, so that the process can be terminated quickly later and must be used together with-d.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.