Qlik Community

Ask a Question

QlikView Administration

Discussion Board for collaboration on QlikView Management.

Announcements
Become an analytics expert with Qlik's new 15 week course: Applied Data Analytics using Qlik Sense. READ MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
bhelms
Creator
Creator

QVB Process Hanging

We are having a problem with our reloads never completing. They just hang. We currently are allowing 6 reloads at one time. This problem seems to occur when more than 6 reloads are kicked off by publisher. Today we had 12 jobs running at one time. 6 should be running, and 6 should be waiting. The problem I am seeing however, is that only one of the jobs is actually running, but the server has 8 QVB.exe processes, all but one of them stuck (RAM never moving). I then have to kill all of the QVB processes, restart the QDS, and then kick off all of the jobs again. The other strange part is then I kick off all of the failed jobs (at this point was 17), and they all run fine. 6 run, the rest wait. It runs like it should. But I am having this problem every morning when the publisher starts the jobs. Anyone seen this before? We are on QV 11.20.12235.0.

13 Replies
markodonovan
Specialist
Specialist

Hi Brian,

I am very interested to find out if you errors have gone.

I will be ftping various log files to qlik support today for them to look into the problem.

Mark

Our SharedSection=1024,20480,768 and our max qv engines is set to 4.

Below is the error we are getting in the application eventlog:

Failed to create QlikView Engine.. Exception=System.Runtime.InteropServices.COMException (0x800706BE): Creating an instance of the COM component with CLSID {BE1F19B5-415E-11D1-934D-0040333C91CC} from the IClassFactory failed due to the following error: 800706be The remote procedure call failed. (Exception from HRESULT: 0x800706BE).

   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)

   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)

   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)

   at System.Activator.CreateInstance(Type type, Boolean nonPublic)

   at System.Activator.CreateInstance(Type type)

   at QVBWrapper.Document.CreateQVBProcess(ILogBucket logBucket, Boolean createEmptyDoc)

markodonovan
Specialist
Specialist

Hi all,

FYI

we have changed the following registry key :

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\SubSystems\Windows

to:

%SystemRoot%\system32\csrss.exe ObjectDirectory=\Windows SharedSection=1024,20480,2048 Windows=On SubSystemType=Windows ServerDll=basesrv,1 ServerDll=winsrv:UserServerDllInitialization,3 ServerDll=winsrv:ConServerDllInitialization,2 ServerDll=sxssrv,4 ProfileControl=Off MaxRequestThreads=16

and restarted our server that is running the distribution service only.

I'll let you know tomorrow if this has sorted our problem.

Thanks

Mark

www.techstuffybooks.com

markodonovan
Specialist
Specialist

Hi all,

The following registry change seems to have fixed our problem:

The key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\SubSystems\Windows

Changing :

SharedSection=1024,20480,768

to:

SharedSection=1024,20480,2048

Thanks

Mark

Practical QlikView Training Course on YOUTUBE - 49 Videos

bhelms
Creator
Creator
Author

Thank you for continuing to let us know your progress. We also made the same change a few days ago and haven't had a single errror since. Seems that this resolved our problem as well.