Results 1 to 6 of 6
  1. #1
    Join Date
    Oct 2007
    Posts
    61

    Exclamation Unanswered: Out of memory Suddently....

    Hello...

    I'm worried with one problem...

    My server's showing one message to me "Out of memory" and. when this happen, all database stop for somes seconds..


    I wait somes seconds, and all turn normal...


    I don't know what I do to discover what's happening with my database....

    Someone have a idea to me check what's wrong ?

  2. #2
    Join Date
    Oct 2007
    Posts
    61

    Swap

    I'm thinking it's problem due low swap memory...


    total used free shared buffers cached
    Mem: 2016 2001 15 0 5 970
    -/+ buffers/cache: 1024 991
    Swap: 2000 1513 150


    when my server got close 100 free, the application stop !!


    When the value increase to 400 free (swap value).... the server stay stable...

    Att,
    Fernando.

  3. #3
    Join Date
    Apr 2007
    Location
    Jundiai / SP - Brasil
    Posts
    311
    what version of your IDS?
    What OS?
    How much of Physical Memory you have in this machine?
    How much of shared+resident memory config your IDS?
    Do you have another heavy services running ?
    Do you set the RESIDENT option on ONCONFIG?

    Some commands, if your OS is Linux:
    vmstat
    swapon -s ## show status
    swapoff -a ## disable swap
    sar -r 1 1000
    free
    study about kernel parameters: /proc/sys/vm/*
    man -S 5 proc
    ________________________________________
    César Inacio Martins
    Jundiai / SP - Brasil
    http://www.imartins.com.br/informix - em Português
    http://www.imartins.com.br/informix - English (translated by Google).
    ________________________________________

  4. #4
    Join Date
    Oct 2007
    Posts
    61
    IBM Informix Dynamic Server Version 9.40.UC3
    Red Hat Enterprise
    2 GB


    # Shared Memory Parameters

    LOCKS 2000 # Maximum number of locks
    BUFFERS 5000 # Maximum number of shared buffers
    NUMAIOVPS # Number of IO vps
    PHYSBUFF 32 # Physical log buffer size (Kbytes)
    LOGBUFF 32 # Logical log buffer size (Kbytes)
    CLEANERS 1 # Number of buffer cleaner processes
    SHMBASE 0x44000000L # Shared memory base address
    SHMVIRTSIZE 8000 # initial virtual shared memory segment size
    SHMADD 8192 # Size of new shared memory segments (Kbytes)
    SHMTOTAL 0 # Total shared memory (Kbytes). 0=>unlimited
    CKPTINTVL 300 # Check point interval (in sec)
    LRUS 8 # Number of LRU queues
    LRU_MAX_DIRTY 60 # LRU percent dirty begin cleaning limit
    LRU_MIN_DIRTY 50 # LRU percent dirty end cleaning limit
    TXTIMEOUT 300 # Transaction timeout (in sec)
    STACKSIZE 32


    And.. I no have RESIDENT configured in my onconfig (is 0)


    and no have other heavy application in this machine....

    What do u think ?

  5. #5
    Join Date
    Apr 2007
    Location
    Jundiai / SP - Brasil
    Posts
    311
    This is a very strange!!!
    Your sure don't have another application??

    my suggestion to start:
    - monitor your linux with command "top" to see what application are using more memory/cpu (press "h" to see the help, i don't remember now but have a option to order by memory utilization)
    - check how much your IDS is using of memory :
    onstat -
    onstat -g seg
    ________________________________________
    César Inacio Martins
    Jundiai / SP - Brasil
    http://www.imartins.com.br/informix - em Português
    http://www.imartins.com.br/informix - English (translated by Google).
    ________________________________________

  6. #6
    Join Date
    Oct 2007
    Posts
    61

    Swap

    I added more swap memory.. and the problem was "solved.."


    now.. I need to find.. what process's taking a lot memory.. and using swap..



    thanks for all
    Fernando

Posting Permissions

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