-
Notifications
You must be signed in to change notification settings - Fork 653
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
Simple bash deployment script hangs #2041
Comments
Here is the process stack. mintty.exe is spinning non-stop with high CPU. And the command line of the 3 top processes:
|
The simplest repro is to just run This triggers the Note that running |
I found that if I change the shell reg key to @dscho can you explain the difference between git-bash.exe and bash.exe? Why does one use mintty but not the other? |
@davidebbo |
Instead of hacking the registry, a simpler change is to run the script shell explicitly instead of relying on Windows shell. e.g. in
We should have:
Users who already generated this file will need to change it, but we should change our KuduScript generator to do it. |
It turns out that our generator already does the right thing. So only users hitting this probably hand won't their So I don't think we need to fix anything here. |
Issue comes from http://stackoverflow.com/questions/37739407/azure-web-site-kudu-publishing-failing-with-timeout/37740335.
This seems to have regressed with the new git 2.8.x. The repro is quite trivial. Here is a repo: https://github.com/KuduApps/KuduDeployBash
It just has two files.
.deployment
has:And deploy.sh has:
Which push to Kudu, it hangs trying to launch the script.
The text was updated successfully, but these errors were encountered: