Program Buffer - High Number of Swaps

Hi All,
We experiencing high number of program buffer swaps per day, they usually get into 500,000 - 700,000 range. Our abap/buffersize is 500,000 KB. It seems like the general suggestion of the buffersize is that it should be somewhere between 300-700 MB, which I thought 500 would be enough, at least enough no to have such huge numbers of swaps per day. The PHYS_MEMSIZE = 9057, as we have 16 GB of total server memory and 9 is dedicated to SAP, while the other 7 is to SQL Server. I have followed the note about zero admin memory management so other than PHYS_MEMSIZE parameter I don't think I have any memory restricting parameters in there.
In ST06 I always seem to have about 3 GB or physical memory free. We have release 640.
ST02 shows high number of objects swapped, and frames swapped always seem to be at 0. Looking at the buffer history, it seems like we always have only about 1500KB free space out of 500000KB, and the directories free are always around 114000. This makes me think that I should increase the buffer size, however maybe someone can suggest another reason why I have this scenario.
Thank you in advance,
Sergiy

Hi,
Yes, increase your Abap buffer size. 500 MB is much too small.
On our old R/3 4.7 systems we need to allocate 1 GB for the Abap buffer.
We put also 1 GB as a minimum for new Netweaver 7.0 systems...
Regards,
Olivier

Similar Messages

  • Swaps on program buffer

    Hello all,
    I am trying to figure out why we started having many swaps in program buffer on ST02 and I found this on history that is quite strange.
    It appears that Free storage is bigger than available storage!! Few months ago that we had the same issue, we started having again hundreds of swaps on this buffer. Could someone explain what this Free storage shows and probably suggest how to find the root cause of the issue?
    Thanks!

    Hi Mik ASp,
    See this link is usefully
    ST02 - Explaining SAP buffer history statistics (IRDB buffer)
    Regards,
    Deva

  • Program Buffer swap

    Hi Techies
    In our Production servers i found that Program buffer swap are more around 10 thousand swaps
    I have restarted the server twice but still after two days again the swap are increased ( only the program buffer swaps are more) and moreover hitratio is 99% and no performance issue .
    abap/buffersize                  512000
    what shall i do shall increase the program buffer size to reduce the swaps
    Thank You
    Haroon
    Edited by: virtualharoon on Aug 14, 2009 7:15 AM

    Hi techies
    thanks for the reply techies
    I have configured the logon load balancing, i have 10 application servers ,As per suggestions i will increase the paramater to 600MB. will that be oK
    Will this parameter has any dependencies(abap/buffersize)
    Awaiting for the reply
    ENV
    SAP R/3 4.6B
    Oracle
    Memory : 50 GB

  • Swaps in Program Buffer

    Hi Gurus,
    When should we tune buffer parameters?.
    For example: Swaps for program buffer are 90,000. In which case we have to tune the program buffer?. I know there is no threshold or thumb rule for swaps in SAP system. What will be the base point to tune buffer parameters to reduce swaps?
    Thanks in advance
    A.S.K

    Hi Siva,
    Check this link out:
    http://help.sap.com/saphelp_sm40/helpdata/en/c4/3a6ecc505211d189550000e829fbbd/content.htm
    and
    http://help.sap.com/saphelp_sm40/helpdata/en/c4/3a6f00505211d189550000e829fbbd/content.htm
    Please award points accordingly.
    Regards.
    Ruchit.

  • Regarding program buffer

    hi sapgurus,
    in st02 ,i checked that the hit ratio of the program buffer is 73%
    in st06 my current swap size is 34,830,140 30,414,708 25,600,000
    the parameter abap/buffersize has certain values
    parmeter value 700000
    unsubstited standard value-150000
    substituted value -150000
    comment
    #old_value :550000
    i want to increase the hit ratio up 99%
    what is change i have to do,and which value i have to change and how much.
    please it is bit urgent
    the windows 64bit machine and the sap release 700
    please do help to get result
    regards
    rahul

    Based on what logic do you raise it to these values?
    You have no idea as to the modules used within the system.
    You have no idea as to the number of users on the system.
    You have no idea as to the number of app servers.
    You have no idea as to how load balancing is happening (SMLG).
    You have no idea as to the amount of memory in the server.
    Before changing anything we need to understand why we have a hit rate of only 73% in the first place, Then and only then do we take the most appropriate action, which may, or may not be changing the value stated.
    This is from a app server thats part of a SAP system for 11,000 users on Z-OS
    abap/heap_area_dia                          10000000
    abap/heaplimit                              10000000
    abap/heap_area_nondia                       10000000
    <b>abap/buffersize                             900000</b>
    rsdb/cua/buffersize                         30000
    sap/bufdir_entries                          9000
    zcsa/presentation_buffer_area               120000000
    zcsa/table_buffer_area                      280000000
    zcsa/db_max_buftab                          60000
    My point is dont just change it, correct the problem! it doesnt need to be the bigest number you can think of or get away with. it needs to be balanced.
    My hit ratio is 99.96 and i wager with 1000s more users.
          Buffer            Hitratio   Allocated         Free space        Dir. size      Free directory         Swaps
                               [%]       [kB]         [kB]         [%]      Entries      Entries       [%]
    Program                   99.96       927,192       24,194     2.69       225,000      206,972    91.99        11,796
    The hit ratio is of what has been provided by the buffer rather than by direct DB access. However the buffer could well have been paged out to disk millions of times and still indicate a 99.9% rate.
    Ask yourself are you doing new things, are you doing them for the first time since a reboot?

  • High number of threads and high CPU usage on a single instance

    Without any apparent reason, in some moments of day the website reports an increment of the HTTP Queue Length from an average of 10/20 queued requests to 100/200 and more.
    In that period of time the Average Response Time increases but the number of the requests on the website don't. Even increasing the instances it doesn't help to resolve the problem (maybe it just reduced it).
    It seems that the problem is not related to the traffic on the site. This issue happens either when the traffic is high or low.
    The autoscaling works well, we don't have peak of traffic but always a slow increasing of requests and the CPU is always below the 50% (memory too). The issue is resolved by the swap of the site and sometimes it's resolve by itself after a while.
    What I discovered when the issue happens, is that there's an instance (just an instance only), that has an high number of threads and CPU usage on the W3WP.exe process and these values are above the mean than the other instances. Eg, instances are around
    50/60 threads and 10/20% of CPU, the instance with the problem has 200 threads and 50/60% of CPU. If I kill the W3WP process on that instance the issue is resolved. 
    I monitored the HTTP requests, I tried the website extension "Diagnostics as service" but I can't discover anything that can help me to understand the problem. Of course, there are many requests that go in timeout but it is a consequences of a
    unresponsive instance.
    On the web hosting plan there are only two sites: the production site and its staging which is used for update of the production only and it's always sleeping. Plus, no webjobs are running on this site.
    What can I do to gather useful information that can help me to understand the reason of this problem?
    Thank you!

    "Does the instance with the high counts receive more traffic than the other instances? Is it possible that the load balancer not
    working the way it should be?"
    How can I get that information? I can't see metrics for a specific instance
    "Does it always happen to the first instance?"
    I will check it better, but in the order given by the Processes panel it's the second instance which has the issue. The scaling is at 2 instances for the most part of the time (it's the minimum).
    Maybe one time it was the 3th instance but I'm not sure, I'll give it more attention.
    " How long do these moment last?"
    The time can be 10 to 30 minutes, but I fix it as soon as I see the problem. It's not the down-scaling to resolve it because in these situations the CPU as well is high so the scaling holds or increases the number of instances.
    "- How often do these moments occurs?"
    It occurs quite often, 2/4 times a week.

  • Program buffer

    Dear all,
    We are using R/3 4.6C on HP-UX 11.0 with Oracle 9.2.0.5 and kernel sup. package 2039. On this server we have two production R/3 instances. Server has 8 CPUs, and 8GB RAM, with defined swap of 20GB.
    Can You PLS explain:
    - we have more then 92000 swaps on the program buffer in one week only on one instance which has more users and more transport activities;
    - Should I increase the parametar abap/buffersize (currently 500000kB)? And how much should it be?
    - ipc/shm_psize_06 should it be = -10 and ipc/shm_psize_02 = -10?
    I'm not sure what are the steps to increase the program buffer, and how much should it be increased?
    Thank you in advance.
    Regards,
    Ruzica

    Hi Ruzica,
    Have you seen OSS note 103747 which describes the recommended parameter settings for 40B and above ?
    It looks like you may need to increase it slightly (profile parameter abap/buffersize). The note suggests that the system can tolerate 1,000 swaps per day but you are seeing over 10,000 per day.
    In our busiest SAP system, R/3 Retail, we have a PXA buffer size of 600Mb and we experience between 1000-2000 swaps per day. However, it depends what mix of modules you are using in the system. This greatly influences the programs that are loaded.
    You mentioned that you have two instances on the one server. Is this the CI and one application server for the SAP system or is it two separate SAP systems (i.e. separate SIDs) ?
    If the two servers are part of the same SAP system, it may be worth looking at how the users are being distributed across the two servers.
    Regards,
    Gary

  • Tables with more than one cell with a high number of rowspan (ej. 619). This cell can not be print in a page and it must be cut. But I don't know how  indesign can do this action.

    Tables with more than one cell with a high number of rowspan (ej. 619). This cell can not be print in a page and it must be cut. But I don’t know how  indesign can do this action.

    set the wake-on lan on the main computer
    The laptop's too far away from the router to be connected by ethernet. It's all wifi.
    No separate server app on the laptop, it's all samba
    The files are on a windows laptop and a hard drive hooked up to the windows laptop. The windows share server is pants, so I'd need some sort of third party server running. Maybe you weren't suggesting to use Samba to connect to the windows share though?
    I'm glad that you've all understood my ramblings and taken and interest, thanks The way I see it, I can't be the only netbook user these days looking for this kind of convenience, and I certainly won't be once chrome and moblin hit the market.
    Last edited by saft (2010-03-18 20:38:08)

  • I want to create a HD disc with my Adobe Premier Elements but I am getting low resolution.  When I go to share the DVD to disc the form only offers 8pixels at the bottom.  How do I burn this DVD in HD with higher number of pixels?

    I want to create a HD disc with my Adobe Premier Elements but I am getting low resolution.  When I go to share the DVD to disc the form only offers 8pixels at the bottom.  How do I burn this DVD in HD with higher number of pixels?  I have read other forums on burning HD DVD's but I do not see the option to turn the 8 pi into 40 pi the one forum recommended.  I want my DVD to be HD so I may sell these videos online for my business.  I can't sell them the low quality they are burning now.  Hopefully you can help me.  Thanks.

    desalvom
    Thank you for your reply.
    You cannot burn your high resolution video that you can view on your computer to an AVCHD on DVD disc
    that will replay through a regular DVD player. But players are marketed under a variety of names with
    different support opportunities. One manufacturer may call its product MultiMedia Player, media player, Blu-ray player,
    etc.The bottom line is the specifications for each of the players that are candidates for the playback of
    the AVCHD format on DVD disc or the format of interest.
    If you upload your HD (1920 x 1080) video to YouTube, YouTube converts the video to flash format, but it goes up as the HD video.
    But, beware. Look at the YouTube viewing setting when your uploaded video is playing back. The YouTube default is not
    HD. It might be 360p, 480p. If you have a 1080p video, then before the YouTube playback, you should be looking
    at the video with the YouTube 1080p HD setting for best viewing. That is a YouTube matter.
    Best results depend on you
    a. setting up the Premiere Elements project preset to match the properties of the source media. That means, if
    you have 1080p source, you (manually) or the project (automatically) set the project preset at
    NTSC
    DSLR
    1080p
    DSLR [email protected]
    or the PAL counterpart, depending on your region need.
    b. if you upload your video to YouTube using the Premiere Elements feature, there is a HD preset, but you cannot
    customize it.....if you need customization, then you can export your Timeline to a file...in this example
    Publish+Share
    Computer
    AVCHD
    with Presets = MP4 H.264 1920 x 1080p30 or PAL counterpart
    and then customize the preset under the Advanced Button/Video Tab of that preset. In increase quality, you might look to increase
    the Bitrate under Advanced Button/Video Tab settings - without compromising the file size.
    Then you would upload that file to YouTube at the YouTube web site.
    All of the above are factors that need looking into in order to determine the why for what you wrote
    I have published a shortened advertisement video to YouTube- say 5 minutes-
    and it is low quality
    Often SD video upscaled to HD can present poorly. But, you are dealing with a HD workflow so that should not be introduced into the matter. The setup of the project and
    the properties of the source video are important, but let us start with the above and rule in or out those considerations first.
    Thank you. As always, any clarification needed, please do not hesitate to ask.
    ATR

  • What types of problems stem from high number of loaded classes?

    Currently we are in the process of testing our code for long-ish periods of time, between 4 hours and 24 hours+ non stop. The code is not interactive/user based. I first noticed that our garbage collection times were very high (about 15-25% of our total processing time). I then looked at loaded classes and there is a pretty steady rise over team of loaded classes. At the time of start up it is around 6-7k. After appproximately 4 hours its up around 25k loaded classes. Only 35 or so classes have been unloaded over this time. I'm wondering if the high number of loaded classes occurs because objects aren't fully dereferenced but then when a new object is created it reloads the class. My knowledge of class loading is fairly limited. Any help would be appreciated. Also, if you need more info let me know.
    Heap Size: ~2GB
    CMSPermGenSweepingEnabled
    CMSClassUnloadingEnabled

    Take a look at this example and the output:
    public class Example {
          * @param args
         public static void main(String[] args) {
              StaticBlocks a = new StaticBlocks();
              StaticBlocks b = new StaticBlocks();
              a = new StaticBlocks();
    class StaticBlocks {
         static {
              System.out.println("A static init block. Only happens when class is first loaded.");
              System.out.println("\tInstance init block. Happens every time a class is instantiated.");
         StaticBlocks(){
              System.out.println("\tYou instantiated a class!");
    }Output:
    A static init block. Only happens when class is first loaded.
         Instance init block. Happens every time a class is instantiated.
         You instantiated a class!
         Instance init block. Happens every time a class is instantiated.
         You instantiated a class!
         Instance init block. Happens every time a class is instantiated.
         You instantiated a class!I'm really not sure where to go from here... hopefully someone else that knows the JVM better can provide some insight.
    Take a look at this link. It gives some details on class loading... might help you out a little.
    [http://onjava.com/pub/a/onjava/2005/01/26/classloading.html?page=1|http://onjava.com/pub/a/onjava/2005/01/26/classloading.html?page=1]
    Edited by: mikeyfreake on Jul 29, 2009 9:40 AM

  • UPGRADING WITH A PERFECT BATTERY BUT WITH HIGHER NUMBER OF CELLS

    i m using HP PAVILION DV5 1104-TU ENTERTAINMENT NOTEBOOK PC since 4years, recently its motherboard got crashed so after a wrong reply ,finally i got the motherboard from ebay which was perfectly apposite for my model,now its battery is not giving backup so i wanna buy a new battery but with 12cells or even more for extra backup, my battery's part no is 484170-001,my laptop screen is 15.4", 2gb ram,intel core 2duo, i wanna buy it from ebay but please provide the right battery which will fit with ease, as in my earlier post for motherboard the first reply was for a wrong motherboard as they s, do provide some ebay links for the higher number of cells if possible plus if i get to know about hours of backup

    Yes, it will sit a little higher in the back due to the thicker battery.  This will not harm the notebook.  Generally speaking, an extended cell battery will cost significantly more than a standard battery.  Think of the extended cell battery as a V8 and the standard battery as V4.  The V8 is bigger and costs more than the V4.  The one I linked to on eBay was about half of what the battery is from HP directly.  Anthony82 provided a battery as well, but it's a non-OEM battery which typically means it's not an actual HP battery (think third party).  LIke the one Anthony82 provided, I don't see any indication that the battery in the expert's link is a genuine HP battery.  This might account for why is is significantly less as I don't see how a genuine HP battery can cost $20-$35 USD as I would imagine it costs more than that to make it.
    To answer your question, the one the expert gave you does mention your specific notebook model.  If it doesn't work, then that falls on the eBay seller.
    You have many options to choose from, so choose the one that you are most comfortable with.  If you want to look for a genuine HP part, you can look for HP part number  KS526AA.
    Let me know if this answered your question.
    ↙-----------How do I give Kudos?| How do I mark a post as Solved? ----------------↓

  • High number of "The connection has timed out" errors. Where do I set the time out period (variable and file name) - windows 7

    I usually use a wireless network at home and have very few time out problems with Firefox.
    I am travelling and using Optus Wireless broadband where the average ping to a site is 700+ms .
    I suspect that this is the cause of the high number of timeouts I am experiencing.
    Optus say there are no problems so I think I will have to set the timeout to a longer period.
    Please advise what variable name/s (and in which file) the timeout is set for LOADING PAGES.
    Thanks in anticipation.
    Greg Atkinson.
    By the way the same is happening in IE8
    and on many sites other than the Yahoo one below.
    ================Full Error Page ==============
    URL is http://au.mg4.mail.yahoo.com/dc/launch?.gx=1&.rand=81jkv757qfdqt
    =========================================
    The connection has timed out
    The server at au.mg4.mail.yahoo.com is taking too long to respond.
    * The site could be temporarily unavailable or too busy. Try again in a few moments.
    * If you are unable to load any pages, check your computer's network connection.
    * If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.

    Having the same problem 4 out of 5 times I try to navigate to a new site I get the error "connection has timed out".
    My I phone works fine on the same wireless connection so it must be something to do with the computer. The problem occurs on IE, firefox, and google chrome.
    I too would like to know how to how to either fix this problem or failing that to extend the length of time before the connection times out (which is currently only about 5 seconds).
    Please help!
    Thanks in advance

  • Short Dump...Bottleneck pushed it out of the local program buffer

    Hello!!
    We have had a dump in production. The message is:
    While the program was running, the program "SAPLV07A" had to be reloaded because a bottleneck pushed it out of the local program buffer. However, the database was found to contain an already changed program.
    The termination occurred in line 87 of the source code of the (Include)  program "FV45PFAP_XVBAP_UPDATE_EINTEILU" of the source code of program "FV45PFAP_XVBAP_UPDATE_EINTEILU" (when calling  the editor 870).
    It has ocurred while the user was executing VA03.
    Im not sure but i think it is only a circumstancial error.
    Do u know that is happened?
    Thx
    Edited by: Alvaro Tejada Galindo on Mar 3, 2008 1:58 PM

    Well - it could be that a transport was imported while the transaction was running.
    What happens when the same user re-executes the same transaction?
    Rob
    Edited by: Rob Burbank on Mar 3, 2008 1:23 PM

  • How do you program a new number on iphone 4s?

    Hello,
    Ik live in Holland, but a friend off my mother has buy a iphone 4s in the US (America). He has used it by himself, and when he has buy it, his number was programmed in the iphone 4s. Now he has buy iphone 5, and he have give the iphone 4s to me. But you can't place a sim-card in it. So my question is : How can i program my phone number on the iphone 4s? I have try it by myself but it doesn't work ....

    If there is no SIM card slot available with the iPhone, it is not an iPhone 4S. It is an iPhone 4 that is a CDMA phone and can't be activated with any other CDMA network and can't be used with a GSM network either because it is not a GSM phone which includes/requires a SIM card slot.

  • Translation table for Program name/screen number for ECC 6.0

    Hello Experts,
    Do you know if there is a translation table and/or document that would list the Program Name / Screen Number for the transactions in SAP 5.0 and the equivalent Program Name / Screen Number for those same transactions in SAP 6.0?
    The reason that I ask is that we our encountering errors within the TxShuttle macros we are testing that are telling us that the current screen name listed in the macro in no longer valid in the 6.0 environment.
    Regards,
    Atul

    I thnk we dont have any such program .Try searching for a SAP Note if its a standard program.
    Can u tell me the program name and screen number which is not available in ur system.

Maybe you are looking for

  • ALV grid report - Download total to excel

    Hi, In ALV report I am calculating Gross profit%. *Gross profit%  = ( (NetValue- Cost value) * 100 )/ CostValue.* Report strcture is as below. Region     Article             Netvalue      CostValue    Grossprofit%     A       1        100          80

  • How to avoid * in summary of ALV?

    RFKOFW00 output shows * in the totals line - in front of the Company Code. How to avoid this? I went into debug but am not able to pinpoint how this is getting populated even thoug the ALV input table does not have a *. Thanks Ven

  • Won't allow music on my ipod

    i recently had to get my computer cleared of all programs because it was extremely slow. now since i've gotten it back i have been trying to reinstall programs. when i reinstalled itunes, it worked fine, so i thought..all my music was there and every

  • Unable to connect to net

    Hello I am having a cable internet connection. How to connect to net from my Nokia 5800. I am using win xp.

  • Can't send or receive e-mail on EDGE network

    Just recently I can't send or receive e-mail on the EDGE network - both work fine on WIFI though. Safari and all other features work fine on EDGE and WIFI so it's an e-mail issue. I am using an IMAP account, no SSL, Incoming port 143, Outgoing port 5