2015-06-03 36 views
1

在運行Azure診斷2.5一段時間後沒有任何問題,它開始失敗。已退出Microsoft.Azure.Diagnostics.PaaSDiagnostics 1.4.1.1,並退出代碼:-108

Here是我的wadcfgx。

Here是應用程序唯一實例的CommandExecution日誌。

Here是我的DiagnosticsPluginLauncher日誌。

Here是DiagnosticsPlugin日誌。

問題在哪裏? DiagnosticsPlugin日誌結尾爲:

DiagnosticsPlugin.exe Error: 0 : [6/3/2015 12:02:41 PM] System.Xml.Schema.XmlSchemaValidationException: The element 'CounterSets' has incomplete content. List of possible elements expected: 'CounterSet'. 
    at Microsoft.Azure.Plugins.Plugin.BaseMonitoringConfig.Validate(String configFile, String schemaFile) 
    at Microsoft.Azure.Plugins.Plugin.WadParser.Translate(String baseMaResourcePath, Int32 actualDiskQuota, String& fullConfigFilePath) 
DiagnosticsPlugin.exe Error: 0 : [6/3/2015 12:02:41 PM] Failed to convert WAD1.1 config to Monagent config format 
DiagnosticsPlugin.exe Information: 0 : [6/3/2015 12:02:41 PM] DiagnosticPlugin.exe exit with code -108 

我卑微的建議 - 設置的性能計數器正在使問題。我對嗎?

回答

1

建議是正確的 - 與性能計數器(又名選擇我自己的自定義列表)是微不足道的。禁用它們可以緩解問題。我想有一個默認的和允許的(也可能的)性能計數器列表。

Here大約有詳盡的錯誤列表診斷和很好的串好文章:

%SystemDrive%\ WindowsAzure\Logs\Plugins\Microsoft.Azure.Diagnostics.PaaSDiagnostics<DiagnosticsVersion>\CommandExecution.log 

這讓我發現了所有需要的日誌。

爲了解決類似的問題:

  1. 發佈您的實例啓用遠程桌面臨時環境。
  2. 通過VS中的服務器瀏覽器將RDP發送到實例
  3. 使用上述文件夾並發現日誌。
  4. 打開每個日誌並使用它來發現錯誤代碼並使用錯誤代碼建議的文章。
+0

以上是相關的IaaS,但對於PaaS的(*雲服務*),我們發現這裏的日誌:'的%SystemDrive%\日誌\插件\' – SliverNinja

+0

這是在我的情況的PaaS。我不知道IaaS。 –