apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thomas bonfort <thomas.bonf...@gmail.com>
Subject Re: Building the apr runtime library appropriately for the worker MPM
Date Thu, 04 Apr 2013 07:13:25 GMT
On 3 April 2013 21:03, Greg Lazar <greglazar@hotmail.com> wrote:

> **
> The apr_file_lock routine, in the version of apr runtime library that I've
> currently built uses fnctl which does not appear to be thread safe. I need
> to use the worker MPM, so is it recommended that I build the apr runtime
> library to use flock instead. NFS file systems aren't a concern in this
> case. I didn't know how extensively the apr_file_lock was used through the
> rest of apache and if I'd be introducing any regressions by switching the
> apr runtime library to use flock.
> Thank you.

Hi Greg,
I had brought this question up on the modules-dev mailing list a few months


 Note that it would seem flock falls back to fcntl on some platforms, so
using flock will not fix the issue on those platforms.



View raw message