Snowflake connector pooling-profile maxWait is not applied and connection checkouts from an exhausted pool wait forever
Not fixed yet. Salesforce has scheduled a fix.
There's a workaroundSummary
Snowflake connector: pooling-profile maxWait is never applied, so connection checkouts from an exhausted pool wait forever and application hanngs to get a connection from a pool. Default value -1 is applied and application waits forever to get a connection from a pool
Workaround
Set the JVM system property -Dc3p0.checkoutTimeout=<millis>. It applies to every c3p0 pool in the runtime.
Steps to reproduce
- Configure a Snowflake config (basic or key-pair provider) with
<snowflake:pooling-profile maxPoolSize="1" maxWait="2" maxWaitUnit="SECONDS"/>. - Run an operation that checks out the only pooled connection. Then run a second operation.
- Expected: after about 2 seconds,
SNOWFLAKE:CONNECTIVITY"Could not obtain connection from data source". Actual: the flow blocks indefinitely.
History
Description updated
Nov 30, 2026
First tracked here as Solution Scheduled with 1 report
Nov 30, 2026
Also open in Anypoint Connectors
SFTP Connector Write Operation Fails with SSH_FX_NO_SUCH_FILE Exception
Solution ScheduledMuleSoft / Anypoint ConnectorsReported Sep 10, 202559 reports59reports
Azure Event Hib listener not listening the events when it stoped and restarted due to checkpoint not created
Solution ScheduledMuleSoft / Anypoint ConnectorsReported Feb 14, 202422 reports22reports
JMS connector - enabling TLS cause problems with property socket.verifyHostName=false
Solution ScheduledMuleSoft / Anypoint Connectorsv1.9.1Reported Feb 28, 202419 reports19reports
Performance improvement for Sftp Connector 2.x
In ReviewMuleSoft / Anypoint ConnectorsReported Sep 26, 202416 reports16reports