Custom Query (101 matches)
Results (1 - 3 of 101)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#177 | fixed | Dockerfile and docker-compose environment with pgbouncer | samsouk | |
Description |
Added a pgbouncer container to allow more then 100 simultaneous processes The docker-compose environment:
include a python script to test the max_client_conn setting: ` python docker/test_long_process.py 900 ` Patch generated with: ` diff -ruN ../ZOO-Project.orig/ . > ../docker-clean.patch ` |
|||
#176 | duplicate | Dockerfile and docker-compose environment | samsouk | |
Description |
This patch adds:
|
|||
#175 | fixed | Unique constraint violation in clustered mode | e.ropartz | |
Description |
Hi, We used zooproject in a clustered mode. So we have a database backend to share ongoing informations of running services between 2 ZOO-Kernel instances. When the load on the cluster increases, some requests fails due to databases errors : ERROR 1: ERROR: duplicate key value violates unique constraint "services_osid_key" DÉTAIL : Key (osid)=(1593003150) already exists. ERROR 1: ERROR: insert or update on table "responses" violates foreign key constraint "responses_uuid_fkey" DÉTAIL : Key (uuid)=(519e1ea2-b481-11ea-917c-005056b8dc20) is not present in table "services".
The osid is calculated by the script zoo-project/zoo-kernel/zoo_service_loader.c (line 830) : sprintf (tmpBuff, "%i", (cpid + ((int) tp.tv_sec + (int) tp.tv_usec)));
|