Quantcast
Channel: Performance Analysis of Logs (PAL) Tool
Viewing all 913 articles
Browse latest View live

Commented Unassigned: SQL Template Missing Disk / CPU / Memory Information [64848]

$
0
0
Hi,

For some reason recently the templates which get exported (in my case specifically around SQL Server templates) aren't including the memory, disk, network and cpu counters anymore. Is this something I've misconfigured at my end, or is it now just the way it works to have to create two separate template exports to collect this information?

Not a major issue, but this did catch me off guard when collecting data from a client environment only to discover that all the usual OS counters were missing during the collection (resulting in us having to re-run this for them).

Once again, any help would be hugely appreciated :)

Thanks!
Sia
Comments: ** Comment from web user: ClintH **

Fixed


New Post: Change temp path

$
0
0
How do I change the temp path from system temp?

Commented Unassigned: PAL Error: Divide by Zero [64976]

$
0
0
Hi,

Attempting to use this fantastic tool for first time in 4 years. Went through using the wizard and designated a CSV file. I tried choosing to process "process all counters" and not. Both times I got a "divide by 0 error." I'm unsure if this is user error or not. Any feedback appreciated.

The exact message is

Overall progress... Status: Calculating counter statistics [very CPU intensive]..., PAL 2.7.5 Progress: 65%... Calculating counter statistics [very CPU intensive]...,

An error occurred on...
$iPercentComplete = ConvertToDataType $(($iIndexOfJobs / $iTotalJobs) * 100) 'integer'
At C:\Software\PAL\PAL_Flatfiles_v2.7.5_x64\PAL.ps1:2293 char:65 + $iPercentComplete = ConvertToDataType $(($iIndexOfJobs / <<<< $iTotalJobs) * 100) 'integer'
Attempted to divide by zero.

SCRIPT ARGUMENTS:
Log: C:\Software\PAL\Logs\MarkIOWatch.tsv_000001 - Copy.csv
ThresholdFile: C:\Software\PAL\PAL_Flatfiles_v2.7.5_x64\SQLServer2012.xml
AnalysisInterval: AUTO
IsOutputHtml: $True
IsOutputXml: $False
HtmlOutputFileName: [LogFileName]_PAL_ANALYSIS_[DateTimeStamp].htm
XmlOutputFileName: [LogFileName]_PAL_ANALYSIS_[DateTimeStamp].xml
OutputDir: [My Documents]\PAL Reports
AllCounterStats: $False
NumberOfThreads: 4
IsLowPriority: $True
DisplayReport: True
Comments: ** Comment from web user: RichardDrysdall **

I get the same error, with both PAL 2.7.4 and 2.7.5. Log file attached.
I've tried several different parameters to no avail.
I can provide the .blg file if required.
Thanks.

Commented Unassigned: PAL Error: Divide by Zero [64976]

$
0
0
Hi,

Attempting to use this fantastic tool for first time in 4 years. Went through using the wizard and designated a CSV file. I tried choosing to process "process all counters" and not. Both times I got a "divide by 0 error." I'm unsure if this is user error or not. Any feedback appreciated.

The exact message is

Overall progress... Status: Calculating counter statistics [very CPU intensive]..., PAL 2.7.5 Progress: 65%... Calculating counter statistics [very CPU intensive]...,

An error occurred on...
$iPercentComplete = ConvertToDataType $(($iIndexOfJobs / $iTotalJobs) * 100) 'integer'
At C:\Software\PAL\PAL_Flatfiles_v2.7.5_x64\PAL.ps1:2293 char:65 + $iPercentComplete = ConvertToDataType $(($iIndexOfJobs / <<<< $iTotalJobs) * 100) 'integer'
Attempted to divide by zero.

SCRIPT ARGUMENTS:
Log: C:\Software\PAL\Logs\MarkIOWatch.tsv_000001 - Copy.csv
ThresholdFile: C:\Software\PAL\PAL_Flatfiles_v2.7.5_x64\SQLServer2012.xml
AnalysisInterval: AUTO
IsOutputHtml: $True
IsOutputXml: $False
HtmlOutputFileName: [LogFileName]_PAL_ANALYSIS_[DateTimeStamp].htm
XmlOutputFileName: [LogFileName]_PAL_ANALYSIS_[DateTimeStamp].xml
OutputDir: [My Documents]\PAL Reports
AllCounterStats: $False
NumberOfThreads: 4
IsLowPriority: $True
DisplayReport: True
Comments: ** Comment from web user: RichardDrysdall **

This appears to be the same issue as #64877. The comments for that issue suggest that the problem occurs when the perfmon log was generated on a non-English system, which is certainly the case for me (perfmon logs generated on a Dutch computer). The comments for #64877 suggest a possible solution.

Created Unassigned: PAL is not processing all counters [65012]

$
0
0
Greetings -
Using PAL 2.7.5. My workstations is Windows 7, 64bit.

Some of the counters I am capturing include:
\Processor(*)\% Privileged Time
\Processor(*)\% User Time
\Process(*)\% Processor Time
\Process(_Total)\Handle Count
\Process(*)\IO Data Bytes/sec
\System\Context Switches/sec
\System\File Data Operations/sec
\System\File Read Operations/sec
\System\File Write Operations/sec
\Memory\Page Faults/sec
\Memory\% Committed Bytes In Use
\Memory\Committed Bytes
\PhysicalDisk(_Total)\Avg. Disk Queue Length

When I run PAL, these are the only items that
appear to be processed:

Memory % Committed Bytes In Use
Memory Committed Bytes
Process Handle Count
Process % Processor Time
Processor % Processor Time
Processor % Privileged Time

The CSV files I am capturing do include all the
counter data; I do specify that PAL process
all counters, and I am auto-detecting the threshold
file.

Am I missing something?

Thank you -

New Post: Perfmon Log Translator (russian language)

$
0
0
Current version didn't translate the "Processor" counter right ( "Process"(english)+"ор"(russian) )
Please reorder language file to
<counter>
 <org>\Процессор</org>
  <en>\Processor</en>
 </counter>
<counter>
      <org>\Процесс</org>
      <en>\Process</en>
</counter>"

Created Unassigned: Analysis Interval Set for 10 Min But Defaults to Auto [65016]

$
0
0
Even though I chose the 10 min. interval for analysis (the script shows -Interval "600") my PAL reports still default to auto for time intervals. These same logs run under PAL 2.4 provided an expected result of 10 minutes when this value was set.

Is anyone else experiencing this? Does anyone have a solution?

Donnie

Commented Unassigned: Empty HTML results file. [64842]

$
0
0
I've attempted this using the latest version of PAL (v2.7.4) on Windows 10, but have also tried this on Windows 8 and Windows 7, however I continually get an empty HTML results file.

The various graphs generate ok, and the html file is created however it just doesn't get populated with the graph data.

When I watch the Powershell script run, I believe there may be an error message at the very end but the window closes before I can catch what it is.

Any help would be greatly appreciated as I use this tool quite a lot.

Thanks!
Comments: ** Comment from web user: XRJPK **

Try to view the Log File located in C:\Users\<yourUser>\AppData\Local\Temp\Pal.log

Greetings


Reviewed: Perfmon Log Translator (PLT) (Dez 02, 2015)

$
0
0
Rated 4 Stars (out of 5) - Ist there a way to support wildcards during tranlation. For example the SQL Server:Database performance counters are DB specific. This means they contain the Database name. That makes it hard to translate, because you have to know the DB Names before. Is there a chance the add this? I could help to implement this.

New Post: Analysis Interval in PAL 2.7.5 Will Not Use Interval Other Than Auto

$
0
0
Even though I chose the 10 min. interval for analysis (the script shows -Interval "600") my PAL reports still default to auto for time intervals. These same logs run under PAL 2.4 provided an expected result of 10 minutes when this value was set.

Is anyone else experiencing this? Does anyone have a solution?

Donnie

New Post: Analysis Interval in PAL 2.7.5 Will Not Use Interval Other Than Auto

$
0
0
Donnie,
600 is the number of seconds in 10 min.
Richard

New Post: Analysis Interval in PAL 2.7.5 Will Not Use Interval Other Than Auto

$
0
0
Richard,

I know that 600 seconds is 10 minutes - and that is the desired operation that I'm looking for.

What I was saying is that even though I select 10 minutes - and the script appears to have the correct setting for the -Interval variable, the HTML report continues to default to 'Auto' time segments.

It appears that even if you select something other than 'Auto', the powershell script disregards the -Interval variable.

