"There Is No Process To Read Data Written To A Pipe" When A JDBC Testcase Creates 1000 Parallel Connections (Doc ID 1200996.1)

Last updated on MARCH 08, 2017

Applies to:

JDBC - Version 10.2.0.4 and later
Information in this document applies to any platform.
***Checked for relevance on 16-Aug-2013***

Symptoms

A standalone java test case that connects to the database via JDBC/Thin was designed to create a high volume of connections (at least 1000) as fast as possible. Connections are made by many threads, thus allowing some connections to be made in parallel, to purposefully increase the connection frequency.

In some environments, some connections fail when the test case is run.

The issue of concern is the failure of connections when the test case is run on AIX.

In Test a number of connections failed with:

java.sql.SQLException: Io exception: There is no process to read data written to a pipe.

The following excerpt from Test #1 output was provided.
- - - excerpt - - -
Thread 839 Database Authentication Success...
Thread 598 Database Authentication Success...
Thread 367 Database Authentication Success...
Thread 616 Database Authentication Success...

Thread 710 Database Authentication failed...java.sql.SQLException: Io
exception: There is no process to read data written to a pipe.

Thread 788 Database Authentication failed...java.sql.SQLException: Io
exception: There is no process to read data written to a pipe.

Thread 277 Database Authentication failed...java.sql.SQLException: Io
exception: There is no process to read data written to a pipe.

Thread 253 Database Authentication failed...java.sql.SQLException: Io
exception: There is no process to read data written to a pipe.

Thread 730 Database Authentication failed...java.sql.SQLException: Io
exception: There is no process to read data written to a pipe.

Thread 160 Database Authentication failed...java.sql.SQLException: Io
exception: There is no process to read data written to a pipe.

Thread 195 Database Authentication failed...java.sql.SQLException: Io
exception: There is no process to read data written to a pipe.
- - - end excerpt - - -

The issue occurs with a number of JDBC versions (one of which is 10.2.0.4).

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms