神秘? Azure DaaS Web作业

时间:2018-11-10 18:59:50

标签: azure azure-devops azure-webjobs

这周,我注意到我的团队Azure门户网站上有连续的网络作业。

enter image description here团队中没有人说他们已经部署或熟悉它。我找到了这个博客:

https://azure.microsoft.com/en-ca/blog/daas/

引用了一些可能相关的内容,但是此页面上的某些链接似乎已消失。其中之一重定向您以检查Azure“诊断和解决问题”刀片。似乎已经对其UI进行了修改,尽管我从来没有真正需要使用此功能,所以我不习惯其所有以前/新功能吗?功能。

在这里,我发现了一些似乎有用的诊断工具和Azure App Service“自动修复”。我发现似乎没有任何东西依赖于此网络作业,并且Azure门户中我们的任何其他App Services都不存在“ DaaS”。

我可以禁用或删除它吗?对于连续不断地运行网络作业,我感到不舒服,因为我们团队中没有人知道它在做什么,或者似乎出于任何原因而需要。

我们会失去这些吗?新?诊断刀片的功能?这些功能似乎可用于没有Webapp的App Services。

其日志如下:

[11/02/2018 17:11:16 > 500837: SYS INFO] Status changed to Starting
[11/02/2018 17:11:16 > 500837: SYS INFO] WebJob singleton setting is False
[11/02/2018 17:11:16 > 500837: SYS INFO] Run script 'DaaSRunner.exe' with script host - 'WindowsScriptHost'
[11/02/2018 17:11:16 > 500837: SYS INFO] Status changed to Running
[11/02/2018 18:11:16 > 500837: SYS INFO] WebJob is still running
[11/03/2018 06:11:18 > 500837: SYS INFO] WebJob is still running
[11/03/2018 09:47:19 > 88a4cd: SYS INFO] Status changed to Starting
[11/03/2018 09:47:20 > 88a4cd: SYS INFO] WebJob singleton setting is False
[11/03/2018 09:47:22 > 88a4cd: SYS INFO] Run script 'DaaSRunner.exe' with script host - 'WindowsScriptHost'
[11/03/2018 09:47:23 > 88a4cd: SYS INFO] Status changed to Running
[11/03/2018 09:48:52 > 500837: SYS INFO] WebJob is stopping due to website shutting down
[11/03/2018 09:48:52 > 500837: SYS INFO] Status changed to Stopping
[11/03/2018 09:48:58 > 500837: ERR ] Thread was being aborted.
[11/03/2018 09:48:58 > 500837: SYS INFO] WebJob process was aborted
[11/03/2018 09:48:58 > 500837: SYS INFO] Status changed to Stopped
[11/03/2018 09:49:59 > 88a4cd: INFO] Deleting expired heartbeat from instance RD0004FF9C15A8. It last beat at 11/3/2018 9:49:55 AM while the current time is 11/3/2018 9:49:59 AM
[11/03/2018 10:47:20 > 88a4cd: SYS INFO] WebJob is still running
[11/03/2018 22:47:22 > 88a4cd: SYS INFO] WebJob is still running
[11/04/2018 02:47:33 > 88a4cd: SYS INFO] WebJob is stopping due to website shutting down
[11/04/2018 02:47:33 > 88a4cd: SYS INFO] Status changed to Stopping
[11/04/2018 02:47:38 > 88a4cd: ERR ] Thread was being aborted.
[11/04/2018 02:47:38 > 88a4cd: SYS INFO] WebJob process was aborted
[11/04/2018 02:47:38 > 88a4cd: SYS INFO] Status changed to Stopped
[11/04/2018 02:47:54 > 88a4cd: SYS INFO] Status changed to Starting
[11/04/2018 02:47:54 > 88a4cd: SYS INFO] WebJob singleton setting is False
[11/04/2018 02:47:54 > 88a4cd: SYS INFO] Run script 'DaaSRunner.exe' with script host - 'WindowsScriptHost'
[11/04/2018 02:47:54 > 88a4cd: SYS INFO] Status changed to Running
[11/04/2018 03:47:54 > 88a4cd: SYS INFO] WebJob is still running
[11/04/2018 15:47:56 > 88a4cd: SYS INFO] WebJob is still running
[11/05/2018 03:47:57 > 88a4cd: SYS INFO] WebJob is still running
[11/05/2018 15:47:59 > 88a4cd: SYS INFO] WebJob is still running
[11/06/2018 03:48:01 > 88a4cd: SYS INFO] WebJob is still running
[11/06/2018 15:48:03 > 88a4cd: SYS INFO] WebJob is still running
[11/07/2018 03:48:04 > 88a4cd: SYS INFO] WebJob is still running
[11/07/2018 15:48:06 > 88a4cd: SYS INFO] WebJob is still running
[11/08/2018 03:48:08 > 88a4cd: SYS INFO] WebJob is still running
[11/08/2018 15:48:10 > 88a4cd: SYS INFO] WebJob is still running
[11/09/2018 02:03:23 > 88a4cd: SYS INFO] WebJob is stopping due to website shutting down
[11/09/2018 02:03:23 > 88a4cd: SYS INFO] Status changed to Stopping
[11/09/2018 02:03:35 > 88a4cd: SYS INFO] Status changed to Starting
[11/09/2018 02:03:35 > 88a4cd: SYS INFO] WebJob singleton setting is False
[11/09/2018 02:03:35 > 88a4cd: SYS INFO] Run script 'DaaSRunner.exe' with script host - 'WindowsScriptHost'
[11/09/2018 02:03:35 > 88a4cd: SYS INFO] Status changed to Running
[11/09/2018 02:03:44 > 88a4cd: SYS INFO] Detected WebJob file/s were updated, refreshing WebJob
[11/09/2018 02:03:44 > 88a4cd: SYS INFO] Status changed to Stopping
[11/09/2018 02:03:49 > 88a4cd: ERR ] Thread was being aborted.
[11/09/2018 02:03:49 > 88a4cd: SYS INFO] WebJob process was aborted
[11/09/2018 02:03:49 > 88a4cd: SYS INFO] Status changed to Stopped
[11/09/2018 02:03:49 > 88a4cd: SYS INFO] Status changed to Starting
[11/09/2018 02:03:49 > 88a4cd: SYS INFO] Job directory change detected: Job file 'DaaS.dll' timestamp differs between source and working directories.
[11/09/2018 02:03:49 > 88a4cd: SYS INFO] Run script 'DaaSRunner.exe' with script host - 'WindowsScriptHost'
[11/09/2018 02:03:49 > 88a4cd: SYS INFO] Status changed to Running
[11/09/2018 03:03:49 > 88a4cd: SYS INFO] WebJob is still running
[11/09/2018 03:53:32 > 88a4cd: SYS INFO] Status changed to Starting
[11/09/2018 03:53:32 > 88a4cd: SYS INFO] WebJob singleton setting is False
[11/09/2018 03:53:33 > 88a4cd: SYS INFO] Run script 'DaaSRunner.exe' with script host - 'WindowsScriptHost'
[11/09/2018 03:53:33 > 88a4cd: SYS INFO] Status changed to Running
[11/09/2018 04:53:32 > 88a4cd: SYS INFO] WebJob is still running
[11/09/2018 04:56:49 > 522a7d: SYS INFO] Status changed to Starting
[11/09/2018 04:56:49 > 522a7d: SYS INFO] WebJob singleton setting is False
[11/09/2018 04:56:50 > 522a7d: SYS INFO] Run script 'DaaSRunner.exe' with script host - 'WindowsScriptHost'
[11/09/2018 04:56:51 > 522a7d: SYS INFO] Status changed to Running
[11/09/2018 04:58:23 > 88a4cd: SYS INFO] WebJob is stopping due to website shutting down
[11/09/2018 04:58:23 > 88a4cd: SYS INFO] Status changed to Stopping
[11/09/2018 04:58:28 > 88a4cd: ERR ] Thread was being aborted.
[11/09/2018 04:58:28 > 88a4cd: SYS INFO] WebJob process was aborted
[11/09/2018 04:58:28 > 88a4cd: SYS INFO] Status changed to Stopped
[11/09/2018 04:59:48 > 522a7d: INFO] Deleting expired heartbeat from instance RD0004FF9C349E. It last beat at 11/9/2018 4:59:20 AM while the current time is 11/9/2018 4:59:48 AM
[11/09/2018 05:56:50 > 522a7d: SYS INFO] WebJob is still running
[11/09/2018 13:00:14 > 60c00d: SYS INFO] Status changed to Starting
[11/09/2018 13:00:14 > 60c00d: SYS INFO] WebJob singleton setting is False
[11/09/2018 13:00:15 > 60c00d: SYS INFO] Run script 'DaaSRunner.exe' with script host - 'WindowsScriptHost'
[11/09/2018 13:00:15 > 60c00d: SYS INFO] Status changed to Running
[11/09/2018 13:01:01 > 522a7d: SYS INFO] WebJob is stopping due to website shutting down
[11/09/2018 13:01:01 > 522a7d: SYS INFO] Status changed to Stopping
[11/09/2018 13:01:06 > 522a7d: ERR ] Thread was being aborted.
[11/09/2018 13:01:06 > 522a7d: SYS INFO] WebJob process was aborted
[11/09/2018 13:01:06 > 522a7d: SYS INFO] Status changed to Stopped
[11/09/2018 13:02:41 > 60c00d: INFO] Deleting expired heartbeat from instance RD0004FF9C4287. It last beat at 11/9/2018 1:02:00 PM while the current time is 11/9/2018 1:02:41 PM
[11/09/2018 14:00:14 > 60c00d: SYS INFO] WebJob is still running
[11/10/2018 02:00:15 > 60c00d: SYS INFO] WebJob is still running
[11/10/2018 14:00:16 > 60c00d: SYS INFO] WebJob is still running

