• About Us
  • Blog
  • Basket
  • Account
  • Sign In
  •  

Forums

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 17 Aug 2015 11:09 AM by  Iftikhar Ahmed
(SOLVED) Very high usage of CPU and memory
 8 Replies
Sort:
Topic is locked
Author Messages

Thomas Trouillet



New Member


Posts:
New Member


--
10 Aug 2015 09:28 AM
    Hi, We enabled 51Degrees in our CMS (Kentico). When re-starting IIS on our server, the CPU and memory usage are very high (95%) and stay at that level. We noticed that when disabling the setting 'shareUsage' for 51Degrees, the website starts normally. Here a part of the log file: 2015-08-07T13:51:05.0348439Z - 3140 - Info - Creating provider from binary data file 'C:\inetpub\wwwroot\abc\App_Data\CMSModules\DeviceProfile\51Degrees.mobi.dat'. 2015-08-07T13:51:07.0118456Z - 3140 - Info - Creating provider from binary data file 'C:\inetpub\wwwroot\abc\App_Data\CMSModules\DeviceProfile\51Degrees.mobi.dat'. 2015-08-07T13:51:07.6878449Z - 3140 - Info - Creating provider from binary data file 'C:\inetpub\wwwroot\abc\App_Data\CMSModules\DeviceProfile\51Degrees.mobi.dat'. 2015-08-07T13:51:26.5818425Z - 3140 - Info - Created provider from binary data file 'C:\inetpub\wwwroot\abc\App_Data\CMSModules\DeviceProfile\51Degrees.mobi.dat'. 2015-08-07T13:51:29.3638429Z - 3140 - Info - Created provider from binary data file 'C:\inetpub\wwwroot\abc\App_Data\CMSModules\DeviceProfile\51Degrees.mobi.dat'. 2015-08-07T13:51:32.9828427Z - 3140 - Info - Created provider from binary data file 'C:\inetpub\wwwroot\abc\App_Data\CMSModules\DeviceProfile\51Degrees.mobi.dat'. 2015-08-07T13:51:45.3876792Z - 3140 - Info - Created provider from embedded device data 'FiftyOne.Foundation.Mobile.Detection.Binary.Resources.51Degrees.mobi-Lite.dat'. 2015-08-07T13:51:50.1325892Z - 3140 - Info - Created provider from embedded device data 'FiftyOne.Foundation.Mobile.Detection.Binary.Resources.51Degrees.mobi-Lite.dat'. 2015-08-07T13:51:51.2105682Z - 3140 - Info - Created provider from embedded device data 'FiftyOne.Foundation.Mobile.Detection.Binary.Resources.51Degrees.mobi-Lite.dat'. 2015-08-07T13:52:30.5834881Z - 3140 - Info - Creating provider from binary data file 'C:\inetpub\wwwroot\abc\App_Data\CMSModules\DeviceProfile\51Degrees.mobi.dat'. 2015-08-07T13:52:58.0306374Z - 3140 - Info - Created provider from binary data file 'C:\inetpub\wwwroot\abc\App_Data\CMSModules\DeviceProfile\51Degrees.mobi.dat'. 2015-08-07T13:52:41.0689444Z - 3140 - Info - Creating provider from binary data file 'C:\inetpub\wwwroot\abc\App_Data\CMSModules\DeviceProfile\51Degrees.mobi.dat'. 2015-08-07T13:53:10.7117191Z - 3140 - Info - Created provider from binary data file 'C:\inetpub\wwwroot\abc\App_Data\CMSModules\DeviceProfile\51Degrees.mobi.dat'. 2015-08-07T13:53:20.7687840Z - 3140 - Info - Creating provider from binary data file 'C:\inetpub\wwwroot\abc\App_Data\CMSModules\DeviceProfile\51Degrees.mobi.dat'. 2015-08-07T13:53:25.9858153Z - 3140 - Info - Creating provider from binary data file 'C:\inetpub\wwwroot\abc\App_Data\CMSModules\DeviceProfile\51Degrees.mobi.dat'. 2015-08-07T13:53:38.7578966Z - 3140 - Info - Creating provider from binary data file 'C:\inetpub\wwwroot\abc\App_Data\CMSModules\DeviceProfile\51Degrees.mobi.dat' Could you let us know what to do to fix it? Thanks in advance.
    0

    Mike



    Basic Member


    Posts:147
    Basic Member


    --
    10 Aug 2015 01:34 PM
    Hi Thomas, Thank you for contacting 51Degrees. We are now looking into this issue and will respond as soon as we have an update. Kind Regards, Mike
    0

    Iftikhar Ahmed



    New Member


    Posts:
    New Member


    --
    12 Aug 2015 09:30 AM
    Hi Thomas, Seems like you are using the V2 of the API. Can you let me know the exact version of the API, the date stamp of the data file and when this issue started. I'm not sure why the ShareUsage would cause this problem. Regards Iftikhar
    0

    Thomas Trouillet



    New Member


    Posts:
    New Member


    --
    14 Aug 2015 12:13 PM
    Hi, the version is 2.1.19.4. We are using via our CMS, Kentico, version 7.0.63. We get this problem since we activated it, 3 months ago. The only fixes I found till now is to disable the 'shareUsage' or rename the file '51Degrees.mobi.dat' so that it cannot be found. Best, Thomas
    0

    Iftikhar Ahmed



    New Member


    Posts:
    New Member


    --
    14 Aug 2015 01:06 PM
    Hi Thomas, Our Version 2 API has now been superseded by V3 API. V2 API is now out-of-support. We do not have any plan to update Kentico as yet. Depending on your requirements, we can update Kentico much sooner. You can upgrade to V3 API outside of Kentico. Please contact our Sales team if you require a Premium or Enterprise Licence. You can continue to use current API without "ShareUsage" enabled. Hope this helps, let me know if your require more details. Regards Iftikhar
    0

    Thomas Trouillet



    New Member


    Posts:
    New Member


    --
    17 Aug 2015 08:10 AM
    Hi, thanks for the feedback. This is quite unfortunate... - What would be the steps to install V3 outside of Kentico? - What about the licence for 51 Degrees we entered in Kentico? - What does the file '51Degrees.mobi.dat' do exactly? - Can I delete it? Thanks in advance.
    0

    Iftikhar Ahmed



    New Member


    Posts:
    New Member


    --
    17 Aug 2015 08:21 AM
    Hi Thomas, Can you email the license key to support@51degrees.com and I'll review that. Please don't attach the key to this post. The 51Degrees.mobi.dat is required by the detection algorithm and cannot be deleted. Regards Iftikhar
    0

    Thomas Trouillet



    New Member


    Posts:
    New Member


    --
    17 Aug 2015 08:46 AM
    Hi, I just sent the mail with the license key. Regarding the .dat file: until I renamed it, CPU and memory usage were always around 95%; after renaming it, the test environment (website and server itself) work fine and mobile detection seems to be working smoothly (at least on IPhone). Could you explain more what happend/happens with that file? What about the steps of installing V3 outside of Kentico?
    0

    Iftikhar Ahmed



    New Member


    Posts:
    New Member


    --
    17 Aug 2015 11:09 AM
    Hi Thomas, 51Degrees Version 3 API is available on Kentico 8.1 and higher. Please see release note Release notes - Kentico 8.1 Regarding the renaming of the data file, the API will use embedded Lite data if it can't find the file. The API will work but you won't get any premium properties. I feel your options are; [list=1]Upgrade to Kentico 8.1 or higher Remain on Kentico 7.0 and switch off ShareUsage Manually update the 51Degrees DLL to version 3 and update all the configuration [/list] For the last point, I don't know how Kentico will handle this change and where it will break. Hope this helps. Regards Iftikhar
    0
    Topic is locked