Yash Kasat
Yash Kasat

Reputation: 203

Need reason for why Vespa database stops suddenly?

I am using vespa as a database for some application. It was running perfectly okay and suddenly stops working. When checked with command vespa-get-cluster-state it returned the result as shown below: enter image description here

But when I checked with command vespa-config-status it return the result as shown below: enter image description here

To rectify this type of issue, I have to again deploy the application using vespa-deploy prepare application.zip && vespa-deploy activate and then restart all the services.

But I need to know the reason why the database stops suddenly. And how to handle this issue to make sure it won't happen again.

Upvotes: 1

Views: 237

Answers (1)

Jo Kristian Bergum
Jo Kristian Bergum

Reputation: 3184

By stopped working what do you mean? You mean the port 8080 of the stateless container has stopped listening? There are multiple services making up one running Vespa instance and the socket write error could indicate that the container is no longer listening for some reason.

vespa-logfmt inside the docker container could tell you why.

Upvotes: 2

Related Questions