7 Replies Latest reply: Oct 31, 2014 4:41 PM by Cesar Augusto Beristain Lopez RSS

    Task fails one day and runs one day

    Sravan Puppala

      Hi Guys,

       

      Our client is having 11.0.11426.0 Server with out publisher in Use. The Problem is that the Tasks runs one day and does not.

      I am attaching both the logs.

       

      Log showing Failure of task from Today

       

      19.04.2013 03:26:19.6935914    Information    Starting task 'GasX_BR_MitGültigkeit.qvw'. Id:39823370-acf4-4225-b436-45f8865bd317. Triggered by 'TaskCompletedTrigger'. Id:7500c8d5-ccc6-4aae-ba26-ece70431d3fd
      19.04.2013 03:26:19.6935914    Information    Entering Task Execution. 
      19.04.2013 03:26:19.6935914    Information    ClusterID=1
      19.04.2013 03:26:19.6935914    Information    QDSID=3f7fce95-b3ed-a095-caf8-71aec7bfc684
      19.04.2013 03:26:19.6935914    Information    TaskID=39823370-acf4-4225-b436-45f8865bd317
      19.04.2013 03:26:19.6935914    Information    MaxRunTime=06:00:00
      19.04.2013 03:26:19.6935914    Information    MachineName=TGDEDTM01SV0131
      19.04.2013 03:26:19.6935914    Information    Max attempts:1
      19.04.2013 03:26:19.6935914    Information    Current Attempt=0
      19.04.2013 03:26:19.6935914    Information    Task Dependencies are OK
      19.04.2013 03:26:22.0492518    Information    Document is marked to be Reloaded with fresh data. Initializing Reload for Distribution.
      19.04.2013 03:26:22.0492518    Information    Opening "D:\Qlikview Development\3_Userdocuments\GasX_BR_MitGültigkeit.qvw"
      19.04.2013 03:26:22.0648522    Information    Allocating new QlikView Engine. Current usage count=0 of 2 (of type non-reader).
      19.04.2013 03:26:22.0648522    Information    Max retries:5
      19.04.2013 03:26:22.0648522    Information    Attempt:01
      19.04.2013 03:26:25.9181510    Information    Allocated QlikView Engine successfully. Current usage count=1 of 2 (of type non-reader). Ticket number=16.
      19.04.2013 03:26:25.9181510    Information    Loading document "D:\Qlikview Development\3_Userdocuments\GasX_BR_MitGültigkeit.qvw" (2772.15 Mb)
      19.04.2013 03:26:26.9321770    Information    Loading. LoadTime=00:00:01.0140260
      19.04.2013 03:26:27.4937914    Information    Physical FileSize=2772.15 Mb. Memory Allocation Delta for this file=12.31 Mb. Available Physical Memory Before Open=34280.80 Mb. Available Physical Memory After Open=34358.00 Mb. Total Physical Memory=36863.49 Mb.
      19.04.2013 03:26:27.5093918    Information    Attempted to load the document without data.
      19.04.2013 03:26:27.5093918    Information    The document was loaded successfully.
      19.04.2013 03:26:27.5093918    Information    Document was opened successfully
      19.04.2013 03:26:27.5093918    Information    Starting reload
      19.04.2013 03:26:27.5093918    Information    QlikView->Settings->Document Peferences->Generate Logfile in document is set. Enabling Log Copier.
      19.04.2013 03:26:27.5093918    Information    Waiting for the document log "D:\Qlikview Development\3_Userdocuments\GasX_BR_MitGültigkeit.qvw" to become available..
      19.04.2013 03:26:27.5093918    Information    The Source Document is being reloaded. DocumentPath=D:\Qlikview Development\3_Userdocuments\GasX_BR_MitGültigkeit.qvw
      19.04.2013 03:26:27.5717934    Information    Found a document log. FileName=D:\Qlikview Development\3_Userdocuments\GasX_BR_MitGültigkeit.qvw.log
      19.04.2013 03:26:27.5717934    Information    Writing documentLog to C:\ProgramData\QlikTech\DistributionService\1\Log\20130419\032619 - GasX_BR_MitGültigkeit.qvw\DocumentLog.txt
      19.04.2013 03:26:28.5234178    Information    Reloading.
      19.04.2013 03:26:29.5374438    Information    Reloading..
      19.04.2013 03:26:30.5514698    Information    Reloading...
      19.04.2013 03:26:31.5654958    Information    Reloading....
      19.04.2013 03:26:32.5795218    Information    Reloading.....
      19.04.2013 03:26:33.5935478    Information    Reloading......
      19.04.2013 03:26:34.6075738    Information    Reloading.......
      19.04.2013 03:26:35.6215998    Information    Reloading........
      19.04.2013 03:26:36.6356258    Information    Reloading.........
      19.04.2013 03:26:37.6496518    Information    Reloading..........
      19.04.2013 03:26:38.6636778    Information    Slow down logging. Log every <2> seconds.
      19.04.2013 03:26:38.6636778    Information    Reloading
      19.04.2013 03:26:40.6917298    Information    Reloading.
      19.04.2013 03:26:42.7197818    Information    Reloading..
      19.04.2013 03:26:44.7478338    Information    Reloading...
      19.04.2013 03:26:46.7758858    Information    Reloading....
      19.04.2013 03:26:48.8039378    Information    Reloading.....
      19.04.2013 03:26:50.8319898    Information    Reloading......
      19.04.2013 03:26:52.8600418    Information    Reloading.......
      19.04.2013 03:26:54.8880938    Information    Reloading........
      19.04.2013 03:26:56.9161458    Information    Reloading.........
      19.04.2013 03:26:58.9441978    Information    Reloading..........
      19.04.2013 03:27:00.9722498    Information    Slow down logging. Log every <10> seconds.
      19.04.2013 03:27:00.9722498    Information    Reloading
      19.04.2013 03:27:11.1125098    Information    Reloading.
      19.04.2013 03:27:21.2527698    Information    Reloading..
      19.04.2013 03:27:31.3930298    Information    Reloading...
      19.04.2013 03:27:41.5332898    Information    Reloading....
      19.04.2013 03:27:51.6735498    Information    Reloading.....
      19.04.2013 03:28:01.8138098    Information    Reloading......
      19.04.2013 03:28:11.9540698    Information    Reloading.......
      19.04.2013 03:28:22.0943298    Information    Reloading........
      19.04.2013 03:28:32.2345898    Information    Reloading.........
      19.04.2013 03:28:42.3748498    Information    Reloading..........
      19.04.2013 03:28:52.5151098    Information    Slow down logging. Log every <60> seconds.
      19.04.2013 03:28:52.5151098    Information    Reloading
      19.04.2013 03:29:53.3566698    Information    Reloading.
      19.04.2013 03:30:54.1982298    Information    Reloading..
      19.04.2013 03:31:55.0397898    Information    Reloading...
      19.04.2013 03:32:55.8813498    Information    Reloading....
      19.04.2013 03:33:56.7229098    Information    Reloading.....
      19.04.2013 03:34:57.5644698    Information    Reloading......
      19.04.2013 03:35:58.4060298    Information    Reloading.......
      19.04.2013 03:36:59.2475898    Information    Reloading........
      19.04.2013 03:38:00.0891498    Information    Reloading.........
      19.04.2013 03:39:00.9307098    Information    Reloading..........
      19.04.2013 03:40:01.7722698    Information    Slow down logging. Log every <300> seconds.
      19.04.2013 03:40:01.7722698    Information    Reloading
      19.04.2013 03:45:06.0424714    Information    Reloading.
      19.04.2013 03:50:10.3438738    Information    Reloading..
      19.04.2013 03:55:14.5828746    Information    Reloading...
      19.04.2013 04:00:18.8530762    Information    Reloading....
      19.04.2013 04:05:23.1388782    Information    Reloading.....
      19.04.2013 04:10:27.3934794    Information    Reloading......
      19.04.2013 04:15:31.6168798    Information    Reloading.......
      19.04.2013 04:20:35.8246798    Information    Reloading........
      19.04.2013 04:25:40.0324798    Information    Reloading.........
      19.04.2013 04:30:44.3338822    Information    Reloading..........
      19.04.2013 04:35:48.6976862    Information    Slow down logging. Log every <600> seconds.
      19.04.2013 04:35:48.6976862    Information    Reloading
      19.04.2013 04:45:57.1600874    Information    Reloading.
      19.04.2013 04:56:05.6224886    Information    Reloading..
      19.04.2013 05:06:14.0380886    Information    Reloading...
      19.04.2013 05:16:22.4692890    Information    Reloading....
      19.04.2013 05:26:30.9472906    Information    Reloading.....
      19.04.2013 05:36:39.3940914    Information    Reloading......
      19.04.2013 05:46:47.9344946    Information    Reloading.......
      19.04.2013 05:56:56.3656950    Information    Reloading........
      19.04.2013 06:07:05.1713050    Information    Reloading.........
      19.04.2013 06:17:13.5869050    Information    Reloading..........
      19.04.2013 06:27:22.1897098    Information    Slow down logging. Log every <900> seconds.
      19.04.2013 06:27:22.2053102    Information    Reloading
      19.04.2013 06:42:40.0392438    Information    Reloading.
      19.04.2013 06:57:52.8966498    Information    Reloading..
      19.04.2013 07:13:05.6136522    Information    Reloading...
      19.04.2013 07:28:18.3150542    Information    Reloading....
      19.04.2013 07:43:31.0788578    Information    Reloading.....
      19.04.2013 07:58:43.8270610    Information    Reloading......
      19.04.2013 08:13:57.9949006    Information    Reloading.......
      19.04.2013 08:29:11.6947282    Information    Reloading........
      19.04.2013 08:44:24.4897326    Information    Reloading.........
      19.04.2013 08:59:40.7422631    Information    Reloading..........
      19.04.2013 09:14:53.8421913    Information    Slow down logging. Log every <1200> seconds.
      19.04.2013 09:14:53.8421913    Information    Reloading
      19.04.2013 09:26:31.2606060    Warning    The QlikView Engine is Reloading, it will be killed (Please ignore logged warnings/errors about the kill).
      19.04.2013 09:26:31.2918068    Information    Killing the QlikView Engine. ProcessID=5624
      19.04.2013 09:26:31.5102124    Information    Closed the QlikView Engine successfully. ProcessID=5624
      19.04.2013 09:26:31.9158228    Error    Exception=System.ObjectDisposedException: Safe handle has been closed
         at System.Threading.WaitHandle.WaitOneNative(SafeHandle waitableSafeHandle, UInt32 millisecondsTimeout, Boolean hasThreadAffinity, Boolean exitContext)
         at System.Threading.WaitHandle.InternalWaitOne(SafeHandle waitableSafeHandle, Int64 millisecondsTimeout, Boolean hasThreadAffinity, Boolean exitContext)
         at QVBWrapper.Document.ReadDocumentLogThread(ILogBucket i_LogBucket, DateTime i_ReloadStartTime)
      19.04.2013 09:26:32.2278308    Error    The task "GasX_BR_MitGültigkeit.qvw" failed. Exception:
      QDSMain.Exceptions.DistributionFailedException: Distribute failed with errors to follow. ---> QDSMain.Exceptions.ReloadFailedException: Reload failed ---> System.Threading.ThreadAbortException: Thread was being aborted.
         at System.Threading.WaitHandle.WaitOneNative(SafeHandle waitableSafeHandle, UInt32 millisecondsTimeout, Boolean hasThreadAffinity, Boolean exitContext)
         at System.Threading.WaitHandle.InternalWaitOne(SafeHandle waitableSafeHandle, Int64 millisecondsTimeout, Boolean hasThreadAffinity, Boolean exitContext)
         at SolutionGlobal.ThreadPool.ThreadPoolJob.SafeWaitEvent(WaitHandle eventWaitHandle)
         at QDSMain.ReloadTask.Reload(String fileName, TaskResult taskResult, String sectionAccessUserName, String sectionAccessPassword, eReloadOptions reloadOption, String variableName, String variableValue, Boolean moniterCpuUsage)
         --- End of inner exception stack trace ---
         at QDSMain.ReloadTask.Reload(String fileName, TaskResult taskResult, String sectionAccessUserName, String sectionAccessPassword, eReloadOptions reloadOption, String variableName, String variableValue, Boolean moniterCpuUsage)
         at QDSMain.DistributeTask.Execute(TaskResult currentTaskResult)
         --- End of inner exception stack trace ---
         at QDSMain.DistributeTask.Execute(TaskResult currentTaskResult)
         at QDSMain.Task.AbstractTask.TaskExecution(ILogBucket logBucket, TaskResult taskResult)
      19.04.2013 09:26:32.5398388    Error    Task failed with exception
      19.04.2013 09:26:32.5398388    Error    Exception=The currently executing operation was aborted.
      19.04.2013 09:26:32.7426440    Information    TaskResult.status=Finished
      19.04.2013 09:26:33.0234512    Information    Notifying all triggers of new state:FinishedWithErrors
      19.04.2013 09:26:33.0390516    Information    Notifying all triggers of new state:FinishedWithErrors - completed
      19.04.2013 09:26:33.0546520    Information    Reload was aborted.
      19.04.2013 09:26:33.0546520    Information    Saving Task Result 
      

       

      The last two Days it worked well and here is the log

       

      18.04.2013 03:26:57.7330092    Information    Starting task 'GasX_BR_MitGültigkeit.qvw'. Id:39823370-acf4-4225-b436-45f8865bd317. Triggered by 'TaskCompletedTrigger'. Id:7500c8d5-ccc6-4aae-ba26-ece70431d3fd
      18.04.2013 03:26:57.7330092    Information    Entering Task Execution. 
      18.04.2013 03:26:57.7330092    Information    ClusterID=1
      18.04.2013 03:26:57.7330092    Information    QDSID=3f7fce95-b3ed-a095-caf8-71aec7bfc684
      18.04.2013 03:26:57.7330092    Information    TaskID=39823370-acf4-4225-b436-45f8865bd317
      18.04.2013 03:26:57.7330092    Information    MaxRunTime=06:00:00
      18.04.2013 03:26:57.7330092    Information    MachineName=TGDEDTM01SV0131
      18.04.2013 03:26:57.7330092    Information    Max attempts:1
      18.04.2013 03:26:57.7330092    Information    Current Attempt=0
      18.04.2013 03:26:57.7330092    Information    Task Dependencies are OK
      18.04.2013 03:27:00.2134728    Information    Document is marked to be Reloaded with fresh data. Initializing Reload for Distribution.
      18.04.2013 03:27:00.2134728    Information    Opening "D:\Qlikview Development\3_Userdocuments\GasX_BR_MitGültigkeit.qvw"
      18.04.2013 03:27:00.2134728    Information    Allocating new QlikView Engine. Current usage count=0 of 2 (of type non-reader).
      18.04.2013 03:27:00.2134728    Information    Max retries:5
      18.04.2013 03:27:00.2134728    Information    Attempt:01
      18.04.2013 03:27:04.0667716    Information    Allocated QlikView Engine successfully. Current usage count=1 of 2 (of type non-reader). Ticket number=12.
      18.04.2013 03:27:04.0979724    Information    Loading document "D:\Qlikview Development\3_Userdocuments\GasX_BR_MitGültigkeit.qvw" (2769.55 Mb)
      18.04.2013 03:27:05.0807976    Information    Loading. LoadTime=00:00:01.0140260
      18.04.2013 03:27:05.6580124    Information    Physical FileSize=2769.55 Mb. Memory Allocation Delta for this file=12.32 Mb. Available Physical Memory Before Open=21218.77 Mb. Available Physical Memory After Open=21226.60 Mb. Total Physical Memory=36863.49 Mb.
      18.04.2013 03:27:05.6580124    Information    Attempted to load the document without data.
      18.04.2013 03:27:05.6580124    Information    The document was loaded successfully.
      18.04.2013 03:27:05.6580124    Information    Document was opened successfully
      18.04.2013 03:27:05.6580124    Information    Starting reload
      18.04.2013 03:27:05.6736128    Information    QlikView->Settings->Document Peferences->Generate Logfile in document is set. Enabling Log Copier.
      18.04.2013 03:27:05.6892132    Information    Waiting for the document log "D:\Qlikview Development\3_Userdocuments\GasX_BR_MitGültigkeit.qvw" to become available..
      18.04.2013 03:27:05.6892132    Information    The Source Document is being reloaded. DocumentPath=D:\Qlikview Development\3_Userdocuments\GasX_BR_MitGültigkeit.qvw
      18.04.2013 03:27:05.7516148    Information    Found a document log. FileName=D:\Qlikview Development\3_Userdocuments\GasX_BR_MitGültigkeit.qvw.log
      18.04.2013 03:27:05.7516148    Information    Writing documentLog to C:\ProgramData\QlikTech\DistributionService\1\Log\20130418\032657 - GasX_BR_MitGültigkeit.qvw\DocumentLog.txt
      18.04.2013 03:27:06.6876388    Information    Reloading.
      18.04.2013 03:27:07.7016648    Information    Reloading..
      18.04.2013 03:27:08.7156908    Information    Reloading...
      18.04.2013 03:27:09.7297168    Information    Reloading....
      18.04.2013 03:27:10.7437428    Information    Reloading.....
      18.04.2013 03:27:11.7577688    Information    Reloading......
      18.04.2013 03:27:12.7717948    Information    Reloading.......
      18.04.2013 03:27:13.7858208    Information    Reloading........
      18.04.2013 03:27:14.7998468    Information    Reloading.........
      18.04.2013 03:27:15.8138728    Information    Reloading..........
      18.04.2013 03:27:16.8278988    Information    Slow down logging. Log every <2> seconds.
      18.04.2013 03:27:16.8278988    Information    Reloading
      18.04.2013 03:27:18.8559508    Information    Reloading.
      18.04.2013 03:27:20.8840028    Information    Reloading..
      18.04.2013 03:27:22.9120548    Information    Reloading...
      18.04.2013 03:27:24.9401068    Information    Reloading....
      18.04.2013 03:27:26.9681588    Information    Reloading.....
      18.04.2013 03:27:28.9962108    Information    Reloading......
      18.04.2013 03:27:31.0242628    Information    Reloading.......
      18.04.2013 03:27:33.0523148    Information    Reloading........
      18.04.2013 03:27:35.0803668    Information    Reloading.........
      18.04.2013 03:27:37.1084188    Information    Reloading..........
      18.04.2013 03:27:39.1364708    Information    Slow down logging. Log every <10> seconds.
      18.04.2013 03:27:39.1364708    Information    Reloading
      18.04.2013 03:27:49.2767308    Information    Reloading.
      18.04.2013 03:27:59.4169908    Information    Reloading..
      18.04.2013 03:28:09.5572508    Information    Reloading...
      18.04.2013 03:28:19.6975108    Information    Reloading....
      18.04.2013 03:28:29.8377708    Information    Reloading.....
      18.04.2013 03:28:39.9780308    Information    Reloading......
      18.04.2013 03:28:50.1182908    Information    Reloading.......
      18.04.2013 03:29:00.2585508    Information    Reloading........
      18.04.2013 03:29:10.3988108    Information    Reloading.........
      18.04.2013 03:29:20.5390708    Information    Reloading..........
      18.04.2013 03:29:30.6793308    Information    Slow down logging. Log every <60> seconds.
      18.04.2013 03:29:30.6793308    Information    Reloading
      18.04.2013 03:30:31.5208908    Information    Reloading.
      18.04.2013 03:31:32.3624508    Information    Reloading..
      18.04.2013 03:32:33.2040108    Information    Reloading...
      18.04.2013 03:33:34.0455708    Information    Reloading....
      18.04.2013 03:34:34.8871308    Information    Reloading.....
      18.04.2013 03:35:35.7286908    Information    Reloading......
      18.04.2013 03:36:36.5702508    Information    Reloading.......
      18.04.2013 03:37:37.4118108    Information    Reloading........
      18.04.2013 03:38:38.2533708    Information    Reloading.........
      18.04.2013 03:39:39.0949308    Information    Reloading..........
      18.04.2013 03:40:39.9364908    Information    Slow down logging. Log every <300> seconds.
      18.04.2013 03:40:39.9364908    Information    Reloading
      18.04.2013 03:45:44.1442908    Information    Reloading.
      18.04.2013 03:50:48.3520908    Information    Reloading..
      18.04.2013 03:55:52.5754912    Information    Reloading...
      18.04.2013 04:00:56.7832912    Information    Reloading....
      18.04.2013 04:06:00.9910912    Information    Reloading.....
      18.04.2013 04:11:05.2300920    Information    Reloading......
      18.04.2013 04:16:09.4378920    Information    Reloading.......
      18.04.2013 04:21:13.7548948    Information    Reloading........
      18.04.2013 04:26:18.0718976    Information    Reloading.........
      18.04.2013 04:31:22.2796976    Information    Reloading..........
      18.04.2013 04:36:26.6435016    Information    Slow down logging. Log every <600> seconds.
      18.04.2013 04:36:26.6435016    Information    Reloading
      18.04.2013 04:46:35.8547220    Information    Reloading.
      18.04.2013 04:56:45.3623500    Information    Reloading..
      18.04.2013 05:06:53.8091508    Information    Reloading...
      18.04.2013 05:17:02.7239636    Information    Reloading....
      18.04.2013 05:27:11.1395636    Information    Reloading.....
      18.04.2013 05:37:19.8654106    Information    Reloading......
      18.04.2013 05:47:28.4481063    Information    Reloading.......
      18.04.2013 05:57:36.8801985    Information    Reloading........
      18.04.2013 06:07:45.2974939    Information    Reloading.........
      18.04.2013 06:07:47.2475439    Information    The Source Document reload complete. DocumentPath=D:\Qlikview Development\3_Userdocuments\GasX_BR_MitGültigkeit.qvw
      18.04.2013 06:07:47.5439515    Information    Memory Allocation Delta for this file=26323.67 Mb. Available Physical Memory Before Reload=21226.59 Mb. Available Physical Memory After Reload=11731.65 Mb. Total Physical Memory=11731.65 Mb.
      18.04.2013 06:07:48.8855859    Information    The Source Document was reloaded successfully.
      18.04.2013 06:07:49.0883911    Information    Reload finished successfully
      18.04.2013 06:07:49.0883911    Information    Start saving document
      18.04.2013 06:18:03.2137375    Information    Check in document: D:\Qlikview Development\3_Userdocuments\GasX_BR_MitGültigkeit.qvw
      18.04.2013 06:18:03.2761391    Information    Closing the document.
      18.04.2013 06:18:10.3275199    Information    Closed the QlikView Engine successfully. ProcessID=5032
      18.04.2013 06:18:10.3431203    Information    Start document distribution.
      18.04.2013 06:18:10.3431203    Information    Opening source document
      18.04.2013 06:18:10.3431203    Information    Opening document: "GasX_BR_MitGültigkeit.qvw"
      18.04.2013 06:18:10.3743211    Information    Allocating new QlikView Engine. Current usage count=0 of 2 (of type non-reader).
      18.04.2013 06:18:10.3743211    Information    Max retries:5
      18.04.2013 06:18:10.3743211    Information    Attempt:01
      18.04.2013 06:18:17.3945011    Information    Allocated QlikView Engine successfully. Current usage count=1 of 2 (of type non-reader). Ticket number=13.
      18.04.2013 06:18:17.3945011    Information    Loading document "D:\Qlikview Development\3_Userdocuments\GasX_BR_MitGültigkeit.qvw" (2772.15 Mb)
      18.04.2013 06:18:18.4085271    Information    Loading. LoadTime=00:00:01.0140260
      18.04.2013 06:18:20.4365791    Information    Loading. LoadTime=00:00:03.0420780
      18.04.2013 06:18:24.4926831    Information    Loading. LoadTime=00:00:07.0981820
      18.04.2013 06:18:32.6048911    Information    Loading. LoadTime=00:00:15.2103900
      18.04.2013 06:18:48.8293071    Information    Loading. LoadTime=00:00:31.4348060
      18.04.2013 06:19:21.2781391    Information    Loading. LoadTime=00:01:03.8836380
      18.04.2013 06:20:22.1196991    Information    Loading. LoadTime=00:02:04.7251980
      18.04.2013 06:21:08.2656823    Information    Physical FileSize=2772.15 Mb. Memory Allocation Delta for this file=18598.71 Mb. Available Physical Memory Before Open=35554.62 Mb. Available Physical Memory After Open=16924.13 Mb. Total Physical Memory=36863.49 Mb.
      18.04.2013 06:21:08.2812827    Information    Attempted to load the document with data.
      18.04.2013 06:21:08.2812827    Information    The document was loaded successfully.
      18.04.2013 06:21:09.9037243    Information    Reduce skipped, nothing is selected.
      18.04.2013 06:21:09.9037243    Information    Document was opened successfully
      18.04.2013 06:21:09.9193247    Information    Determined 0 static recipients spread over 0 Distribution Resources.
      18.04.2013 06:21:09.9973267    Information    No recipients found. Skipping distribution.
      18.04.2013 06:21:09.9973267    Information    Deleting temporary files.
      18.04.2013 06:21:10.0597283    Information    Closing the document.
      18.04.2013 06:21:11.4949651    Information    Closed the QlikView Engine successfully. ProcessID=4024
      18.04.2013 06:21:11.4949651    Information    Document distribution done.
      18.04.2013 06:21:11.5573667    Information    Task Execute Duration=02:54:13.8243575
      18.04.2013 06:21:11.5573667    Information    The task "GasX_BR_MitGültigkeit.qvw" finished successfully
      18.04.2013 06:21:11.5729671    Information    TaskResult.status=Finished
      18.04.2013 06:21:11.6197683    Information    Notifying all triggers of new state:Finished
      18.04.2013 06:21:11.6197683    Information    Notifying all triggers of new state:Finished - completed
      18.04.2013 06:21:11.6665695    Information    Saving Task Result
      
      

       

      What can the problem be?

       

      Thanks in Advance.

      Sravan

        • Re: Task fails one day and runs one day
          Sravan Puppala

          Hi Guys,

           

          Any idea? I installed the latest 11.2 SR1 server/Desktop client on the server but still it runs one day and other day not.

           

          This is the error which i get

          24.04.2013 09:27:13   Warning   The QlikView Engine is Reloading, it will be killed (Please ignore logged warnings/errors about the kill).

          24.04.2013 09:27:14   Error   The task "GasX/GasX_BR_MitGültigkeit.qvw" failed. Exception:

          QDSMain.Exceptions.DistributionFailedException: Distribute failed with errors to follow. ---> QDSMain.Exceptions.ReloadFailedException: Reload failed ---> System.Threading.ThreadAbortException: Thread was being aborted.

             at System.Threading.WaitHandle.WaitOneNative(SafeHandle waitableSafeHandle, UInt32 millisecondsTimeout, Boolean hasThreadAffinity, Boolean exitContext)

             at System.Threading.WaitHandle.InternalWaitOne(SafeHandle waitableSafeHandle, Int64 millisecondsTimeout, Boolean hasThreadAffinity, Boolean exitContext)

             at SolutionGlobal.ThreadPool.ThreadPoolJob.SafeWaitEvent(WaitHandle eventWaitHandle)

             at QDSMain.ReloadTask.Reload(String fileName, TaskResult taskResult, String sectionAccessUserName, String sectionAccessPassword, eReloadOptions reloadOption, String variableName, String variableValue, Boolean moniterCpuUsage)

             --- End of inner exception stack trace ---

             at QDSMain.ReloadTask.Reload(String fileName, TaskResult taskResult, String sectionAccessUserName, String sectionAccessPassword, eReloadOptions reloadOption, String variableName, String variableValue, Boolean moniterCpuUsage)

             at QDSMain.DistributeTask.Execute(TaskResult currentTaskResult)

             --- End of inner exception stack trace ---

             at QDSMain.DistributeTask.Execute(TaskResult currentTaskResult)

             at QDSMain.Task.AbstractTask.TaskExecution(ILogBucket logBucket, TaskResult taskResult)

          24.04.2013 09:27:14   Error   Task failed with exception

          24.04.2013 09:27:14   Error   Exception=The currently executing operation was aborted.

          • Re: Task fails one day and runs one day

            I've seen the same behaviour on a client system where multiple jobs start at the same time. There are random failures - jobs will run one day and not the next. Rerunning them manually always works. The only way I've found to eliminate this is to reduce the maximum number of QlikView engines available for distribution.

            • Re: Task fails one day and runs one day

              Please check performance on system.

              This can be done with setting up performance monitor.

              Also, you perhaps can get an idea from looking at the QlikView servers performance log, and check memory usage.

              Also check how many QlikView engines you allow

               

              Very much looks like you are running into performance issues.

                • Re: Task fails one day and runs one day
                  Jonathan Tago

                  i did check the performance and i didn't see any problems lots of memory cpu is low no process stuck....

                  important to mention that about a week ago the model was running fine every night

                   

                  i think the DB just disconnects for some reason but i cant get any log from the QV side or the DB side in order to prove that the DB is the problem

                • Re: Task fails one day and runs one day
                  Cesar Augusto Beristain Lopez

                  Hi Sravan:

                   

                  In my case, I solved it!, starting qv distribution services with an user with administrative privileges on the server, not on the domain.