<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ABAP Debugging - impact on system performance? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-debugging-impact-on-system-performance/m-p/2680628#M619524</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you look in SM50 while a debug session is running you will see that the debug holds a dialog process while the debugging is in process, rather than the transaction simply using the dialog process for a short time.  With multiple debugs it would be possible to reduce the number of available dialog processes to the point where system processing was seriously affected - effectively a "Denial of Service" type attack within SAP &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt; ... However SAP have thought of this and issue an error with the following text when you try to get too many debug sessions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message Details:&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------------------" /&gt;&lt;P&gt;No exclusive debugging mode available&lt;/P&gt;&lt;P&gt;Message no. TPDA350&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Diagnosis&lt;/P&gt;&lt;P&gt;In "Non-Exclusive Mode", the ABAP Debugger was unable to reserve a work process exclusively for this debugging session. The reason for this is that all available work processes were already in use with other debugging sessions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Restrictions in "Non-Exclusive Mode":&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For every Debugger interaction, a database commit must be triggered. As a result:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- You cannot debug between "SELECT ... ENDSELECT" (short dump in Debugger)&lt;/P&gt;&lt;P&gt;- If the debugging session is cancelled, the database content can become inconsistent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since there can be no database inconsistencies in production systems, the "Non-Exclusive Mode" is not possible there. Instead of starting the Debugger in "Non-Exclusive Mode", the system triggers the short dump "DEBUGGING_IMPOSSIBLE".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The number of work processes exclusively available for debugging in production systems is defined in the profile parameter for the number of dialog work processes as follows: "rdisp/wp_no_dia / 2"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In non-production systems, this number is set using the profile parameter "rdisp/wpdbug_max_no". It is recommended that "rdisp/wpdbug_max_no" is roughly equal to  "rdisp/wp_no_dia / 2". On the other hand, the default value "rdisp/wpdbug_max_no = 1" is almost always too low.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Procedure&lt;/P&gt;&lt;P&gt;In the meantime, a work process may have become free for exclusive use by the Debugger, so that you could try to switch to "Exclusive Mode" by choosing "Debugger -&amp;gt; Exclusive Debugging Mode On" from the menu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 18 Aug 2007 02:40:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-18T02:40:39Z</dc:date>
    <item>
      <title>ABAP Debugging - impact on system performance?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-debugging-impact-on-system-performance/m-p/2680626#M619522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the real impact on system performance by doing ABAP debugging? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We monitor CPU and memory consuption and the impact doesn't seem very relevant, besides that Basis team affirms that it is the cause of all system performance problems...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2007 15:37:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-debugging-impact-on-system-performance/m-p/2680626#M619522</guid>
      <dc:creator>former_member99320</dc:creator>
      <dc:date>2007-08-17T15:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Debugging - impact on system performance?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-debugging-impact-on-system-performance/m-p/2680627#M619523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Debugging does impact the system performance. The shared memory area gets eaten up by the user work process who debugs and hence the other work processes could suffer. We have had this issue in our production system many times and we do debug in production only if it is very critical.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2007 17:30:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-debugging-impact-on-system-performance/m-p/2680627#M619523</guid>
      <dc:creator>rajnarayanan_eangandiyoor</dc:creator>
      <dc:date>2007-08-17T17:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Debugging - impact on system performance?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-debugging-impact-on-system-performance/m-p/2680628#M619524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you look in SM50 while a debug session is running you will see that the debug holds a dialog process while the debugging is in process, rather than the transaction simply using the dialog process for a short time.  With multiple debugs it would be possible to reduce the number of available dialog processes to the point where system processing was seriously affected - effectively a "Denial of Service" type attack within SAP &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt; ... However SAP have thought of this and issue an error with the following text when you try to get too many debug sessions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message Details:&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------------------" /&gt;&lt;P&gt;No exclusive debugging mode available&lt;/P&gt;&lt;P&gt;Message no. TPDA350&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Diagnosis&lt;/P&gt;&lt;P&gt;In "Non-Exclusive Mode", the ABAP Debugger was unable to reserve a work process exclusively for this debugging session. The reason for this is that all available work processes were already in use with other debugging sessions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Restrictions in "Non-Exclusive Mode":&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For every Debugger interaction, a database commit must be triggered. As a result:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- You cannot debug between "SELECT ... ENDSELECT" (short dump in Debugger)&lt;/P&gt;&lt;P&gt;- If the debugging session is cancelled, the database content can become inconsistent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since there can be no database inconsistencies in production systems, the "Non-Exclusive Mode" is not possible there. Instead of starting the Debugger in "Non-Exclusive Mode", the system triggers the short dump "DEBUGGING_IMPOSSIBLE".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The number of work processes exclusively available for debugging in production systems is defined in the profile parameter for the number of dialog work processes as follows: "rdisp/wp_no_dia / 2"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In non-production systems, this number is set using the profile parameter "rdisp/wpdbug_max_no". It is recommended that "rdisp/wpdbug_max_no" is roughly equal to  "rdisp/wp_no_dia / 2". On the other hand, the default value "rdisp/wpdbug_max_no = 1" is almost always too low.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Procedure&lt;/P&gt;&lt;P&gt;In the meantime, a work process may have become free for exclusive use by the Debugger, so that you could try to switch to "Exclusive Mode" by choosing "Debugger -&amp;gt; Exclusive Debugging Mode On" from the menu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Aug 2007 02:40:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-debugging-impact-on-system-performance/m-p/2680628#M619524</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-18T02:40:39Z</dc:date>
    </item>
  </channel>
</rss>

