Hi

I've configured a Datasource in Spring Boot/Batch.

@Bean
@ConfigurationProperties(prefix = 'app.datasource')
DataSource dataSource() {
DataSourceBuilder.create().type(OpenEdgeDataSource40).build()
}

app:
datasource:
user: abcdef
password: uvwxyz
databaseName: yyyyyy
serverName: 11.12.123.45
portNumber: 1234
defaultSchema: pub

After ~50K reads, I get an error:

[DataDirect][OpenEdge JDBC Driver]Error establishing socket to host and port: 11.12.123.45:1234. Reason: Too many open files

Any ideas on what's causing this error?


Thanks

Mark