RML ostress error

  • Hi,

    I'm attempting to replay a trace using ostress from the RML utilities and am stuck.

    Trying to replay the trace with ostress is throwing an error, I think it could be "REPLAY ERROR: Total users value 0", highlighted in the capture below:

    The trace was recorded with the default profiler replay template and then converted to RML with readtrace.

    >ostress -S(local) -E -dAccounting -itrace_500p2p.RML -mreplay -c.\sample.ini -v

    11/09/11 12:53:10.074 [0x0001977C] Attempting to zero contents and delete file [C:\Users\XXX\AppData\Local\Temp\output\ostress.log] (7022 bytes)

    11/09/11 12:53:10.075 [0x0001977C] OSTRESS, A Generic ODBC-Based Stress/Replay Utility.

    Version 9.01.0109 built for x64.

    Copyright (c) Microsoft Corporation 1997-2008. All rights reserved.

    11/09/11 12:53:10.075 [0x0001977C] Number of processors: 8

    11/09/11 12:53:10.075 [0x0001977C] Active proc mask: 0x000000FF

    11/09/11 12:53:10.075 [0x0001977C] Architecture: 9

    11/09/11 12:53:10.075 [0x0001977C] Page size: 4096

    11/09/11 12:53:10.076 [0x0001977C] Highest node: 0

    11/09/11 12:53:10.076 [0x0001977C] Processor(s): 0x00000003 Function units: Shared

    11/09/11 12:53:10.076 [0x0001977C] Processor(s): 0x0000000C Function units: Shared

    11/09/11 12:53:10.076 [0x0001977C] Processor(s): 0x00000030 Function units: Shared

    11/09/11 12:53:10.076 [0x0001977C] Package mask: 0x000000FF

    11/09/11 12:53:10.076 [0x0001977C] Processor(s): 0x000000C0 Function units: Shared

    11/09/11 12:53:10.076 [0x0001977C] Processors: 0x000000FF assigned to Numa node: 0

    11/09/11 12:53:10.076 [0x0001977C] WARNING: -o parameter was not supplied; using default output path of <temporary directory>\output [C:\Users\XXX\AppData\Local\Temp\output]

    11/09/11 12:53:10.076 [0x0001977C] Arguments:

    11/09/11 12:53:10.077 [0x0001977C] -S(local)

    11/09/11 12:53:10.077 [0x0001977C] -E

    11/09/11 12:53:10.077 [0x0001977C] -dAccounting

    11/09/11 12:53:10.077 [0x0001977C] -itrace_500p2p.RML

    11/09/11 12:53:10.077 [0x0001977C] -mreplay

    11/09/11 12:53:10.077 [0x0001977C] -c.\sample.ini

    11/09/11 12:53:10.077 [0x0001977C] -v

    11/09/11 12:53:10.078 [0x0001977C] Using language id (LCID): 1024 [English_United Kingdom.1252] for character formatting with NLS:

    0x00060101 and Defined: 0x00060101

    11/09/11 12:53:10.079 [0x0001977C] Default driver: SQL Server Native Client 10.0

    11/09/11 12:53:10.080 [0x0001977C] Initializing replay facility...

    11/09/11 12:53:10.080 [0x0001977C] COMMUNICATOR INFO: Initializing replay communications

    Client machine: ICENI15-PC

    Replay controller: ICENI15-PC

    DTC controller: ICENI15-PC

    DTC Timeout: 120000

    Actions: 0x00000001

    Verbose: False

    Total Users: 0

    ORCA Type: Out Of Process

    11/09/11 12:53:10.161 [0x0001977C] COMMUNICATOR INFO: Establishing replay message callback

    11/09/11 12:53:10.165 [0x000197D0] REPLAY INFO: Installing new client callback for [ICENI15-PC] using cookie = 1 at 12:53:10

    11/09/11 12:53:10.165 [0x0001977C] COMMUNICATOR INFO: Establishing replay message callback succeeded, callback cookie = 1

    11/09/11 12:53:10.165 [0x0001977C] COMMUNICATOR INFO: Setting master replay information

    11/09/11 12:53:10.166 [0x000197D0] REPLAY INFO: Client [ICENI15-PC] attempting to set master replay information at 12:53:10

    11/09/11 12:53:10.166 [0x000197D0] REPLAY ERROR: Total users value 0 outside valid range of 1..131072 at 12:53:10

    11/09/11 12:53:10.166 [0x0001977C] COMMUNICATOR ERROR: Setting master replay information failed

    Facility: 7, Severity: 1, Code: 87, HRESULT: 0x80070057

    11/09/11 12:53:10.166 [0x000197D0] REPLAY ERROR: Client [ICENI15-PC] initiated immediate exit processing at 12:53:10

    11/09/11 12:53:10.171 [0x0001977C] COMMUNICATOR INFO: Removing replay callback communication

    11/09/11 12:53:10.172 [0x0001977C] OSTRESS exiting due to error (-2048)

    Thank you.

  • Solved. I got this back from microsoft, there were problems with the RML file as the readtrace hadn't succeeded.

    11/10/11 11:07:58.620 [0x0000BDAC] REPLAY ERROR: Total users value 0 outside valid range of 1..131072 at 11:07:58

    This is your key aspect. We look at the files that are to be processed and for some reason on your system we are not finding any to replay.

    Is the incoming file name .RML correct and qualified correctly? OStress does a FindFirstFile to validate it and if it does not exist we ignore it and the number to replay would be 0.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply