Linux kill pid Process

Source: Internet
Author: User

In linux, the kill pid process memcached startup command references memcached-d-m 10-u root-l 192.168.0.122-p 11200-c 256-P/tmp/memcached. the pid-d option is to start a daemon.-m indicates the amount of memory allocated to Memcache. The unit is MB. Here 10 MB-u indicates the user who runs Memcache, here, root-l is the IP address of the listening server. If there are multiple IP addresses, the IP address 192.168.0.122-p is specified here to set the port for Memcache listening. Here, 12000 is set, it is best to set port-c above 1024 to the maximum number of concurrent connections. The default value is 1024. Here, 256 is set, based on the load on your server, set-P to set the end command for saving the Memcache pid file. Reference kill 'cat/tmp/memcached. pid 'note that this is not the single quotation mark that is the wavy line button.

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.