Open jhy070997 opened 2 years ago
before the container restart, I saw the number of processes (about 16 processes) with same command (result via ps aux)
1001 6273 0.0 0.0 3740 2816 ? Ss 06:26 0:00 bash -ec PGPASSWORD=${PGPOOL_POSTGRES_PASSWORD} psql -U "postgres" -d "postgres" -h /opt/bitnami/pgpool/tmp -tA -c "SELECT 1" >/dev/null
1001 6284 0.0 0.1 17636 5260 ? S 06:26 0:00 psql -U postgres -d postgres -h /opt/bitnami/pgpool/tmp -tA -c SELECT 1
Helm chart version postgresql-ha-7.8.2
Describe pgpool container (inside of Pod) restart when many client session
Reproduce Deploy chart with configs.
Create python script
Execute script with different shell terminal (create multiple process) Data will be inserted. and stop when 80~90 records were inserted and container will restart with log below
Expected behavior A clear and concise description of what you expected to happen. child process of pgpool is 32. max_pool is 15. so pgpool can accept 480 sessions. (at least 480 data would be inserted)
Version of Helm and Kubernetes: Output of helm version:
Output of kubectl version: