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

fix 'mkdir(): File exists' error on create directory from parallel processes #377

Merged
merged 1 commit into from
Jul 21, 2017

Conversation

a-shpota
Copy link
Contributor

No description provided.

@uwetews uwetews merged commit ba2de97 into smarty-php:master Jul 21, 2017
uwetews added a commit that referenced this pull request Jul 21, 2017
fix 'mkdir(): File exists' error on create directory from parallel processes
uwetews added a commit to smarty-php/smarty-phpunit that referenced this pull request Jul 21, 2017
@uwetews
Copy link
Contributor

uwetews commented Jul 30, 2017

Meanwhile libs/sysplugins/smarty_internal_runtime_writefile.php has been rewritten to retry in case of error.

The fix is in the trunk version and will later be included in 3.1.32

Note:
I recommend also to set $smarty->cache_locking = true;
To prevent on heavily loaded servers possible concurrent cache file updates of same page.

wisskid pushed a commit that referenced this pull request Apr 12, 2020
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.

3 participants