-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Message Zowe Daemon in use #1451
Comments
Now, I am not an expert in the use of the daemon, but I might have an idea about why you might experience this output. The extra lines you are experiencing "The Zowe daemon is in use ...". If you have only one "executer"(one account with only one daemon) and want to run several commands simultaneously, you are probably going to cause a bottleneck. If the commands you are trying to execute simultaneously are NOT depending on the output of eachother.
Once again - I am not an expert, I did not develop it and people are more than welcome to correct me if I am wrong :) |
I've already made string maniuplations to having a correct JSON Output in my scripts but now I don't know if it's possible to have multiple daemon for one account or if it's possible to have a circumvention for removing this posssible bottleneck. |
Thank you for raising this enhancement request. |
Multiple requests are funneled into a single daemon. When the daemon is processing an earlier request, it displays those retrying messages. If you are expecting JSON output (for example with the --response-format-json option), you might receive those retrying messages followed by the desired JSON output. If the daemon were to write those messages to standard error instead of standard output, a consuming app would not see those messages, while a person watching the command would still see the messages, which would provide feedback on what is happening. Marked this issue as an enhancement. |
If the CI environment variable is set, do not output routine messages and move the output to stderr. |
Modified the app to send daemon messages to standard error as part of the following pull request. Display daemon messages on standard error #2150 The team chose not to implement any detection of the CI environment variable. |
Hi,
We used a server to centralise all Zowe commands for deploying host components. For that, there is juste one technical account which runs all zowe commands.
The Daemon is enabled for the technical account.
When we send multiple zowe commands almost silmutanely we have randomly some lines at start of JSON output but not in JSON format :
The Zowe daemon is in use, retrying (1 of 60) The Zowe daemon is in use, retrying (2 of 60) The Zowe daemon is in use, retrying (3 of 60) The Zowe daemon is in use, retrying (4 of 60) ...
The count can be greater 4. Next after this lines, we have the attended JSON output.
From where comes those lines ?
What causes those lines appears ?
The text was updated successfully, but these errors were encountered: