Unix Technical Forum

shmdt: errno = 22

This is a discussion on shmdt: errno = 22 within the Informix forums, part of the Database Server Software category; --> Hi, I am facing problem with shared memory on AIX 5.2 with Informix 9.40. UC2 ,My Informix server is ...


Go Back   Unix Technical Forum > Database Server Software > Informix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-19-2008, 07:13 PM
sharad
 
Posts: n/a
Default shmdt: errno = 22

Hi,
I am facing problem with shared memory on AIX 5.2 with Informix 9.40. UC2
,My Informix server is crashing after 27 Hours after continuous stress test.
with the following error.
======================================
13:52:48 shmdt: errno = 22
13:52:48 out of virtual shared memory
13:52:54 shmat: [EMFILE][24]: out of shared memory segments, check system
SHMSEG
13:52:54 shmdt: errno = 22
13:52:54 out of virtual shared memory
13:52:57 I/O write chunk 1, pagenum 2763, pagecnt 1 --> errno = 4
13:53:00 Assert Failed: Dynamic Server must abort
13:53:00 IBM Informix Dynamic Server Version 9.40.UC2
13:53:00 Who: Session(1, informix@adolphus, 0, 4020c018)
Thread(7, main_loop(), 401db018, 1)
File: rslog.c Line: 3406
13:53:00 Results: Dynamic Server must abort
13:53:00 Action: Reinitialize shared memory
13:53:00 stack trace for pid 28728 written to /tmp/af.3efa9e9
13:53:00 See Also: /tmp/af.3efa9e9, shmem.3efa9e9.0
13:54:27 rslog.c, line 3406, thread 7, proc id 28728, Dynamic Server must
abort.
13:54:29 The Master Daemon Died
13:54:32 PANIC: Attempting to bring system down

======================================
Current setting for shared memory is:
SHMBASE 0x30000000L
SHMVIRTSIZE 65536
SHMADD 24576

system is Running on Informix 9.40.UC2 and AIX 5.2.
If anybody has idea how to tune this value . It will be great help.

- Thanks

sharad.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-19-2008, 07:13 PM
Art S. Kagel
 
Posts: n/a
Default Re: shmdt: errno = 22

On Mon, 21 Jul 2003 06:24:43 -0400, sharad wrote:

The engine exceeded the maximum number of shared segments that AIX would
permit it to attach. Increase SHMVIRTSIZE to reduce the number of
segments needed steady state and increase SHMADD to reduce the number of
additional segments added at peak times. Also in normal operations you
would run onmode -F after any unusual peaks to release unneeded shared
memory segments. You may want to make a periodic onmode -F during the
stress test to simulate that.

Art S. Kagel


> Hi,
> I am facing problem with shared memory on AIX 5.2 with Informix 9.40.
> UC2
> ,My Informix server is crashing after 27 Hours after continuous stress
> test. with the following error.
> ====================================== 13:52:48 shmdt: errno = 22
> 13:52:48 out of virtual shared memory 13:52:54 shmat: [EMFILE][24]:
> out of shared memory segments, check system SHMSEG 13:52:54 shmdt:
> errno = 22
> 13:52:54 out of virtual shared memory 13:52:57 I/O write chunk 1,
> pagenum 2763, pagecnt 1 --> errno = 4 13:53:00 Assert Failed: Dynamic
> Server must abort 13:53:00 IBM Informix Dynamic Server Version 9.40.UC2
> 13:53:00 Who: Session(1, informix@adolphus, 0, 4020c018)
> Thread(7, main_loop(), 401db018, 1)
> File: rslog.c Line: 3406
> 13:53:00 Results: Dynamic Server must abort 13:53:00 Action:
> Reinitialize shared memory 13:53:00 stack trace for pid 28728 written
> to /tmp/af.3efa9e9 13:53:00 See Also: /tmp/af.3efa9e9, shmem.3efa9e9.0
> 13:54:27 rslog.c, line 3406, thread 7, proc id 28728, Dynamic Server
> must abort.
> 13:54:29 The Master Daemon Died
> 13:54:32 PANIC: Attempting to bring system down
>
> ====================================== Current setting for shared memory
> is: SHMBASE 0x30000000L
> SHMVIRTSIZE 65536
> SHMADD 24576
>
> system is Running on Informix 9.40.UC2 and AIX 5.2. If anybody has idea
> how to tune this value . It will be great help.
>
> - Thanks
>
> sharad.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:21 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com