I got this from /server/health:
{
"status": "warn",
"releaseId": "10.10.7",
"serviceId": "customautosys",
"checks": {
"postgres:responseTime": [
{
"status": "warn",
"componentType": "datastore",
"observedUnit": "ms",
"observedValue": 661.302,
"threshold": 150
}
],
"postgres:connectionsAvailable": [
{
"status": "ok",
"componentType": "datastore",
"observedValue": 5
}
],
"postgres:connectionsUsed": [
{
"status": "ok",
"componentType": "datastore",
"observedValue": 3
}
],
"storage:local:responseTime": [
{
"status": "warn",
"componentType": "objectstore",
"observedValue": 2432.579,
"observedUnit": "ms",
"threshold": 750
}
],
"email:connection": [
{
"status": "ok",
"componentType": "email"
}
]
}
}
It seems like the problem is the data store and the object store, i.e. postgres. However, I’m using the same postgresql backend as my main website, just with a different database.
Also what’s the difference between objectstore and datastore?
Any idea how I might be able to fix this?
I’ve also taken a look at phpPgAdmin and both databases are 10 MB so I don’t really see what is significantly different between the databases.
Also I’ve checked the pg npm package version in both my main website and this web-app and both are 8.11.4.
This is what I get for my main website:
{
"status": "ok",
"releaseId": "10.10.7",
"serviceId": "customautosys",
"checks": {
"postgres:responseTime": [
{
"status": "ok",
"componentType": "datastore",
"observedUnit": "ms",
"observedValue": 3.572,
"threshold": 150
}
],
"postgres:connectionsAvailable": [
{
"status": "ok",
"componentType": "datastore",
"observedValue": 5
}
],
"postgres:connectionsUsed": [
{
"status": "ok",
"componentType": "datastore",
"observedValue": 0
}
],
"storage:local:responseTime": [
{
"status": "ok",
"componentType": "objectstore",
"observedValue": 8.56,
"observedUnit": "ms",
"threshold": 750
}
],
"email:connection": [
{
"status": "ok",
"componentType": "email"
}
]
}
}