Sleep Function in OCI Fails To Respond to SIGALRM on AIX When Connected with Database
(Doc ID 2868560.1)
Last updated on MAY 17, 2022
Applies to:Oracle Database - Enterprise Edition - Version 18.104.22.168.0 and later
Information in this document applies to any platform.
The sleep() function used in conjunction with OCI fails to respond to SIGALRM signal interruption and exit on AIX platform. The issue happens only when the code remains connected with the database, it works fine before the DB connection is made or after the connection is terminated. The issue can be easily reproduced by adding the following code snippet to an OCI program
before it makes connection to the database and after the connection is established but not closed yet.
The code has been deployed in an AIX environment. The same code works fine on Linux.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document