RTC-SCM-CLI: lscm.bat launches second instance of scm.exe in case of error
![]()
Karthikeyan Baskaran (45●8●13)
| asked Oct 14 '13, 1:58 a.m.
retagged Dec 16 '13, 3:55 p.m. by David Lafreniere (4.8k●7)
I'm using RTC CLI tool from the package: RTC-scmTools-Win-4.0.3
I executed below steps: 1. Opened command prompt and executed "help" command using lscm.bat
3. In the same command prompt,executed "login" command using lscm.bat (As I've not logged in before, I thought that was the reason why the previous "load" command failed)
4. When I executed "load" command again, it was successful this time. But I think this command was executed by the second instance of scm.exe and the first instance of scm.exe is sitting there idle. (But I'm not sure)
In step-3, why another instance of scm.exe is started in case of the "load" command failure ? It affects the performance, as the user has to bear with the start up time of second instance of scm.exe and also more resource consumption as the first instance of scm.exe is still running in task manager. Also, I'm not sure whether this behavior happens every time an error occurs in CLI. Could you please clarify ? Thanks in advance. |
Accepted answer
One other answer
![]()
Shashikant Padur (4.2k●2●7)
| answered Oct 29 '13, 5:47 a.m.
JAZZ DEVELOPER edited Oct 29 '13, 5:48 a.m.
You can shutdown the daemon by running the 'scm daemon stop' command.
You can register the sandbox to a daemon by running the 'scm daemon register'. If you register more than one sandbox to a daemon, the daemon memory bloats up as it has to manage metadata of two sandboxes.
Is there an issue with running multiple daemons? What is the reason you want multiple sandboxes per daemon?
|
Comments
Additional Info:
Closing the command prompt automatically closes both instances of scm.exe's