Andrew Young
07/17/2023, 7:51 PMDennis (Cerbos)
max_connections setting?Dennis (Cerbos)
Andrew Young
07/17/2023, 8:32 PMAndrew Young
07/17/2023, 8:33 PM"error":"read: connection reset by peer"Andrew Young
07/17/2023, 8:33 PMAndrew Young
07/17/2023, 8:34 PMDennis (Cerbos)
Andrew Young
07/17/2023, 8:37 PMAndrew Young
07/17/2023, 8:38 PMDennis (Cerbos)
Cerbos uses a connection pool when connecting to a database. You can configure the connection pool settings by adding asection to the driver configuration.connPool
Dennis (Cerbos)
maxIdle settingAndrew Young
07/17/2023, 8:40 PMAndrew Young
07/17/2023, 8:42 PMAndrew Young
07/17/2023, 8:42 PMDennis (Cerbos)
tcp_keepalives_idle  settingAndrew Young
07/17/2023, 8:45 PMDennis (Cerbos)
Andrew Young
07/17/2023, 8:46 PMDennis (Cerbos)
Dennis (Cerbos)
Dennis (Cerbos)
server:
  advanced:
    http:
         ...
    grpc:
         ...
This “advanced” section allow configuring settings of HTTP and GRPC connection.
I think the relevant protocol setting  is “MaxIdleConnsPerHost”, but it can’t be configured at this moment.Andrew Young
07/17/2023, 10:57 PM