This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

uVision Will Not Allow Me To Check Out FlexLM License

Hello all,

I'm having an issue that is causing us headaches when compiling using the MDK-ARM Standard version. We have a FlexLM license setup and it works - we can compile. However, it takes us roughly 7 minutes to compile (our development is in the USA and the license server is in Europe) our project.

When we check out a license, it takes roughly 20 seconds to compile. We have been able to check out licenses in the past but today, when we go to License Management, the Check Out button is disabled (grayed out).

Needless to say, this is extremely annoying an inefficient. No one has restricted this on the FlexLM server instance so the question is: what happened and how can we check out a license again?

Thanks!

  • Contact Keil Support, this is not Keil support, they claim not to read it...

  • Was hoping someone else ran into the same problem before but thanks anyways.

  • Ok, but it's hard to deduce the topology of your network, or if you have firewall, NAT or VPN issues. I presume you don't have the server directly on the public internet. Last time I did this with RealView and FlexLM, my European colleagues would VPN/VNC into a machine on the same subnet as the licence server in the USA.

    Can you ping the licence server? Can machines local to it check out licences?

    Most anyone using floating licence servers runs into situations where things get all jacked up.

    If you've ruled out basic network issues, your best route is to discuss specific licence issues is with Keil Support.

  • I have the same issue, and have worked in detail with Keil Support, but we got nowhere.
    Even with a sub 1 ms latency network (PC->1Gbe Switch->10Gbe Switch->Server), you can be hit with large delays in checkout of flex token.

    License checkout with FlexLM 2 to 60 times slower than node locked per compilation unit (i.e. .c file) (Node lock is under 80ms every time, flex is 0.210 to 3.0 seconds with no apparent reason)

    Even if you check out the token onto your PC (reserve the token till midnight), it still takes a long time.

    Things that I have done which appear to help:

    On the windows client box:
    ipconfig /flushdns

    The following appeared to make no difference:
    no LM_LICENSE_FILE variable

    armlmd options on license server:
    FQDN lenient
    LINGER 2

    Setting TCP_NODELAY=1 before launching lmgrd on license server

    If you want to open a support ticket, please reference case 605670, I have even included wireshark tracing for Arm on this issue.

    -Steve