Skip to content
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

Worker processes do not start in linear time #7136

Closed
paulbatum opened this issue Feb 6, 2021 · 4 comments · Fixed by #7226
Closed

Worker processes do not start in linear time #7136

paulbatum opened this issue Feb 6, 2021 · 4 comments · Fixed by #7226
Assignees

Comments

@paulbatum
Copy link
Member

The functions host adds worker processes more slowly than intended and as documented. Here are the details provided by @cgillum -

According to this documentation, I should expect to wait 100 seconds before all 10 python worker processes are available.
https://docs.microsoft.com/en-us/azure/azure-functions/functions-app-settings#functions_worker_process_count

What I actually observed is that we take 10 seconds for the second python process to be created and 10 more seconds for each additional python worker process. Here is my Functions log output which illustrates what I mean: 

[2021-02-03T21:33:57.717] Worker process started and initialized.
[2021-02-03T21:34:07.667] Worker process started and initialized.
[2021-02-03T21:34:27.649] Worker process started and initialized.
[2021-02-03T21:34:57.652] Worker process started and initialized.
...
[2021-02-03T21:41:27.695] Worker process started and initialized.

It took 390 seconds before all 10 python worker processes came up.
@paulbatum paulbatum added this to the Functions Sprint 95 milestone Feb 6, 2021
@paulbatum paulbatum self-assigned this Feb 6, 2021
paulbatum added a commit to paulbatum/azure-functions-host that referenced this issue Feb 6, 2021
@fabiocav
Copy link
Member

@paulbatum moving this to sprint 96 .

@fabiocav
Copy link
Member

fabiocav commented Mar 3, 2021

Moving this back to triaged as the work needs to be restarted.

@alrod are you planning on picking this up?

@alrod alrod self-assigned this Mar 12, 2021
@alrod alrod modified the milestones: Triaged, Functions Sprint 97 Mar 12, 2021
@alrod
Copy link
Member

alrod commented Mar 12, 2021

picking up and assigning to current sprint

@fabiocav
Copy link
Member

PR currently in review. Leaving this item in sprint 97

@ghost ghost locked as resolved and limited conversation to collaborators Apr 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.