无法启动并发用户模块

无法启动并发用户模块

我有一个计划任务,每隔几分钟运行一次 php CLI。它运行正常,但经常失败,留下一个taskeng.exe带有消息Failed to start up concurrent users module!(没有其他内容)的窗口,该窗口永远不会关闭。

这到底是什么意思?该消息是来自 php 还是来自 Windows?我应该担心它/尝试修复它吗?

这是任务配置:

  ...
  <Triggers>
    <TimeTrigger>
      <Repetition>
        <Interval>PT1M</Interval>
        <StopAtDurationEnd>false</StopAtDurationEnd>
      </Repetition>
      <StartBoundary>2016-06-11T20:23:05.5135319</StartBoundary>
      <Enabled>true</Enabled>
    </TimeTrigger>
  </Triggers>
  <Principals>
    <Principal id="Author">
      <UserId>...</UserId>
      <LogonType>InteractiveTokenOrPassword</LogonType>
      <RunLevel>HighestAvailable</RunLevel>
    </Principal>
  </Principals>
  <Settings>
    <DisallowStartIfOnBatteries>false</DisallowStartIfOnBatteries>
    <StopIfGoingOnBatteries>true</StopIfGoingOnBatteries>
    <IdleSettings>
      <StopOnIdleEnd>true</StopOnIdleEnd>
      <RestartOnIdle>false</RestartOnIdle>
    </IdleSettings>
    <Enabled>true</Enabled>
    <Hidden>true</Hidden>
    <RunOnlyIfIdle>false</RunOnlyIfIdle>
    <WakeToRun>false</WakeToRun>
    <ExecutionTimeLimit>PT0S</ExecutionTimeLimit>
    <Priority>7</Priority>
  </Settings>
  <Actions Context="Author">
    <Exec>
      <Command>C:\...\php.exe</Command>
      <Arguments>services.php service=mora ctl=check</Arguments>
      <WorkingDirectory>C:\...</WorkingDirectory>
    </Exec>
  </Actions>
</Task>

服务器操作系统是 Windows Server 2012 R2 (64)。Php 版本是 5.4 非线程安全 (32),带有 Zend Loader 3.3。

相关内容