Lot of swaps Occuring
Hi Experts
We have ECC 6.0 which was upgraded from 4.6c. Everthing went on smooth, except for a major performance issue. Initially when i came into this project i tried a lot of steps like increasing the swap space and stuff where the hit ratio was set due to the change.
Now the issue is that there a lot of swaps occuring and i really do not know where to go from here.i already increased the swap space by around 200MB. Please do advise me on what to do. Generally wht is the best procedure to follow when there are a lot of swaps occuring.
Thanks in advance.
Recommedn you to configure at least 20 gigabytes of swap space in 64-bit systems. (Plus approx. 10 GB for every additional 64-bit instance on the same computer).
Go through these notes for the recommendations
Note 146289 - Parameter Recommendations for 64-Bit SAP Kernel
Note 1009493 - abap/heap_area* Parameter Defaults Changed (64-Bit Windows)
Similar Messages
-
GWTDOMAIN using lots of swaps space in WLE 4.2!!!
We are having problem in one our of non- production environments where the GWTDOMAIN is using lots of swap space and not releasing them. It got so bad that the swap space used was 100% and we had to "kill -9" this GWTDOMAIN and bounce it again to to release this space. Is this a known bug and if not what can I do to resolve this problem
or do we need to open a trouble ticket with BEA to fix.
Thank for your help.
Bayo Alege
Senior Analyst, Systems
CIMG
513-723-2954Excessive archivelog generation on an EM12c repository database may mean you are hitting bug 14726136. Please see MOS note 1502370.1. I would suggest filing an SR with support to confirm whether or not you are experiencing this bug; they can help you with some additional analysis.
-
How to find which sql or process that is causing lots of swap space
Hello,
There is a lot of swap space going on constantly. The SGA is 18gigs and PGA is 2 gigs. The swap space is 19gigs. How to find which processes or sql statements that are using a lot of sga and paging? The database is 10.1.0.5. and the tool OEM 10g. Thank you in advance.v$sort_usage or v$temp_segusage give temporary tablespace usage.
To get PGA memory by session, you could use insteadv$process. -
I don't really know what else to detail. What would you like or need to know?
Version 5.4
The issue does remain when I open the exported image in Photoshop.
Photoshop
Lightroom -
MERGE CONVERT TO UPDATE LOT OF ERROR OCCUR HOW TO CHANGE
in this statement change merge to update plz help me
MERGE INTO CORM_QWD_QUOTE_WUTASK A
USING (SELECT * FROM CORM_QMD_QUOTEMAT) B
ON ( ( A.QWD_ORDER_OU = B.QMD_ORDER_OU
AND A.QWD_ORDER_NO = B.QMD_ORDER_NO
AND A.QWD_AMEND_NO = B.QMD_AMEND_NO
AND A.QWD_REF_LINE_NO = B.QMD_REF_LINE_NO
AND A.QWD_TASK_LINE_NO = B.QMD_LINE_NO )
AND A.QWD_ORDER_OU = v_CUSORDEROU_TMP
AND A.QWD_ORDER_NO = v_CUSORDERNO_TMP
AND A.QWD_AMEND_NO = v_CoAmendmentNo_Tmp
AND ( ( v_DesignParamCode04 = 'ACT'
AND A.QWD_QUOT_STATUS NOT IN ( 'PL','C' )
OR ( v_DesignParamCode04 'ACT'
AND A.QWD_QUOT_STATUS NOT IN ( 'PENC','PL','C' )
-- IERA-711
WHEN MATCHED THEN UPDATE SET A.QWD_QUOT_STATUS = CASE
WHEN A.QWD_QUOT_STATUS IN ( 'PLM','PM','PMC1','PENC','PL','PM1' )
THEN 'PMC1'--10 Mar 2010
ELSE 'PENMC'
END,
A.QWD_REVISIONNO = CASE v_DESIGNPARAMCODE01_TMP
WHEN 'REST' THEN A.QWD_REVISIONNO + 1
ELSE A.QWD_REVISIONNO
END,
A.QWD_MATQUOT_BASIS = v_DesignParamCode04;UNTESTED! but Try it :)
UPDATE (SELECT a.*
FROM CORM_QWD_QUOTE_WUTASK a, CORM_QMD_QUOTEMAT b
WHERE ( A.QWD_ORDER_OU = B.QMD_ORDER_OU
AND A.QWD_ORDER_NO = B.QMD_ORDER_NO
AND A.QWD_AMEND_NO = B.QMD_AMEND_NO
AND A.QWD_REF_LINE_NO = B.QMD_REF_LINE_NO
AND A.QWD_TASK_LINE_NO = B.QMD_LINE_NO)
AND A.QWD_ORDER_OU = v_CUSORDEROU_TMP
AND A.QWD_ORDER_NO = v_CUSORDERNO_TMP
AND A.QWD_AMEND_NO = v_CoAmendmentNo_Tmp
AND ( (v_DesignParamCode04 = 'ACT'
AND A.QWD_QUOT_STATUS NOT IN ('PL', 'C'))
OR (v_DesignParamCode04 != 'ACT'
AND A.QWD_QUOT_STATUS NOT IN ('PENC', 'PL', 'C'))))
SET A.QWD_QUOT_STATUS =
CASE
WHEN A.QWD_QUOT_STATUS IN
('PLM', 'PM', 'PMC1', 'PENC', 'PL', 'PM1') THEN
'PMC1' --10 Mar 2010
ELSE
'PENMC'
END,
A.QWD_REVISIONNO =
CASE v_DESIGNPARAMCODE01_TMP
WHEN 'REST' THEN A.QWD_REVISIONNO + 1
ELSE A.QWD_REVISIONNO
END,
A.QWD_MATQUOT_BASIS = v_DesignParamCode04; -
Hi Gurus,
I have been seeing lot of swaps occuring in ST02,in one our production servers.
I could see the swaps occuring on CUA buffers in huge volumes
Can any body give me any clue on how to go about it,interms of analysing the swaps and fixing the same
Your help would highly be appriciated
Thanks in advance
Rgds-
Venuhello
you will find some help here : [Online help about buffers|http://help.sap.com/erp2005_ehp_04/helpdata/EN/c4/3a6e98505211d189550000e829fbbd/frameset.htm]
"When a buffer has insufficient freespace or free directories, it has to swap objects out of the buffer in order to load a new object. The column Swap shows how many objects have been swapped out since system startup."
This means that you have to increase the size of the buffer to avoid swapping.
To find the relevant parameter (in RZ10) for a specific buffer => transaction ST02, double click on the buffer and then click on the button "Current parameters". Here is/are the parameter(s) to increase (be careful of some parameters ... your system can crash or not restart !)
After saving & activating the profile in RZ10, perform at os level the command (under <sid>adm) : sappfpar check to fix the memory problems.
Hope this will help you -
Swaps in PXA Buffer (abap buffersizw)
Hi Experts
In my production server lot of swaps in PXA buffers, yesterday only I increased PXA buffer size 240000 to 270000, but still I am getting swaps in that PXA Buffer (ABAP/BufferSize), any body give the how much memory I have to increase to that respective buffers, what is the solution to over come this swap problems in PXA buffer
Best Regards
Mohammed. KhanHello,
Increasing the size of buffer swap space depend on hardware configuration of your system.
First check how much total paging space is allocated in your system.
Depending on your hardware configuration you can increase size of buffers.
you can check current value & SAP default value in your system...
check system load in your system. Sometimes due to more load swapping occurs...
If this continuously happens you need to check for all buffers.
You can check in ST02, which buffers are causing more swaps...
take action acc to that...
Regards
Anju -
Dear All,
Any specific command or steps to find which process consuming lot of swap space and there is any specific step to reduce the usage without kill the actual process.
Regards,
Sivaprstat -s size
..gives you a list of processes sorted on their memory consumption. The swap and memory are tightly connected in a virtual-memory structure, which means that i don't think you can tell exactly how much of a process which is swapped out and how much which is in RAM.
The RSS column of the prstat output shows how much which is residential, that part is for sure in the RAM, the rest may or may not be swapped out.
You can not reduce the amount of swap used by a process (i'ld guess that you probably could force it into the RAM, but thats probably not what you want), but if swap size is an issue, you can add space to the swap easily by using swap -a on a file or device.
.7/M. -
How can I "swap" text on re-load?
Hola
First to all, is this possible?
Need you help to "guide" me to or help me find out how to swap text daily or on reload.
For example, I have a div with a quote that I want to change daily (or on reload ) How can I do this?
Thanks
PS. I Google it and find a lot images swap, not sure if those work on text.
Thanks again
Daniel UlyssesThanks a lot.
Here is the link to the scrip
http://www.javascriptkit.com/script/script2/motivatequotes.shtml
Now, more questions, (sorry, newbe with this)
How can I make it work?
Where the "script part goes in my page?
And , how can I make it appear" in the box where I have the quotes?
Here is the script
<script language="JavaScript1.1" src="
http://www.mydomain.com/motivatequote.js">http://www.mydomain.com/motivatequote.js">/http://www.mydomain.com/motivatequote.js">/
Motivational quotes script
By JavaScript Kit (http://javascriptkit.com)
Over 400+ free scripts here!
</script>
<p align="center"><font face="arial" size="-2">This free script provided by</font><br>
<font face="arial, helvetica" size="-2"><a href="http://javascriptkit.com">JavaScript
Kit</a></font></p>
Can you explain more about this?
If you can't, I understand,
Thanks a lot
Daniel Ulysses -
ST02 SWAPS reported what does that mean.
Hi Team,
In ST02 of one of the system all the apps I see many SWAPS column with value and in red color, what it mean
program, swaps with 11,349
generic key with 68
single record with 1,002
Thanks
VijayHi,
ST02 is the buffer monitor that offers instance specific information that provides:
1. status of different buffers instance wise
2. information on memory usage instance wise
3. information on table buffering at instance level
Swapping takes place for two reasons:
1. not enough 'free space left' in buffer for buffering new objects
2. buffer has run ouf of 'free directory entries' that can be contained in one buffer area *
Directory entries diminish the available size of the buffer, independent of their usage.
Swaps are to be avoided, as are all other situations leading to lines shown in red in the ST02 display.
Please note that Buffer swaps occur when buffer content is deleted from the buffer and is replaced by other content. It has no relation at all to the swapping mechanism on OS level.
An example with a more practical outlook to swapping observed:
Use transactions SM50, ST03N and ST02 to identify the problem.
a. Using SM50 you might find high number of work processes accessing tables related to ABAP sources and status as 'Load Program'. This hints to a problem with Program [PXA] buffer.
b. In transaction ST03N, you find unusually high 'load and generation time' causing even higher wait times. Threshold for load and generation time is typically 50 ms.
c. In buffer monitor i.e. ST02, you find many swaps [typically more than 10000 swaps happening per day for program buffer]. Check on hit ratio [value below 95% is typically poor]. This indicates problem. Program buffer could be small!!
If program buffer is small, it means that workprocesses require to reload program loads over and over again which causes bad system performance.
Resolution: Increase program buffer size/ check on load and generation times/ hit-ratio increases/ system response time also lowers down!! : )
Regards,
Shabnam. -
Swap size keeps dropping on Solaris 10 (x86)
Hi,
I have setup Solaris 10 (x86) on a SunFire V20Z, and mirrored my 2 hds.
raidctl c1t0d0 c1t1d0
recently i have been getting system messages that says
WARNING: /tmp: File system full, swap space limit exceeded
when i checked, I noticed that my swap size has dropped. I had setup c1t0d0s1 for swap (2GB).
When i reboot, the system will show the swap as correct, but it will start dropping over a period of time
bash-3.00# swap -l
swapfile dev swaplo blocks free
/dev/dsk/c1t0d0s1 28,65 8 4193272 4193272
bash-3.00# swap -s
total: 565248k bytes allocated + 933124k reserved = 1498372k used, 2280600k available
The next day when i check again;
-bash-3.00$ swap -l
swapfile dev swaplo blocks free
/dev/dsk/c1t0d0s1 28,65 8 4193272 4193272
-bash-3.00$ swap -s
total: 1344296k bytes allocated + 1676016k reserved = 3020312k used, 642752k available
I have just rebooted my system again because my /tmp has dropped to 8.3MB
swap 8.3MB 4.0K 8.3MB 1% /tmp
My /tmp mount in vfstab shows;
swap - /tmp tmpfs - yes -
Any help?Well, /tmp and swap are tightly connected to eachother, since its basicly the same thing.
Hence, when you allocate space in /tmp, the amount of available swap will drop, in the same way the amount of space available in /tmp will drop if a lot of swap has been allocated by processes running on the system.
swap -s will show you the amount of unallocated (or free) swap, that it shrinks over time is perfectly normal on most systems, however its not really normal that applications allocates that much swap on a short time.
I suspect that you have an application running on your system which is eating a lot of memory and hence using up your swap space, so next time this problem occour, i'ld run the following;
prstat -a -s size
This will give a list of processes running on the system, and sort them by how much virtual memory they have allocated.
Funny thing; i tested the command above on a S10 server, and found that nfsmapid had allocated about 400 mb. And i'm not even using NFSv4.. smells memory leak.
Hope this explaination is somewhat clear ;)
7/M. -
How to understand buffer swaps
In SAP training materials, it says that buffer swaps occur when buffer content is deleted from the buffer and is replaced by other content. It's no relation at all to the swapping mechanism on OS level.
I am confused about the source and target of buffer swaps. For example, when buffer swaps occur on program buffer(PXA), where will the data in program buffer be put, physical memory?, and where does new data come from? SAP buffers locate on share memory, belong to virtual memory, but virtual memory is the summary of physical memory and OS swap space(or OS paging file). I just remember that extended memory resides on physical memory, don't know whether sap buffers reside on physical too.
For swapping on OS level, I think it's page exchange between physical memory and swap space which locates on disk. Is it right?
Please advise on how to understand buffer swaps and OS swapping. Thanks so much.
JamesHi James,
Plz find the link I hope it might help you,
http://help.sap.com/saphelp_nw70/helpdata/EN/c4/3a6dbb505211d189550000e829fbbd/frameset.htm
as the question you have asked is concentrating in
depth and this can be understood if you have a look
at the following link.
regards,
Manjula. -
Hi all,
I have prod and test on the same server on AIX 5.3 box. And application is 11i. It's not a good config but thats the way it is here. And for the last 6 months or so we are getting PGSP_KILL error in AIX log files. My server RAM is 8GB and as per Metalink docs, i first set SWAP SPACE to 0.75 times the RAM but still the same problem. Now i have set SWAP SIZE to same size of RAM(8GB). Still getting the same problem mainly when copying files to tape or taking cold backup. After this happens we get famouus FRM-92050 Failed to connect to server: xxxx.xxxx:9000. ans users can't login.
I have gone thru many metalink docs. But plz recommend me to as what swap size should i set. Or find the offending process which is taking more resources. In errpt is shows FNDLIBR is process which is consuming lot of swap space. But i dont know what to do now.
Regards
TaherHi Taher;
Please check below and see its helpful for you
Re: 12.0.4 Upgrade - Performance
Re: Apps R12 now available
SWAP SPACE ON SOLARIS (its your previous post)
Regard
Helios -
27" 2010 iMac 16gb RAM...still swapping?
I upgraded my 27" 2010 iMac (quad core i7) to 16gb RAM, and some things are a bit faster e.g. photoshop. But perhaps it wasn't the noticeable speed boost I was expecting. Also, I can definitely hear a lot of swapping out to virtual memory happening at times. On startup it happens a lot. I can't believe it's going beyond 16gb in terms of memory requirements just to start up. The "About this mac" info panel shows that it has definitely recognised all 16gb memory.
Am I imagining things re the swapping? Do I have anything to be concerned about? What tests can I do to ensure that this is as fast as it should be and that it's not dodgy hardware or something? Any comments appreciated.
cheers,
IanOpen your Activity Monitor.
Mac OS X: Reading system memory usage in Activity Monitor
There you can see System Memory (Usage, Swaping, VM, etc.) plus Disk Activity and CPU Usage.
What Is Activity Monitor (or How to Take Your Mac's Pulse) - O'Reilly Media -
Hi all,
We just increased the program buffer from 850 MB to 950 MB 3 weeks back and then to 1050 MB a week back.The system looks normal for a few days and then again i can see the swpas increaing.We already have 16 GB of memory on a 64bit Win NT platform.The DB is db2 v 8.1.5......
So should i again increae it. also i read somewhere that increasing too much program buffer area willl lead to buffer fragmentation .
I am not sure . please suggest if it is ok to increase.
Also the Nametab ,Table definition, Short NTAB,Field definition, Initial records buffers are showing a lot of swaps ..
I looked at the relevant parameters:
rsdb/ntab/entrycount = 70000
rsdb/ntab/ftabsize = 62500 KB
rsdb/ntab/sntabsize = 2500 KB
rsdb/ntab/irbdsize = 30 000 KB
Which values should i change...please suggest.....Hi Kalyan and Juan,
thanks.. for replying...
The program buffer is showing about 18000 swaps...
also the
Field definition buffer shows 151,000 buffer swaps,
Short NTAB = 19,418 buffer swaps and
initial records buffer = 54,158 buffer swaps.
We just increased the program buffer from 850 MB to 950 MB 3 weeks back and then to 1050 MB a week back.The system looks normal for a few days and then again i can see the swpas increaing.We already have 16 GB of memory on a 64bit Win NT platform.The DB is db2 v 8.1.5......
Should there be something that has to be changed in the DB2 side, or should i again increae it. also i read somewhere that increasing too much program buffer area willl lead to buffer fragmentation .
I am not sure . please suggest if and to what extent i can increase....
Also the Nametab ,Table definition, Short NTAB,Field definition, Initial records buffers are showing a lot of swaps ..
I looked at the relevant parameters:
rsdb/ntab/entrycount = 70000
rsdb/ntab/ftabsize = 62500 KB
rsdb/ntab/sntabsize = 2500 KB
rsdb/ntab/irbdsize = 30 000 KB
Maybe you are looking for
-
IPhone 6 plus won't receive messages!
I have an iPhone 6 plus, and for the last 2 weeks I've been having messaging problems with both iMessage and SMS. With some people, mainly those with Android phones, I wouldn't receive their texts at all! They would get mine but I wouldn't get a repl
-
Multiple users on home LAN sharing both the Music folder and library
Hi there, I've been hunting around the web and not found anything that helps me with this specific situation though various articles come close but I've not actually succeeded yet, I was wondering if anyone can help. I have a Windows XP home PC, 2 us
-
Hi, I don't know if I should make bug report or not. I have found a strange error within a loop iteration up to Integer.MAXVALUE. Here is the source: public class problem64bit * @param args public static void main(final String[] args)
-
Speed decrease, ping increase!
I know there's more threads containing the same problem, but I feel another thread should be created. More so for the BT team to take note. Since the weekend, from 6:00 p.m. onwards my speed is dropping dramatically. I am unable to stream any content
-
Weblogic 7.0 sp4 failing to resolve from /etc/hosts on solaris 8
Hello, I am facing a strange problem on one of the installations of weblogic 7 in using the JNDI lookup. This weblogic instance throws me the following exception whenever I try to lookup through JNDI a remote EJB; weblogic.utils.NestedError: This add