-
Notifications
You must be signed in to change notification settings - Fork 499
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tikv not running #299
Comments
@yanyixing Can you get the logs of tikv:
And which version of tidb-operator are you using? |
|
@yanyixing Get the previous logs of this tikv:
And which version of tidb-operator are you using? |
@weekface
|
@weekface |
result
|
I can't find any useful pieces of information. What is the logs of kubelet:
|
|
What's the value of |
and the LimitNOFILE=infinity |
What is the
|
host ulimit is 1024 and container ulimit is 65536 |
Set |
Sorry, it is maybe: |
thanks , tikv is running now. @weekface |
I think we should update the corresponding section of
|
Yes, I will open a PR. |
Closing it in favor of #300 |
I also using tidb-operator install a tidb on my three nodes k8s env, and the tikv not running. kubectl logs -f -n tidb demo-tikv-0 -c tikv result: all logs is here . |
First, add an annotation to the TiKV pod:
Wait for this pod restart again, and then exec to it, start the tikv-server manually:
And finally, you may see the full errors. Please let me know if you meet a problem. |
Note the TiKV logs may be lost when panic. See tikv/tikv#4328 and tikv/tikv#3387. This got fixed recently tikv/tikv#4448. So to view the full error logs, @wgimperial you have to follow @weekface 's suggestion. |
I have set LimitNOFILE and LimitNPROC to 1048576 in the file: /usr/lib/systemd/system/docker.service then follow your suggestion,add an annotation to the TiKV pod, demo-tikv-0 2/2 running 5 58m continue exec: i get the full error logs: |
You should edit |
@weekface it's ok. thank you very much! |
i'm using centos7.8, and there is no such file /etc/systemd/system/docker.service, though, there is a file /etc/systemd/system/multi-user.target.wants/docker.service, and this is a soft link of /usr/lib/systemd/system/docker.service, |
I using tidb-operator install a tidb on my three nodes k8s env, but the tikv not running.
The result is as blew:
The text was updated successfully, but these errors were encountered: