Unix Technical Forum

Performance Tuning Advice

This is a discussion on Performance Tuning Advice within the Informix forums, part of the Database Server Software category; --> I have the onstat -a of our the Informix Instance at the time of our database was crashing. See ...


Go Back   Unix Technical Forum > Database Server Software > Informix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-20-2008, 11:39 AM
dhaya.snidhi@gmail.com
 
Posts: n/a
Default Performance Tuning Advice

I have the onstat -a of our the Informix Instance at the time of our
database was crashing. See below the error message we where getting
during the time of crash:-

11:36:07 shmget: [EEXIST][17]: key 52564803: shared memory already
exists
11:36:07 create_tcb: cannot allocate memory

We are running our Application in Dell 6600 Server with 4 CPU, 4GB RAM
and data speard over 12 Disks. Our Informix Version is 9.3 .

I would apprericate if anybody could help me in analysis the onstat-a
output and recommending changes to our parameter. ( Basic issue is
performance).

Please e-mail me so I can forward the onstat-a output.

Thanks in advance..

Dhaya

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-20-2008, 11:39 AM
Art S. Kagel
 
Posts: n/a
Default Re: Performance Tuning Advice

dhaya.snidhi@gmail.com wrote:
> I have the onstat -a of our the Informix Instance at the time of our
> database was crashing. See below the error message we where getting
> during the time of crash:-
>
> 11:36:07 shmget: [EEXIST][17]: key 52564803: shared memory already

^^^^^^^^^^^^^^^^^^^^
This is the 'key' if you'll pardon the pun. IDS creates several shared
memory segments using keys that are calculated off a base value (0x52564800)
plus 0x00010000 time the SERVERNUM (in your case zero) plus the segment
number. So the first segment for your server (the RESIDENT segment) would
be keyed as 0x52564801 and the key 52564803 is the third segment or second
virtual segment. Apparently either this key clashes with another
application's use of shared memory key values or there was an old segment
left in memory the server crashed or was taken down previously. Use ipcs to
determine the owner of the segment. If it is an IDS segment it will be
owned by root or informix (version dependent) and group informix. If not,
you can change the SERVERNUM in the ONCONFIG file to change the key range
IDS uses so it no longer clashes with your other apps. If it IS an IDS
segment left over, first try running 'onmode -ky'. This will usually remove
old shared memory segments and semaphore groups. Otherwise use ipcrm to
kill the segments manually.

Art S. Kagel


> exists
> 11:36:07 create_tcb: cannot allocate memory
>
> We are running our Application in Dell 6600 Server with 4 CPU, 4GB RAM
> and data speard over 12 Disks. Our Informix Version is 9.3 .
>
> I would apprericate if anybody could help me in analysis the onstat-a
> output and recommending changes to our parameter. ( Basic issue is
> performance).
>
> Please e-mail me so I can forward the onstat-a output.
>
> Thanks in advance..
>
> Dhaya
>

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 10:06 AM.


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