Good Habit: stop the service on the control panel

Source: Internet
Author: User

From last night, coreseek still had a strange problem. As a result, I didn't feel good at night.

You can search successfully in the command line, but once you call the API, it will be very strange, no matter whether it is a field or the original attribute, It is the previous situation. Index creation is successful, and the port is also listening, but the results are still problematic. After more than an hour of cooperation with our lab Eldest Brother and second brother, we finally found the problem.

When you stop a service in task manager, you can still call API Search ,!!! It indicates that the searchd service has not been stopped. Then, use netstat-a-o to check the port listening status and find that a searchd program is still running under the task manager. It is a success to restart the service after he finishes.

The reason is that when you stop the service in the task manager, the service itself is stopped, but the instance process created by the service itself is not stopped. There has been a listener, and this instantiation program still uses the original configuration file. Of course, the search will be weird.

So we need to stop the service under the control panel, so that the corresponding instance process will also stop, and there will be no problems I encountered.

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.