Skip to content

Conversation

@SendiMyrkr
Copy link
Contributor

  • bug fix
  • BC break? no

There is a problem with locking when you use php to execute bash script with background processes eg. https://stackoverflow.com/questions/71929617/php-8-1-not-release-flock-after-calling-exec

Unlocking before fclose seems to be a solution.

@dg
Copy link
Member

dg commented Apr 19, 2022

Did you run into any real locking problems with Tracy?

@SendiMyrkr
Copy link
Contributor Author

Yes, example in SO link is part of my code. When i run script with it while i have enadbled tracy than other request freeze on flock in Tracy. I did kill php with that few times because limit of fcgi runs out.

@dg
Copy link
Member

dg commented Apr 20, 2022

I understand. I'm glad I know that, because on Windows it behaves differently.

@dg dg force-pushed the master branch 2 times, most recently from adc1bb6 to 55819ae Compare April 20, 2022 11:45
There is a problem with locking when you use php to execute  bash script with background processes eg. https://stackoverflow.com/questions/71929617/php-8-1-not-release-flock-after-calling-exec

Unlocking before fclose seems to be a solution.
@dg dg merged commit 9dabc0e into nette:master Apr 20, 2022
dg pushed a commit that referenced this pull request Apr 20, 2022
There is a problem with locking when you use php to execute  bash script with background processes eg. https://stackoverflow.com/questions/71929617/php-8-1-not-release-flock-after-calling-exec

Unlocking before fclose seems to be a solution.
dg added a commit to nette/di that referenced this pull request Apr 20, 2022
dg pushed a commit that referenced this pull request Apr 21, 2022
There is a problem with locking when you use php to execute  bash script with background processes eg. https://stackoverflow.com/questions/71929617/php-8-1-not-release-flock-after-calling-exec

Unlocking before fclose seems to be a solution.
dg pushed a commit that referenced this pull request Apr 21, 2022
There is a problem with locking when you use php to execute  bash script with background processes eg. https://stackoverflow.com/questions/71929617/php-8-1-not-release-flock-after-calling-exec

Unlocking before fclose seems to be a solution.
dg pushed a commit that referenced this pull request Apr 27, 2022
There is a problem with locking when you use php to execute  bash script with background processes eg. https://stackoverflow.com/questions/71929617/php-8-1-not-release-flock-after-calling-exec

Unlocking before fclose seems to be a solution.
dg pushed a commit that referenced this pull request Apr 28, 2022
There is a problem with locking when you use php to execute  bash script with background processes eg. https://stackoverflow.com/questions/71929617/php-8-1-not-release-flock-after-calling-exec

Unlocking before fclose seems to be a solution.
dg added a commit to nette/latte that referenced this pull request Feb 1, 2023
dg added a commit to nette/latte that referenced this pull request Feb 1, 2023
dg added a commit to nette/union that referenced this pull request Feb 7, 2023
dg added a commit to nette/union that referenced this pull request Mar 2, 2023
dg added a commit to nette/latte that referenced this pull request Mar 9, 2023
dg added a commit to nette/union that referenced this pull request Apr 15, 2023
dg added a commit to nette/union that referenced this pull request Sep 26, 2023
dg added a commit to nette/union that referenced this pull request May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants