AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
  • 1.  memory or pagingspace issue?

    Posted Wed September 24, 2008 02:47 PM

    Originally posted by: SystemAdmin


    Hi,

    I have a AIX 5.3TL7SP01 server running mqsi and db2. I was check the the system memory and pagingspace usage and found the real memory is free but the paging space is getting full. Is there anyting wrong? Memory leak?

    My understanding is if the server has enought free memory, the server should not use pagingspace.
    Looks like some application was using pagingspace but didn't realese it after done.

    Real Memory 6GB used 2GB
    Paginspace 4.8Gb used 81%

    $ vmstat 2

    System configuration: lcpu=2 mem=6144MB ent=0.75

    kthr memory page faults cpu

    -----------
    ------------
    r b avm fre re pi po fr sr cy in sy cs us sy id wa pc ec
    0 0 1342370 1053799 0 0 0 0 0 0 3 1814 711 2 2 96 0 0.04 5.3
    0 0 1342370 1053799 0 0 0 0 0 0 4 1901 770 2 2 96 0 0.04 5.2

    $ lsps -s
    Total Paging Space Percent Used
    4864MB 81%

    Thanks.
    #AIX-Forum


  • 2.  Re: memory or pagingspace issue?

    Posted Wed September 24, 2008 03:25 PM

    Originally posted by: SystemAdmin


    I find out there are 58 DataFlowEngine processes used total 3.6GB pgsp.

    svmon -P
    Pid Command Inuse Pin Pgsp Virtual 64-bit Mthrd 16MB
    60894 DataFlowEngin 36288 7002 19959 69817 N Y N
    #AIX-Forum


  • 3.  Re: memory or pagingspace issue?

    Posted Wed September 24, 2008 04:47 PM

    Originally posted by: SystemAdmin


    Make sure your maxperm/minperm etc. setting are correct. The one memory setting i have found to be the most useful is setting lru_file_repage to 0 (i'm pretty sure 5.3 tl7 can do this). Try vmo -p -o lru_file_repage=0 (on test system of course) and restart the system to clear memory/paging and see if there is an improvement. Hope this helps.
    #AIX-Forum


  • 4.  Re: memory or pagingspace issue?

    Posted Thu January 19, 2012 04:09 AM

    Originally posted by: SystemAdmin


    a quick command to catch the top pinning proceesses,
    #svmon -P | awk '/Pid/,/PageSize/' | egrep -v PageSize | egrep -v Pid | sort +3 -r| head
    #AIX-Forum