Closed Ivansete-status closed 1 week ago
PRs ready, waiting for approval before applying them.
Should the staging environment have the same value ?
PRs ready, waiting for approval before applying them.
Should the staging environment have the same value ?
Good question. Aligned with that, a good approach would be to have the very same hw specs in status.staging
than in status.prod
. Sth to consider in a separate PR of course ( wdyt @jakubgs .)
That kinda sounds like a waste of money to me, we should rather make the config dynamic dependent on memory available.
@Ivansete-status I updated the PR to use 1/16th of the memory available on the host, that would be 1 GB for the prod
env.
Is that good for you ?
@Ivansete-status I updated the PR to use 1/16th of the memory available on the host, that would be 1 GB for the
prod
env. Is that good for you ?
@apentori - I think that's fine for now yes. We can fine-tune if required in the future. Thanks !
@apentori - after applying the change in status.staging
I could manually perform the vacuum in the ams database node. Therefore, I think this can be applied into status.prod
as well. Nevertheless, before applying the change there we need to make sure the Status QA frens are not using them.
Deployed on both environment
I've come across the following error when trying to perform
VACUUM
in a database:The reason for that is that Docker, by default, reserves 64MB for shared memory but we need to make it larger in our Postgres setup.
To overcome this and possible future issues, I suggest configuring it to 1 GB. For that, we need to have the docker-compose file with sth like: