Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
suvbin
Creator III
Creator III

Got error when task was stopped

Hi, 

Got the below error when task stopped. 

00005948: 2023-09-16T22:00:39 [SORTER ]I: Final saved task state. Stream position 9499;638305128306823350;20210622172936148926, Source id 44492189, next Target id 263153781, confirmed Target id 263153777, last source timestamp 1694916024681870 (sorter.c:771)
00008392: 2023-09-16T22:00:40 [IO ]E: remove_dir_recursive failed: trying to remove recursively <e:\data\tasks\CCSGTar\data_files\0> [1000137] (at_dir.c:1440)
00006404: 2023-09-16T22:00:42 [TASK_MANAGER ]I: Subtask #0 ended (replicationtask_util.c:591)
00006404: 2023-09-16T22:00:50 [TASK_MANAGER ]I: Task management thread terminated (replicationtask.c:4382)
00006200: 2023-09-16T22:00:50 [SERVER ]I: Client session (ID 1499112316) closed (dispatcher.c:195)
00006200: 2023-09-16T22:00:50 [UTILITIES ]I: The last state is saved to file 'e:\data\tasks\CsdfTar/StateManager/ars_saved_state_000002.sts' at Sun, 17 Sep 2023 02:00:39 GMT (1694916039889022) (statemanager.c:642)
00003200: 2023-09-16T22:00:50 [SERVER ]I: The process stopped (server.c:2520)
00003200: 2023-09-16T22:00:50 [AT_GLOBAL ]I: Closing log file at Sat Sep 16 22:00:50 2023 (at_logger.c:2543)

Request your help on this.

 

Thanks.

Labels (2)
4 Replies
sureshkumar
Support
Support

Hello @suvbin 

Is it possible to export a task and import it with a different name and run the task? if so let us know the behavior.

Note: Please do test in a test task before testing in Main Task.

 

Regards,

Suresh

SushilKumar
Support
Support

Hello @suvbin 

 

Thanks for reaching out to Qlik via Qlik Community Support page. However, the error you have encountered more related to OS or infrastructure side.

 

 [IO ]E: remove_dir_recursive failed: trying to remove recursively <e:\data\tasks\CCSGTar\data_files\0> [1000137] (at_dir.c:1440)

 

Request you engage TSE via a Support case, and diagnostic package/log/DDL and attached the relevant info/files to the case

 

Please refer to Replicate https://community.qlik.com/t5/Knowledge/How-to-collect-Diagnostics-Package-from-Qlik-Replicate/ta-p/...

 

Thank you for the continued support as we work through this new case.

 

Regards,

Sushil Kumar

suvbin
Creator III
Creator III
Author

Actually there was a down time at source end and the tasks are scheduled stop . So at  that time it got the error, but again it resumed back again. But wanted to know like what is this error means? 

 

Thanks.

Heinvandenheuvel
Specialist III
Specialist III

>>  remove_dir_recursive failed: trying to remove recursively <e:\data\tasks\CCSGTar\data_files\0>

Subvin>> But wanted to know like what is this error means? 

 

The message is likely in response to a system call error,  but there appears not to be any error detail like 'currently in use', 'protection violation' or 'nothing there'.

Should it happen again you want to use an Explorer or OS Command Shell to look for the existence and protection of the directory, it's subdirectories and the file in there. You may also want to look while the system is operating properly to understand what should be there, and for how long.

It could be a timing error where one thread (TARGET_APPLY?) just finished cleaning when the higher level TASK_MANAGER thread decided to try and clean up already.

You could try to enable TRACE (DEBUG) logging for IO before the next shutdown in an attempt to catch details.

Giving the time of the error report (shutting down anyway), and the fact that it restarted just fine, I wouldn't worry too much about it myself: 'bad luck'. Still, it is good to see you caught the error, in cause something more serious was reported.

Hein.