Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

since upgrading to version 11 and after applying SR2 we have intermittment reload failures. Jobs fail because document does not reload successfully. But if restarted it works ok. Is there some set up incorrect that we need to change on V11?

we load c 20 jobs every night and since going to V11 we have had at least one job fail most nights. It is different jobs and different times but generally the same error. Example below. If the job is re-started, even immediately afterwards it runs OK.

Getting to be a nuisance as the purpose of the loads is to get an upto date set of data for start of business every morning and if somebody doesnt nurse the jobs through late evening/early morning we do not achieve this.

Is there something wrong with our set up?






 

Data
  Sources/VE_Production_consumption.qvw


 

 

Select Log:


 

(2012-11-18 21:10:07) Information:
  Starting task 'Data Sources/VE_Production_consumption.qvw'.
  Id:e2bf7595-ffe1-4ce4-9f64-1104ffd9d80c. Triggered by 'TaskCompletedTrigger'.
  Id:3d68a2e0-73a4-4487-84ca-1efb5a0a4497


 

(2012-11-18 21:10:07) Information:  Entering Task Execution.  

(2012-11-18 21:10:07) Information:  ClusterID=2 

(2012-11-18 21:10:07) Information:  QDSID=4953f2c9-2c6b-80c4-d36a-0564b2d62473


 

(2012-11-18 21:10:07) Information:
  TaskID=e2bf7595-ffe1-4ce4-9f64-1104ffd9d80c


 

(2012-11-18 21:10:07) Information:
  MaxRunTime=06:00:00


 

(2012-11-18 21:10:07) Information:
  MachineName=QLIK


 

(2012-11-18 21:10:07) Information: Max
  attempts:1


 

(2012-11-18 21:10:07) Information:
  Current Attempt=0


 

(2012-11-18 21:10:07) Information:
  Task Dependencies are OK


 

(2012-11-18 21:10:07) Information:
  Document is marked to be Reloaded with fresh data. Initializing Reload for
  Distribution.


 

(2012-11-18 21:10:07) Information:
  Opening "C:\CLIK\DATASOURCES\VE_Production_consumption.qvw"


 

(2012-11-18 21:10:07) Information:
  Allocating new QlikView Engine. Current usage count=0 of 2 (of type
  non-reader).


 

(2012-11-18 21:10:07) Information: Max
  retries:5


 

(2012-11-18 21:10:07) Information: Attempt:01


 

(2012-11-18 21:10:08) Information:
  Allocated QlikView Engine successfully. Current usage count=1 of 2 (of type
  non-reader). Ticket number=175.

 

(2012-11-18 21:10:08) Information:
  Loading document "C:\CLIK\DATASOURCES\VE_Production_consumption.qvw"
  (0.14 Mb)


 

(2012-11-18 21:10:08) Information:
  Physical FileSize=0.14 Mb. Memory Allocation Delta for this file=2.46 Mb.
  Available Physical Memory Before Open=29105.43 Mb. Available Physical Memory
  After Open=29103.72 Mb. Total Physical Memory=31998.60 Mb.


 

(2012-11-18 21:10:08) Information:
  Attempted to load the document without data.


 

(2012-11-18 21:10:08) Information: The
  document was loaded successfully.


 

(2012-11-18 21:10:08) Information:
  Document was opened successfully


 

(2012-11-18 21:10:08) Information:
  Starting reload


 

(2012-11-18 21:10:08) Information:
  QlikView->Settings->Document Peferences->Generate Logfile in
  document is set. Enabling Log Copier.


 

(2012-11-18 21:10:08) Information:
  Waiting for the document log "C:\CLIK\DATASOURCES\VE_Production_consumption.qvw"
  to become available..


 

(2012-11-18 21:10:08) Information: The
  Source Document is being reloaded.
  DocumentPath=C:\CLIK\DATASOURCES\VE_Production_consumption.qvw


 

(2012-11-18 21:10:08) Information:
  Found a document log. FileName=C:\CLIK\DATASOURCES\VE_Production_consumption.qvw.log


 

(2012-11-18 21:10:08) Information:
  Writing documentLog to
  C:\ProgramData\QlikTech\DistributionService\2\Log\20121118\211007 - Data
  Sources_VE_Production_consumption.qvw\DocumentLog.txt


 

(2012-11-18 21:10:09) Information: The
  Source Document reload complete.
  DocumentPath=C:\CLIK\DATASOURCES\VE_Production_consumption.qvw


 

(2012-11-18 21:10:09) Information:
  Memory Allocation Delta for this file=2.52 Mb. Available Physical Memory
  Before Reload=29103.68 Mb. Available Physical Memory After Reload=29134.39
  Mb. Total Physical Memory=29134.39 Mb.


 

(2012-11-18 21:10:09) Error: The
  Source Document was NOT reloaded successfully.
  DocumentPath=C:\CLIK\DATASOURCES\VE_Production_consumption.qvw.


 

(2012-11-18 21:10:09) Information:
  Reloading.


 

(2012-11-18 21:10:11) Information:
  Closing the document.


 

(2012-11-18 21:10:11) Information:
  Closed the QlikView Engine successfully. ProcessID=3048


 

(2012-11-18 21:10:11) Error: The task
  "Data Sources/VE_Production_consumption.qvw" failed. Exception:


 

(2012-11-18 21:10:11) Error:
  QDSMain.Exceptions.DistributionFailedException: Distribute failed with errors
  to follow. ---> QDSMain.Exceptions.ReloadFailedException: Reload failed
  ---> QDSMain.Exceptions.ThreadPoolJobStillRunningException: Aborting
  reload. Error: QDSMain.TaskResult


 

(2012-11-18 21:10:11) Error: at
  QDSMain.ReloadTask.Reload(String fileName, TaskResult taskResult, String
  sectionAccessUserName, String sectionAccessPassword, eReloadOptions
  reloadOption, String variableName, String variableValue, Boolean
  moniterCpuUsage)


 

(2012-11-18 21:10:11) Error: --- End
  of inner exception stack trace ---


 

(2012-11-18 21:10:11) Error: at
  QDSMain.ReloadTask.Reload(String fileName, TaskResult taskResult, String
  sectionAccessUserName, String sectionAccessPassword, eReloadOptions
  reloadOption, String variableName, String variableValue, Boolean
  moniterCpuUsage)


 

(2012-11-18 21:10:11) Error: at
  QDSMain.DistributeTask.Execute(TaskResult currentTaskResult)


 

(2012-11-18 21:10:11) Error: --- End
  of inner exception stack trace ---


 

(2012-11-18 21:10:11) Error: at
  QDSMain.DistributeTask.Execute(TaskResult currentTaskResult)


 

(2012-11-18 21:10:11) Error: at
  QDSMain.Task.AbstractTask.TaskExecution(ILogBucket logBucket, TaskResult
  taskResult)


 

(2012-11-18 21:10:11) Information:
  Task Execute Duration=00:00:03.8593009


 

(2012-11-18 21:10:11) Information:
  Sending Alert mail


 

(2012-11-18 21:10:12) Information:
  TaskResult.status=Finished


 

(2012-11-18 21:10:12) Information:
  Notifying all triggers of new state:FinishedWithErrors


 

(2012-11-18 21:10:12) Information:
  Notifying all triggers of new state:FinishedWithErrors - completed


 

(2012-11-18 21:10:12) Information:
  Saving Task Result


 
7 Replies
jarno_loubser
Partner - Creator
Partner - Creator

We have the same intermittent issue. Different jobs fail on different nights, but run through when re-initiated? Any idees anyone?

fosuzuki
Partner - Specialist III
Partner - Specialist III

It seems that there was an error in the document reload. You will probably have more information on the error if you check the last few lines from the document log available in

C:\ProgramData\QlikTech\DistributionService\2\Log\20121118\211007 - Data

  Sources_VE_Production_consumption.qvw\DocumentLog.txt

Not applicable
Author

Our problem has gone away since we stopped the anti virus sofware package TREND running on the QV server during the perios we are running uploads

Not applicable
Author

This didnt help as the jobs that failed to start didnt write a log and this that failed when trying to reload also didnt write any reason when trying to reload after job finished.

We had several days of QV support company working on this to help us get it resolved.

We moved file server and stopped the antivirus TREND running when we are running re-load schedules. Since stopping TREND we have had 1 failure in 8 weeks since we did this.

fosuzuki
Partner - Specialist III
Partner - Specialist III

I already faced a similar task error and found that the problem was the qvw trying to store a qvd which was being loaded by another task.

Not applicable
Author

Our jobs are on a schedule that ensures no sharing of files occurred. They were also timed so that there are never more than 2 running at any one time.

The issue appears to be TREND antivirus software that seems to cause issues with QV 11

fosuzuki
Partner - Specialist III
Partner - Specialist III

I guess we can say that the problem is the same: file locking. Maybe the ativirus was locking the qvds or qvws at the moment that your tasks were trying to update them...