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 > Rootdbs gets filled

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #16 (permalink)  
Old 03-12-04, 09:34
fprose fprose is offline
Registered User
 
Join Date: Apr 2003
Location: Phoenix, AZ
Posts: 177
To calculate your basis for SHMVIRTSIZE look at the output of the "onstat -g seg" after the instance has been running and it's gone through multiple extents. Add up the "size" all the segements marked class "V". That, plus a safety net, say 10% should be SHMVIRTSIZE. SHMADD I set at 25% of SHMVIRTSIZE. Remember, the display of "onstat -g seg" is in byte, the value in onconfig is in kbytes.

If you see additional segments in the logs, do the calculation again.

It's important to control this. In some operating systems expanding to 10 segememts or more used to assert fault the instance.

As to suggested size, your milage may vary. For one of my 32bit (9.2) instances supporting 350 connections my SHMVIRTSIZE is 327680. That value doubles to support the same number of users in 64bit.

If you truely have all those idel connections you need to look at getting rid of them. For one thing, someone is writting some REALY poor Java code.
__________________
Fred Prose
Reply With Quote
  #17 (permalink)  
Old 03-14-04, 22:13
lloydnwo lloydnwo is offline
Registered User
 
Join Date: Aug 2003
Location: India
Posts: 262
Quote:
Originally posted by fprose
To calculate your basis for SHMVIRTSIZE look at the output of the "onstat -g seg" after the instance has been running and it's gone through multiple extents. Add up the "size" all the segements marked class "V". That, plus a safety net, say 10% should be SHMVIRTSIZE. SHMADD I set at 25% of SHMVIRTSIZE. Remember, the display of "onstat -g seg" is in byte, the value in onconfig is in kbytes.

If you see additional segments in the logs, do the calculation again.

It's important to control this. In some operating systems expanding to 10 segememts or more used to assert fault the instance.

As to suggested size, your milage may vary. For one of my 32bit (9.2) instances supporting 350 connections my SHMVIRTSIZE is 327680. That value doubles to support the same number of users in 64bit.

If you truely have all those idel connections you need to look at getting rid of them. For one thing, someone is writting some REALY poor Java code.
Hi Fred,

Thanks once again your feedback, i will work on it. Yes you are right some of my developers are writing very poor java code, there cannot be 2000 connections, have to check up it them. Thanks once again.

Regards,

Lloyd
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