23 Replies Latest reply: May 7, 2015 6:36 AM by Magnus Lovsten RSS

    QMC Frozen

    Manish Madan

      Hi All,

       

      Facing an issue where i could not see any task running in QMC and for all the tasks status is waiting and last exeecution is coming as never. buti am trying to run manually as well it is not running.

       

      Would need some help to track what went wrong and how we can fix it.

       

      Thanks

      Manish M

        • Re: QMC Frozen
          Amit Saini

          Manish,

           

          Check your all service , should be running.If not please restart your all services and check.

           

          Thanks,
          AS

          • Re: QMC Frozen
            Joseph Simmons

            Hi Manish,

             

            did this suddenly just all stop one day? If so maybe have a look at your license keys, could have reached expire date and need to renew

             

            Joe

            • Re: QMC Frozen
              Simone Spanio

              Hi,

              which kind of schedule did you set for the documents?

              Can you paste a screenshot of QMC --> Documents --> (select one document) --> right panel?

               

              S.

                • Re: QMC Frozen
                  Manish Madan

                  Hi Simone,

                   

                  Issue is for all Task irrespective of scheduled or not Scheduled.

                  If i want to run a task manully(QMC) even then not working.

                   

                  Thanks

                  Manish

                    • Re: QMC Frozen
                      Manish Madan

                      when ever i am running the task in distribution logs getting:

                      ErrorCould not start task; Task not found. TaskID=7f94fa5f-b6af-48e6-86b3-17c6c4904f3a

                       

                      Thanks

                      M

                        • Re: QMC Frozen
                          Manish Madan

                          i am able to track the last log of Managment Services:

                          5/4/2015  11:24:27.1469225                                                                    ErrorRequest failed (Alternate get): System.Net.HttpListenerException (0x80004005): The specified network name is no longer available   at System.Net.HttpResponseStream.Write(Byte[] buffer, Int32 offset, Int32 size)   at QMS.BackstageWebServer.RespondFileContent(String filename, HttpListenerResponse response, HttpListenerContext context, Boolean isDocumentAdmin)   at QMS.BackstageWebServer.HandleAlternateGet(HttpListenerContext context, Boolean isDocumentAdmin)
                          5/4/2015 11:24:27.1469225                                                            ErrorFailed to send response: This operation cannot be performed after the response has been submitted.
                          5/4/2015 11:24:27.1469225InformationResponse aborted

                           

                          Right after this time we are facing this issue, now want to undertsand why is it and what is the resolution.

                    • Re: QMC Frozen
                      Petter Skjolden

                      Just a theory...:

                       

                      Your QVPR-database might be corrupt. The QVPR is the Task Repository. It has been a few issues with QVPR turning corrupt through different Service Releases of QlikView.

                       

                      The location of the QVPR "database" - just a collection of XML-files is here in a default installation:

                       

                      C:\ProgramData\QlikTech\ManagementService\QVPR\

                       

                      in the:

                       

                      C:\ProgramData\QlikTech\ManagementService\QVPR\Backups\

                       

                      There are actually fully zipped backups - automatically created in the background for each day that might help you recover to a previously consistent QVPR...

                       

                      But be sure that you know what you are doing before you start messing with these files.

                      • Re: QMC Frozen
                        Simson Devadoss Anbalagan

                        Change the chunk size to "20". After changing it restart all the services.



                        ChunkSize can be found in the QV Management Service Config file:

                         

                        C:\Program Files\QlikView\Management Service\QVManagementService.exe.config

                         

                            <add key="QMSChunkSize" value="100"/>

                         

                         

                        Regards,

                        Simson

                          • Re: QMC Frozen
                            Manish Madan

                            Hi Simon,

                             

                            ok, as this change has to happen on Production server. could you please let me know what would be impact of change in chunk size as i need to get multiple approval to make this change.

                             

                            Thanks

                            Manish Madan

                              • Re: QMC Frozen
                                Simson Devadoss Anbalagan

                                There wont be any impact in the server. This happens because if there are more tasks are added into QMC .

                                By reducing the chunk-size, issue will be resolved

                                • Re: QMC Frozen
                                  Simone Spanio

                                  ChunkSize might improve qvds performances.

                                  Some version of QlikView Server had some issues with the chunk size being set high, so the solution was to lower it.

                                  But I don't know if this will solve your problem.


                                  QVDS performance and QMSChunkSize

                                   

                                  S.

                                    • Re: QMC Frozen
                                      Magnus Lovsten

                                      The only time the ChunkSize is used is if the workorder is out of sync between the Management Service (QMS) and the Distribution service (QDS). At this point all task information will be sent from QMS to QDS. ChunkSize determines how many tasks should be sent in each message.

                                      This means in a stable enviroment ChunkSize is not in use and will not impact performance.

                                       

                                      Please note that we recently did some major fine tuning of this sync which was released in 11.20 SR11 (also patches are available on some earlier SR's). This has proven very useful in clustered QDS enviroments with many tasks.

                                  • Re: QMC Frozen
                                    Manish Madan

                                    Thanks Simone, it worked

                                     

                                    Thanks Magnus for the detailed explanation

                                     

                                    Simone, Magnus

                                    Now the only question answer which we need to look for is under what circumstance QMS and QDS are out of Sync so that we can avoid such kind of issue in future as well.

                                     

                                     

                                    Thanks again for your help.