Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2009
    Posts
    22

    Unanswered: 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

  2. #2
    Join Date
    Feb 2009
    Posts
    51
    Post AF-file which Informix generated in crash.

  3. #3
    Join Date
    Mar 2009
    Posts
    22
    Thanks for your time...

    I have attached the file.

    Thanks,
    Senthil Kumar R V
    Attached Files Attached Files

  4. #4
    Join Date
    Feb 2009
    Posts
    51
    You should increase shmmax in OS kernel.
    You can find values of kernel parameters in Informix release notes.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •