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

Improve handling of mod_proxy initialization for "ServerType inetd" configurations #199

Open
Castaglia opened this issue May 1, 2021 · 0 comments
Assignees
Milestone

Comments

@Castaglia
Copy link
Owner

The scope of this ticket is to see what we can do to improve the mod_proxy initialization steps, especially when ProFTPD is being run with "ServerType inetd", as for xinetd; see #196 .

I suspect that the problems there are due to mod_proxy's use of multiple SQLite database files, and race conditions between multiple processes competing for those same files at the same time. So, my plan for this is to do the following:

  • Reproduce this behavior locally
  • Determine if using a single application-level mutex/lockfile, in mod_proxy, can address this

Having such a mutex/lockfile might work -- but it will also inevitably add some latency to the process initialization, while the process waits for all competing processes to release the lockfile. Still, that would be better behavior than seen in #196 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant