View Issue Details

IDProjectCategoryView StatusLast Update
0007878Talersandcastle (containerized demo deployment)public2023-09-23 13:09
ReporterFlorian Dold Assigned Tojavier.sepulveda Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Target Version0.9.3Fixed in Version0.9.3 
Summary0007878: sandcastle should limit max process run-time
DescriptionIdeally systemd should be used for that.

We need to stop and restart the services regularly, otherwise postgres will take up too much memory.
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

javier.sepulveda

2023-07-11 13:58

reporter   ~0020351

Fixed by Florian, by inserting on the bash (images/exchange/scripts/startup.sh) file which is executed, right after the container is put into operation (docker run) a little sleep process, which fails every hour.

After that the docker-compose (exchange) restart-always directive, will take care of starting the container again and again. In this way we close the postgres connection every hour, and therefore avoid the accumulation of memory usage.

I have checked the performance of this change and works okay, having currently as always 31% of memory in use.

Issue History

Date ModifiedUsernameFieldChange
2023-07-03 12:15Florian DoldNew Issue
2023-07-03 12:15Florian DoldAssigned To => javier.sepulveda
2023-07-03 12:15Florian DoldStatusnew => assigned
2023-07-11 13:58javier.sepulvedaStatusassigned => informing
2023-07-11 13:58javier.sepulvedaResolutionopen => fixed
2023-07-11 13:58javier.sepulvedaNote Added: 0020351
2023-07-13 21:55Christian GrothoffFixed in Version => 0.9.3
2023-07-13 21:55Christian GrothoffTarget Version0.9.4 => 0.9.3
2023-09-23 13:09Christian GrothoffStatusinforming => closed