没有告诉我很多。如果这是一项新功能,或者我正在获得ABTested,或者您认为可以将其禁用/删除,请告诉我。谢谢。

4 个答案:

答案 0 :(得分:3)

与Microsoft一起开票后,他们告诉我,因为我已经浏览过“诊断和解决”刀片,因此该Webjob是自动创建的,以允许在那里使用预期的功能。

我最终并不需要这些选项,因此可以安全地禁用或删除它。它不会干扰我的应用程序,但是如果我什么都不做,我认为我至少应该禁用它。

禁用它之后,我没有遇到任何问题,也没有遇到用户问题。

答案 1 :(得分:3)

我遇到了同样的问题,在我的Web应用程序中,我有一个Web作业,突然我看到了另一个名为“ Daas”的Web作业。 因此,我感到非常惊讶,并与MS团队进行了讨论,然后我发现,如果您为Web应用程序激活了“ Dignosis工具”,那么Azure云会自动创建此“ Daas” Web作业。 基本上,它将监视您当前的Web应用程序是否存在任何问题或威胁。 因此,无需担心,它不会消耗应用程序的内存。

答案 2 :(得分:1)

我试图进入class TriangleView: UIView { override func draw(_ rect: CGRect) { let path = UIBezierPath.init(rightAngledTriangleInRect: rect, withOffset: 20.0) let shape = CAShapeLayer() shape.path = path.cgPath // Set the mask layer.mask = shape } } 页,但是该功能已已弃用,如screenshot所示。该页面还建议使用“诊断和解决”。因此,我相信可以删除DaaS

现在,它可以像连续的DaaS WebJob一样工作,您可以将其从webjob中删除。您可以访问enter image description here Kudu,然后选择“工具”->“压缩推送部署”->“ App_Data”->“作业”->“连续”。如果有“ DaaS”,则可以单击-将其删除,就像pic一样。

如果您仍有疑问,请告诉我。

答案 3 :(得分:0)

这是有关DaaS和DaasRunner的更多信息

请注意,每当您通过诊断和解决问题刀片运行任何诊断工具时,它们都会通过DaaS网站扩展来收集数据,在此期间,它们取决于DaasRunner Web作业。对于诸如内存转储,.NET Profiler,CPU监视,Java Flight Recorder,自动修复等工具来说都是如此。

如果您浏览至“诊断和解决问题”刀片中的任何诊断工具,DaasRunner Web作业可能会重新出现。下面的文章中有更多详细信息

应该注意的是,DaaSRunner网络作业通常闲置无事。仅当调用诊断会话(如CPU监视会话)或手动数据收集会话(如Profiler,内存转储等)时,DaasRunner才会唤醒并开始收集该会话所需的数据,因此离开该会话完全无害。 DaasRunner Webjob处于运行状态。