My Oracle Support Banner

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 19.3.0.0.0 and later
Information in this document applies to any platform.

Symptoms

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.

Changes

The code has been deployed in an AIX environment. The same code works fine on Linux.

Cause

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
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.