Summary
There is an issue where using the LM_A_LINGER attribute on the client side, combined with the TIMEOUT/TIMEOUTALL option in the OPTIONS file on the server side, causes the Vendor Daemon to crash when the server reclaims the license due to the client's inactivity. This issue affects producers using FlexNet Publisher versions 11.19.4.1 up to 11.19.6.0. The article below provides details about the known issue and the available resolution.
Symptoms
End users may experience frequent license server crashes and attempts to restart if the vendor daemon is configured with the TIMEOUT/TIMEOUTALL option in the OPTIONS file and the client uses the LM_A_LINGER attribute to create a client-side linger.
Steps to Reproduce
The issue can be observed by following the steps below:
1. Update the value ls_minimum_user_timeout to 90 in lsvendor.c file and build the kit.
2. Create an options file and add TIMEOUTALL=130.
3. Start the server with below license file:
SERVER this_host ANY
VENDOR <vendor>
USE_SERVER
#a counted license
FEATURE f1 <vendor>1.0 permanent 4 SIGN="CCCCCC"
4. Edit the default lmflex.c file shared in the kit with the below config to create 3 different client applications:
#Client 1:
(void)lc_set_attr(lm_job, LM_A_LINGER, (LM_A_VAL_TYPE)700);
lc_set_attr(lm_job, LM_A_CHECK_INTERVAL, (LM_A_VAL_TYPE) -1);
lc_set_attr(lm_job, LM_A_RETRY_INTERVAL, (LM_A_VAL_TYPE) -1);
lc_set_attr(lm_job, LM_A_RETRY_COUNT, (LM_A_VAL_TYPE) -1);
#Client 2:
(void)lc_set_attr(lm_job, LM_A_LINGER, (LM_A_VAL_TYPE)600);
lc_set_attr(lm_job, LM_A_CHECK_INTERVAL, (LM_A_VAL_TYPE) -1);
lc_set_attr(lm_job, LM_A_RETRY_INTERVAL, (LM_A_VAL_TYPE) -1);
lc_set_attr(lm_job, LM_A_RETRY_COUNT, (LM_A_VAL_TYPE) -1);
#Client 3:
lc_set_attr(lm_job, LM_A_CHECK_INTERVAL, (LM_A_VAL_TYPE) -1);
lc_set_attr(lm_job, LM_A_RETRY_INTERVAL, (LM_A_VAL_TYPE) -1);
lc_set_attr(lm_job, LM_A_RETRY_COUNT, (LM_A_VAL_TYPE) -1);
#...(Other code here)...
sleep(150);
getchar();
lc_checkin(lm_job, feature, 0);
5. When the clients are created, run the clients in the following order a -> b -> c and maintain a 1-minute gap between each client checkout.
6. A crash will occur when the server reclaims the license due to client inactivity:
21:52:58 (YYYY) OUT: "f1" zzzz@aaaa
21:53:34 (YYYY) OUT: "f1" zzzz@aaaa
21:53:54 (YYYY) OUT: "f1" zzzz@aaaa
21:56:58 (YYYY) IN: "f1" zzzz@aaaa (INACTIVE)
21:56:58 (lmgrd) YYYY exited with status 5 signal = bbbb
21:56:58 (lmgrd) Since this is an unknown status, license server
21:56:58 (lmgrd) manager (lmgrd) will attempt to re-start the vendor daemon.
21:56:58 (lmgrd) REStarted YYYY (pid XXXX)
21:56:58 (YYYY) FlexNet Licensing version v11.19.6.0 x64_n6
Fix Version and Resolution
A fix for this issue is available as a hotfix in FlexNet Publisher 11.19.6.1. If the issue is being observed, please contact Revenera Technical Support for assistance with accessing the hotfix. The fix will be incorporated in the FlexNet Publisher 2024 R2 (11.19.7.0) GA release targeted for December 2024.
Related Articles
How Can I Access The License File Location Passed To The Vendor Daemon From The Vendor Daemon Code? 8Number of Views How to Fetch Vendor Daemon Attributes at Client End? 7Number of Views Vendor Daemon Died with Status 1 11Number of Views Error: -97,121 - LM_VENDOR_DOWN - "The desired vendor daemon is down" 22Number of Views Building a Common Vendor Daemon with a TRL Vendor Key for Primary Daemon and non-TRL Vendor Keys for Secondary Daemons 14Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago