Server tracing - HxGN SDx - Update 63 - Administration & Configuration

Administration and Configuration of HxGN SDx

Language
English
Product
HxGN SDx
Search by Category
Administration & Configuration
SmartPlant Foundation / SDx Version
10

Much of this information can be also obtained from the server tracing:

  • In the tracesettings.config file, which is found in the applicable site subfolder in the Web_Sites folder, set the value for PerformanceTraceSource_Switch to 3.

    SHARED Tip This setting slows the system down, so reset the value to 0 when it is finished.

  • The output from the tracing is in the folder configured in appsettings.config, which is in the same site folder. The default location is the site folder. Change the location to a new subfolder to make deleting the files easier, as the process generates many temporary files as well as the main tracing files.

    If you change the location for the output file, you must reset IIS in order for the change to be recognized. Open a command prompt, and then type IISRESET.

  • Delete the tracing file. If it is locked, make sure the CLOSE flags are set to TRUE in web.config file, and turn off the scheduler in the web.config file or using Server Manager, as this can lock the file.

  • Launch the Desktop Client, find the objects of concern, and open the shortcut menu.

  • Rename the SPF40servertrace.log file to isolate the shortcut menu trace.

  • Open the file and search for GetEdgeCount. The times to perform each relationship or edge count are listed. For example:

    GetEdgeCount^2011/09/10 19:04:37.022^End Count For : DYN_+SPFObjClassClassDef on Object : General Documents, 5 items were found, time taken = 00:00:00.0104881

If the shortcut menu display is still slow with Look Ahead turned off, then the issue could be a problem with the methods on the shortcut menu or general system performance.

SHARED Tip Test again using a role with fewer security permissions and fewer shortcut methods configured for the shortcut menu of the object. Conditions configured on the methods might slow the display time. By removing or adding the methods one by one, issues with method conditions this be apparent.

The Performance Benchmark Test API gathers much of this information by running tests on schema objects. It tests base performance and not the configuration of project-configured menus. The test API is described in more detail in Performance benchmark tests.

SHARED Tip You can reduce the need for the shortcut menu by configuring the Shortcut Menu toolbar.