oninit: Cannot open chunk <chunk_path> errno = 24

Technote (troubleshooting)


This document applies only to the following language version(s):

English

Problem(Abstract)

You execute oninit to bring your IBM Informix Server into online mode. The process generates an assert warning that it cannot open a primary chunk and returns OS error 24.

18:08:53 Cannot Open Primary Chunk '/db_infx_wwp01/links/wwp01_2514', errno = 24

Symptom

Messages similar to the following are printed to the Informix Server log file (online.log):

18:08:55 Physical Recovery Started at Page (2:125490).
18:08:55 Physical Recovery Complete: 0 Pages Examined, 0 Pages
Restored.
18:08:55 Cannot Open Primary Chunk '/db_infx_wwp01/links/wwp01_0019'.
18:08:55 Cannot Open Primary Chunk '/db_infx_wwp01/links/wwp01_0020'.
18:08:56 Cannot Open Primary Chunk '/db_infx_wwp01/links/wwp01_0481'.
18:08:56 Assert Warning: pthdrpage:ptalloc:bad bfget
18:08:56 IBM Informix Dynamic Server Version 11.50.FC4
18:08:56 Who: Session(10, informix@brksvx12, 0, c00000008422a8e0)
Thread(92, fast_rec, c000000084200140, 1)
File: rspartn.c Line: 7191
18:08:56 Results: Cannot use TBLSpace page for TBLSpace 312475649
18:08:52 oninit: Cannot open chunk '/db_infx_wwp01/links/wwp01_2514'. errno = 24 18:08:53 Cannot Open Primary Chunk '/db_infx_wwp01/links/wwp01_2514', errno = 24 18:08:53 oninit: Cannot open chunk '/db_infx_wwp01/links/wwp01_2514'. errno = 24
When your engine comes into ON-Line mode, chunks may be marked offline (onstat -d).

Cause

The operating system error 24 means EMFILE, or too many open files on the process.

Resolving the problem

The problem will likely be resolved by tuning the NFILE kernel parameter. Confirm other kernel parameters as well. For reference, check the Informix Server machine-specific release notes. The notes contain the kernel settings used during testing of the software by IBM.

Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Informix Servers

Software version:

11.5, 11.70, 12.1

Operating system(s):

AIX, HP-UX, Linux, Solaris

Reference #:

1636630

Modified date:

2013-05-08

Translate my page

Machine Translation

Content navigation