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 issue

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-09-09, 09:01
rvsenthil rvsenthil is offline
Registered User
 
Join Date: Mar 2009
Posts: 22
shared memory issue

Hi,

We have informix 10 and weblogic server with 100 users web application.
Whenever we are running application, it is getting crashed after 30-40 minutes.

Our hp unix server has 4GB physical memory.

Error which we got:-

shmget: [ENOMEM][12]: key 52574803: out of shared memory, check system max shared memory segment size
15:53:58 out of virtual shared memory

onstat -g seg output:-

$ onstat -g seg

IBM Informix Dynamic Server Version 10.00.HC5 -- On-Line -- Up 01:04:35 -- 999860 Kbytes

Segment Summary:
id key addr size ovhd class blkused blkfree
2424837 1381451777 80000000 757506048 254840 R* 184937 1
(shared) 1381451777 ad26a000 266350592 8792 V 50708 14319
Total: - - 1023856640 - - 235645 14320

Onconfig information on shared memory:-

SHMBASE 0x0 # Shared memory base address
SHMVIRTSIZE 260096 # initial virtual shared memory segment size
SHMADD 181780 # Size of new shared memory segments (Kbytes)
SHMTOTAL 0 # Total shared memory (Kbytes). 0=>unlimited

Kernal Information:-

semaem Static 16384 16384 16384 - pm_usync
semmni Static 2048 2048 2048 1.3% pm_usync
semmns Static 4096 4096 4096 4.2% pm_usync
semmnu Static 256 256 256 - pm_usync
semmsl Dynamic 2048 2048 2048 - pm_usync
semume Static 100 100 100 - pm_usync
semvmx Static 32767 32767 32767 - pm_usync
shmmax Dynamic 4294967296 4294967296 1073741824 23.8% vm_asi
shmmni Dynamic 1024 1024 400 0.6% vm_asi
shmseg Dynamic 1024 1024 300 - vm_asi

swchunk Static 2048 2048 2048 - vm


maxdsiz_64bit Dynamic 4294967296 4294967296 4294967296 1.1% vm
maxfiles Static 2048 - 2048 - fs
maxfiles_lim Dynamic 4096 4096 4096 1.5% fs
maxrsessiz Static 8388608 8388608 8388608 - vm
maxrsessiz_64bit Static 8388608 8388608 8388608 - vm
maxssiz Dynamic 268435456 268435456 8388608 0.3% vm
maxssiz_64bit Dynamic 268435456 268435456 268435456 0.0% vm
maxtsiz Dynamic 100663296 100663296 100663296 13.8% vm
maxtsiz_64bit Dynamic 1073741824 1073741824 1073741824 0.2% vm
maxuprc Dynamic 256 256 256 16.8% pm_proc

Please provide me a valuable suggeation. we are facing lot of problem because of this.

Thanks,
R V
Reply With Quote
  #2 (permalink)  
Old 04-09-09, 09:36
rootdbs rootdbs is offline
Registered User
 
Join Date: Feb 2009
Posts: 51
Post AF-file which Informix generated in crash.
Reply With Quote
  #3 (permalink)  
Old 04-09-09, 10:28
rvsenthil rvsenthil is offline
Registered User
 
Join Date: Mar 2009
Posts: 22
Thanks for your time...

I have attached the file.

Thanks,
Senthil Kumar R V
Attached Files
File Type: txt af.67bda8e.txt (4.29 MB, 442 views)
Reply With Quote
  #4 (permalink)  
Old 04-10-09, 01:15
rootdbs rootdbs is offline
Registered User
 
Join Date: Feb 2009
Posts: 51
You should increase shmmax in OS kernel.
You can find values of kernel parameters in Informix release notes.
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