Forum

Author Topic: Dealing with network jobs that won't cancel  (Read 2464 times)

willfig

  • Newbie
  • *
  • Posts: 35
    • View Profile
Dealing with network jobs that won't cancel
« on: March 01, 2019, 07:13:47 AM »
From time to time we get a job on our network that seems to just hang.  There are no errors, and other jobs continue to process.  We can pause and try and abort these jobs from the Network Monitor but they won't cancel.  If you open the project file directly, you get the network processing dialog but also can't cancel from here.  I know one way to cancel the job is to restart the server. But that means losing all the jobs that are queued.  I'm just wondering if there is another way?  Thanks.

Will

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14847
    • View Profile
Re: Dealing with network jobs that won't cancel
« Reply #1 on: March 01, 2019, 02:56:01 PM »
Hello Will,

Is there any node that is assigned to the job? Cancelling the network task sometimes require some clean up step to be performed to remove the temporary data from the project folder and the server cannot do it by itself.
Best regards,
Alexey Pasumansky,
Agisoft LLC

willfig

  • Newbie
  • *
  • Posts: 35
    • View Profile
Re: Dealing with network jobs that won't cancel
« Reply #2 on: March 06, 2019, 04:22:34 AM »
Hi Alexey,

That job was assigned to two nodes.  I paused those nodes and then later actually stopped them completely.  But the job remained in the que.  What's involved in removing the temporary data so the job will fully cancel?

Will

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14847
    • View Profile
Re: Dealing with network jobs that won't cancel
« Reply #3 on: March 06, 2019, 11:04:16 AM »
Hello Will,

Jobs may exist in the queue on the server, even if no nodes are connected to the server. But if some processing has been already applied and the job is cancelled, server creates the "cleanup" task and it will be sent to the available node.
Best regards,
Alexey Pasumansky,
Agisoft LLC

willfig

  • Newbie
  • *
  • Posts: 35
    • View Profile
Re: Dealing with network jobs that won't cancel
« Reply #4 on: March 06, 2019, 11:47:11 AM »
Hi Alexey

I see. So you just have to wait for that cleanup process to finish? The job was still there a few hours after we cancelled it. Finally restarted the server to kill it so we could open the project file again.

Will

willfig

  • Newbie
  • *
  • Posts: 35
    • View Profile
Re: Dealing with network jobs that won't cancel
« Reply #5 on: March 11, 2019, 01:51:02 AM »
We're having this problem again now.  The project was at 99% complete on the dense cloud and then started throwing this error:

2019-03-11 09:10:10 [10.165.18.3:65388] failed #38 BuildDenseCloud.cleanup (1/1): Can't open file: The system cannot find the file specified (2): R:/PRJ-HabitatStr/Processing/Palau/CORALASSIST/Coral_Colonies/PA-DR_A075/PA-DR_A075_2019.02.08.files/0/0/dense_cloud/dense_cloud.zip

It racked up 460,181 of these before we paused (it was over the weekend) and then tried to abort it. Its been sitting paused for two days now.  We can't open the project file as the job is still with the network.

Any help appreciated.

Will