If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > shared memory segment not getting free

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-19-05, 05:10
jjosh jjosh is offline
Registered User
 
Join Date: Aug 2004
Posts: 7
shared memory segment not getting free

Hello,

We have HP-UX11i OS and informix 9.40 FC2 database for Baan IVc4 ERP application.

when we start informix it allocates initial 2 memory segments one resident and other virtual.
as and when require database allocates additional memory segment.
we see the status of these memory segments thru onstat -g seg command.

now we are facing a peculiar problem from last two days i.e database goes on allocating memory segment without releasing any one already allocated. i.e in onstat -g seg command all the segments show blkfree as zero. earlier these segments were reused after getting blkfee and no. of segments were up to 7. now this figure goes up to 240 and informix gets down saying not enough shared memory segment to allocate out of virtual shared memort.

we have not changed any kernel and informix configuration and no. of users are also the same.
what could be the reason that segments are not getting released for reuse insted of assining new segment.

check point occures with regular interval of 3 to 5 secs.


Regards
Reply With Quote
  #2 (permalink)  
Old 01-19-05, 11:54
ServerMetrics ServerMetrics is offline
Registered User
 
Join Date: May 2004
Posts: 45
Are you running onmode -F? This causes informix to look at the virtual segment and free up some unused space. This might help, especially if you run it as an script every so often, that may allow you to stay up longer while you look for the source of the problem.

If you are rapidly adding new virtual segments my first thought is it may be a program logic issue like creating new cursors without closing them, did you change or add any new code?
__________________
Keith Brownlow
ServerMetrics DB Monitoring (www.servermetrics.com)
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On