Reputation: 203
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:
But when I checked with command vespa-config-status
it return the result as shown below:
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
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