tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fredk2 <fre...@gmail.com>
Subject mod_jk --enable-flock documentation question
Date Wed, 12 Sep 2007 04:22:10 GMT

Hi,

Reading the mod_jk (1.2.25) compilation documentation for --enable-flock it
says:

"In case the operating system supports flock system call use this flag to
enable this faster locks that are implemented as system call instead
emulated by GNU C library.
However those locks does not work on NFS mounted volumes, so you can use
"--enable-flock" during compile time to force the flocks() calls."

+ this text seems to say to use --enable-flock to tell mod_jk to use the
flock system call - if supported.
Then it says that NFS does not support the flock system call.  Thus it seems
to me that correct sentence whould be:
"However those locks do not work on NFS mounted volumes, hence do not set 
--enable-flock during compile time".

./configure says:
Linux   -> checking for flock... yes
Solaris -> checking for flock... no

So i guess this is a non-issue for Solaris.

+ Is it correct that --enable-flock only affects the handling of JkShmFile?
thus you would mitigate the potential issue(s) if you move this file to a
local disk /tmp while the apache and logfiles can remain on the NFS mount.

Many thanks - Fred
-- 
View this message in context: http://www.nabble.com/mod_jk---enable-flock-documentation-question-tf4426869.html#a12628444
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message