Hi,
I’m getting the error below from time to time and not sure what is causing this.
SQLSTATE[08006] [7] could not send startup packet: Resource temporarily unavailable (Connection: pgsql <query>)
I assume it has something to do with my postgres server configuration but can’t figure out what it is. My Postgres server is always up and has this configuration:
NAME VALUE UNIT DESCRIPTION PENDING RESTART
log-statement none Sets the type of statements logged. [none, ddl, mod, all] false
shared-preload-libraries repmgr Lists shared libraries to preload into server. false
wal-level replica Sets the level of information written to the WAL. [minimal, replica, logical] false
max-wal-senders 10 Sets the maximum number of simultaneously running WAL sender processes. (0, 262143) false
work-mem 4096 kB Sets the maximum memory to be used for query workspaces. (64, 2147483647) false
shared-buffers 32768 8kB Sets the number of shared memory buffers used by the server. (16, 1073741823) false
log-min-duration-statement -1 ms Sets the minimum execution time above which all statements will be logged. (-1, 2147483647) false
max-replication-slots 10 Sets the maximum number of simultaneously defined replication slots. (0, 262143) false
max-connections 300 Sets the maximum number of concurrent connections. (1, 262143) false
maintenance-work-mem 65536 kB
I’m using Postgres 15.2 (image flyio/postgres-flex:15.2 (v0.0.40)
), PHP 8.3.9 and Laravel 10.48.4.
Any help is much appreciated.
Thank you,
Floris
PS: I accidentally closed my original topic and could not restore it. Sorry for double posting.