[ic] LockType ignored?

Stefan Hornburg Racke interchange-users@interchange.redhat.com
Fri May 10 16:24:02 2002


Bill Carr <bill@worldwideimpact.com> writes:

> Mysql 3.23.47, Linux 2.4.19, Sessions on NFS, LVS-DR (martian patch), ic
> 4.8.3, (What I am about to say looks the same in 4.8.5 but I have not
> installed it yet).
> 
> It looks to me that global var LockType is ignored. I was having some
> slow page delivery that I thought was flock related. I tried this
> command:
> #  strace -f /etc/init.d/interchange start 2>&1 | grep -i flock
> and saw many flock calls even though interchange.cfg and
> interchange.structure reported LockType = fcntl.

--- interchange.PL	9 May 2002 09:51:38 -0000	2.7.2.11
+++ interchange.PL	10 May 2002 17:48:05 -0000	2.7.2.12
@@ -2802,6 +2802,8 @@
 
 	# Read interchange.cfg (or whatever its name is set to be)
 	global_config();
+	# Select locking mode
+	set_lock_type();
 
 	@action{keys %{$Global::ActionMap}} = (values %{$Global::ActionMap})
 		if $Global::ActionMap;


Can you please try to apply this patch and report if it now works
properly ?

Ciao
        Racke

-- 
Think of it !

For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)