Thank you for your response - I am hoping someone can confirm the same behavior or advise if I am doing something wrong with the new version of the tool.

Donnie

New Post: Analysis Interval in PAL 2.7.5 Will Not Use Interval Other Than Auto

$
0
0
Ok, I can understand that. It sounded like when you selected the 10 min interval that you were expecting something different. Just to remind me, what is the auto interval? I'm using an older version of the PAL tool and don't have a problem with the interval. I get what I'm expecting.

Alternatively, you could open the scripts and see what the code is doing.

Let us know what you find out with this. I agree that 10 min. is entirely too long of an interval for performance tuning reports.

Richard

New Post: Analysis Interval in PAL 2.7.5 Will Not Use Interval Other Than Auto

$
0
0
The Auto interval takes the log file and reports it back in intervals often much longer than 10 minutes. The script correctly reports an interval of 600 seconds, however this is not what I get in the HTML report. I've opened the PAL.ps1 but still trying to decipher it. Until fixed, I'll be sticking with PAL 2.4.

If I figure it out, I'll post back.

New Post: PAL is not processing all counters

$
0
0
Greetings -
Using PAL 2.7.5. My workstation is Windows 7, 64bit.

Some of the counters I am capturing include:
\Processor(*)\% Privileged Time
\Processor(*)\% User Time
\Process(*)\% Processor Time
\Process(_Total)\Handle Count
\Process(*)\IO Data Bytes/sec
\System\Context Switches/sec
\System\File Data Operations/sec
\System\File Read Operations/sec
\System\File Write Operations/sec
\Memory\Page Faults/sec
\Memory\% Committed Bytes In Use
\Memory\Committed Bytes
\PhysicalDisk(_Total)\Avg. Disk Queue Length

When I run PAL, these are the only items that
appear to be processed:

Memory % Committed Bytes In Use
Memory Committed Bytes
Process Handle Count
Process % Processor Time
Processor % Processor Time
Processor % Privileged Time

The CSV files I am capturing do include all the
counter data; I do specify that PAL process
all counters, and I am auto-detecting the threshold
file.

Am I missing something?

Thank you -

Commented Unassigned: Error when analysing IIS performance [25093]

$
0
0
Exported IIS.xml to Perfmon template file.
Made data collector set.
Ran test (~10 min), 6 Mb file
Started analysis.

Got this at the end:
Generating the HTML Report...WARNING: Please post errors or problems with this t
ool to the PAL web site
located at http://www.codeplex.com/PAL with the following error message and a
brief description of what you were trying to do. Thank you.
Property 'MINCRITICALVALUE' cannot be found on this object. Make sure that it e
xists.
At C:\Program Files\PAL\PAL\PAL.ps1:5119 char:99
+ ... )`n" + $(If ($($XmlChart.MINCRITICALVALUE) -ne ''){'Critical Range: ' + "
$(AddTh ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], ParentContainsErrorRecordE
xception
+ FullyQualifiedErrorId : PropertyNotFoundStrict
Comments: ** Comment from web user: JanHerrygers **

I just downloaded 2.7.5. I once again changed the following function in PAL.ps1, and the mentioned error was fixed once more. Function after the change:

Function Set-EnglishLocales
{
param()
$global:originalCulture = (Get-Culture)
$usenglishLocales = new-object System.Globalization.CultureInfo "en-US"
$global:currentThread = [System.Threading.Thread]::CurrentThread
$global:currentThread.CurrentCulture = $usenglishLocales
$global:currentThread.CurrentUICulture = $usenglishLocales
}

Commented Unassigned: Error when analysing IIS performance [25093]

$
0
0
Exported IIS.xml to Perfmon template file.
Made data collector set.
Ran test (~10 min), 6 Mb file
Started analysis.

Got this at the end:
Generating the HTML Report...WARNING: Please post errors or problems with this t
ool to the PAL web site
located at http://www.codeplex.com/PAL with the following error message and a
brief description of what you were trying to do. Thank you.
Property 'MINCRITICALVALUE' cannot be found on this object. Make sure that it e
xists.
At C:\Program Files\PAL\PAL\PAL.ps1:5119 char:99
+ ... )`n" + $(If ($($XmlChart.MINCRITICALVALUE) -ne ''){'Critical Range: ' + "
$(AddTh ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], ParentContainsErrorRecordE
xception
+ FullyQualifiedErrorId : PropertyNotFoundStrict
Comments: ** Comment from web user: ClintH **

