In the API Developer Portal v5.4.x, activation and reactivation emails are not being sent to users. This occurs because the portal_rabbitmq container crashes intermittently, preventing the portal_dispatcher service from processing the notify.queue
Symptoms
rabbitmqctl list_queues shows messages accumulating in notify.queue with 0 consumers.Exit Code 137.docker inspect #### --format "{{.State.OOMKilled}}" returns true.Following the removal of the PSSG service, the portal_dispatcher handles notification consumption. The default memory limits for the RabbitMQ (message-broker) container (560 MiB) are insufficient for production loads, leading to Out of Memory (OOM) termination by the Docker daemon.
Increase the memory allocation for the RabbitMQ service in the Docker deployment configuration.
docker-compose.yml file used for the Portal deployment.rabbitmq service definition.resources section under deploy to increase memory limits:docker stack deploy -c docker-compose.yml portalportal_rabbitmq service is stable and the notify.queue has an active consumer: docker exec #### rabbitmqctl list_queues name messages consumers