6 Replies Latest reply on Mar 28, 2017 1:41 PM by msbertrand

    FM Server 15 on WIN using 100% of CPU

    msbertrand

      Good day,

       

      Overnight, without any changes FM Server started to use 100% of CPU on a windows machine.  Rebooted numerous time, re-installed FM Server, can't figure it out.

       

      Any idea?  Appreciated

        • 1. Re: FM Server 15 on WIN using 100% of CPU
          taylorsharpe

          Are there any schedule scripts running or a bunch of PSoS?  Is it running a backup?  Is this 100% of all cpu time or 100% of an individual cpu?  What plugins do you have?  Did you look at the stats page on the admin console?  Is the log file throwing anything up in the admin console?

          • 2. Re: FM Server 15 on WIN using 100% of CPU
            msbertrand

            Some updates;

             

            - Server is running numerous scripts - 3 on a 5 mins frequency

            - Server uses one plug-in - CNS BarCode, and requires server level script (included above)

            - PSoS - Don't believe so, please could you explain?

              - OS is Windows Server 2012 R2 - Intel Xeon X5650 @ 2.67 GHz - Ram 16 GB, 64 BIT

              - Virtual Server dedicated to FM

              - No WebDirect or PHP

              - 20 users

              - Log show a script 'stoped abnormally' (basic query, than update data using local and global variables

            - No backup running (reduced to 1 daily)

            - No progressive backup running

            - ODBC also used (until full deployment) connecting to SQL and uploading data into FM via Server script

            - 2 near identical configuration

             

            Scripts that appear to cause this issue are attached, standard (of mine) - It appears DSL  - 2 started this issue, but unsure yet.

             

            Tks much  ... ps can't attached on replies?

            • 3. Re: FM Server 15 on WIN using 100% of CPU
              wimdecorte

              Did you have the FMS top call stats log enabled?  If not, enable it (it turns itself off on each reboot, so make sure to revisit).

              Also toggle on the regular FMS stats log (it's off by default, once toggled on it remains on).

               

              Those will tell you a bit better what is going on than the Windows task manager.  If they were off then there's nothing much you can do.  You'll have better info next time.

               

              Also look in the FMS logs folder to see if any DMP files are there.  And if there is one created that night.  If there are then those indicate that FMS hit an internal exception.  You may want to open a support ticket with FMI on that.

              • 4. Re: FM Server 15 on WIN using 100% of CPU
                msbertrand

                I would assume there is no way to restart the FM Service without affecting clients...

                 

                Yes, there are DMP logs... and one for last night.   I will ticket this, appreciated.

                • 5. Re: FM Server 15 on WIN using 100% of CPU
                  wimdecorte

                  msbertrand wrote:

                   

                  I would assume there is no way to restart the FM Service without affecting clients...

                   

                  Didn't mean to imply that you would have to restart FMS to get the logs going.  You can toggle those on without restarting FMS.  Go to the 'logging' tab in the FMS admin console and enable all logs.  The bottom two (top call stats and client stats) will automatically be turned off the next time you restart FMS so you will have to remember to turn them on again.

                  • 6. Re: FM Server 15 on WIN using 100% of CPU
                    msbertrand

                    No... just want to resume the server to a more stable state, it's just plain slow... Reboot is planned for later.