Thanks, Jan. I will definitely get this into the next release of PAL. Sorry. Been very busy with other projects lately.

New Post: Using Splunk as data source

$
0
0
We have used PAL in many circumstances to troubleshoot performance issues for which this tool has been invaluable.

Has anyone tried or thought about if PAL could use perfmon data that was previously captured, such as with Splunk? (For those unfamiliar with Splunk - it's a tool that captures and analyzes machine data)

We are always reactive after an incident has occurred and cannot analyze the issues at that point in time unless PAL has been running (which is never the case). We are current using Splunk and it's already pulling many of the perfmon counters that are used in PAL (while other counters can be enabled).

One idea that occurred to me is that we already have much of the historical data needed for PAL. I've toyed with looking at how to point PAL to use data from Splunk instead of capturing it. Assuming that the counters were pre-configured we could run PAL analyze any server at any time without installing/configuring it locally.

Has anyone tried something similar?

Created Unassigned: v2.7.5 Statistics are sometimes incorrect [65036]

$
0
0
When using PAL 2.7.5 the __Overall Counter Instance Statistics__ sometimes displays incorrect values for Min, Avg and some of the other values, but not for the Max value. This happens the the performance counter data contains values which are 0.

This seems to be caused by the following lines in the FillNullsWithDashesAndIsAllNull function:

```
If (($Values[$i] -eq ' ') -or ($Values[$i] -eq $null))
{
$Values[$i] = '-'
}
```
If the value in ($Values[$i] is 0 PowerShell apparently considers it equal to ' ' which causes those values to become replaced by '-'.

To overcome this I added the following function:
```
Function IsAllMinus
{
param($values)
For ($i=0;$i -le $values.GetUpperBound(0);$i++)
{
If ($values[$i] -ne '-')
{
return $False
}
}
return $True
}
```
and removed the FillNullsWithDashesAndIsAllNull function.

I also replaced the following lines in the LoadCounterDataIntoXml function:
```
$ic = $XmlCounterInstance.COUNTERDATAINDEX
$oCounterInstance.aValues = GetCounterDataFromPerfmonLog -iCounterIndexInCsv $ic

$global:IsValuesAllNull = $True
$oCounterInstance.aValues = FillNullsWithDashesAndIsAllNull -Values $oCounterInstance.aValues
$oCounterInstance.IsAllNull = $global:IsValuesAllNull

If ($global:IsValuesAllNull -eq $True)
{
$XmlCounterInstance.SetAttribute("ISALLNULL", "True")
}
```
with the following lines:
```
$ic = $XmlCounterInstance.COUNTERDATAINDEX
$oCounterInstance.aValues = GetCounterDataFromPerfmonLog -iCounterIndexInCsv $ic
$oCounterInstance.IsAllNull = IsAllMinus -Values $oCounterInstance.aValues

If ($oCounterInstance.IsAllNull -eq $True)
{
$XmlCounterInstance.SetAttribute("ISALLNULL", "True")
}
```

Then it generated correct values.

I hope the code above will be put into the next version of PAL. Let me know if you want me to send you my modified version of PAL.ps1 if that makes it easier for you to incorporate the changes.

Thanks for a great tool!

New Post: 2.7.5 Setup File contains 2.7.4 PAL executable

$
0
0
Good day,

I was experiencing the "property 'Count' cannot be found on this object" issue with the System Overview template and noticed that you fixed the issue with 2.7.5. I uninstalled version 2.7.4 and downloaded the file PAL_Setup_v2.7.5_x64.zip and installed it. I found however that the PALWizard.exe file within stated it was version 2.7.4 and I still had the property count issue.

I repeated the uninstall/reinstall and verified that the uninstall removed all files in C:\Program Files\PAL however after the reinstall, it still stated 2.7.4. At this point I downloaded the PAL_Flatfiles_v2.7.5_x64.zip file and copied the contents of this file to C:\Program Files\PAL. PALWizard.exe now states that it is 2.7.5 and the reports generate properly.

I will be giving a training to my coworkers on 1/6/16 on PAL since it is an awesome tool and I want them to be aware of it. Is there anyway that the installer can be updated with the correct files before the training? If not, I will inform them of the workaround.

Thanks!

Rob
Viewing all 913 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>