Tuesday, 5 March 2013

How to increase trace file size in SAP?


How to increase trace file size in SAP?
  
     o    How to increase the size of a trace file in SAP?
     o    What is the parameter used to increase the size of a trace file?
     o    How to dynamically increase the size of a SAP parameter rstr/max_filesize_MB?

Sometimes, it is required in SAP to increase the size of a trace file from default value so that more trace or log can be captured.  Mostly SAP requests this change to resolve an Oss message. This can be done as follows:

Login to SAP ABAP system.
Go to transaction RZ11

As shown above, please provide the SAP parameter rstr/max_filesize_MB and click on display button which results in the below screen


 


As shown in the description, this parameter sets the maximum file size of a trace. Default value of trace file is 16MB. The maximum value is 100MB.
To view documentation related to this click on “documentation” push button.
To change the value, click on “Change Value” push button which results in following screen.

As shown in above screen set the new value and also select “switch on all servers” checkbox if you would like to change this parameter across all the application servers of an SAP system.
However, if you would like to change this parameter in any specific application server, please make sure this checkbox is unchecked.
As rstr/max_filesize_MB is a dynamic, parameter takes effect immediately without restart of the SAP system. However, the parameter lasts only till restart of the server. After restart, default value will be set again for this parameter

No comments:

Post a Comment