Hi all

I have moved my WebObjects install from MacOSX to Debian.
I have compiled Wonder WebObjects adaptor from http://webobjects.mdimension.com/wonder/Wonder-latest-Source.tar.gz for Apache 2.2
with the following modified parameters in Make.config:

     ADAPTOR_OS = LINUX
     APXS = /usr/bin/apxs2
     APXS1.3 = ${APXS}
     APXS2.2 = ${APXS}
     APACHEINCLUDE_DIR = `${APXS} -q INCLUDEDIR`
     APACHEMODULE_DIR = `${APXS} -q LIBEXECDIR`
     ADAPTORS = Apache2.2
     CFLAGS  += -I/usr/include -pthread -DLINUX=2 -D_REENTRANT
   -D_GNU_SOURCE -fPIC -fpic
     LDFLAGS += -L/lib64 -L/usr/lib64 -lc ${OPENSSL_LIB_FLAGS} -fpic

Servers has multiple IP and I randomly have the following errors in Apache logs of the different interfaces:

[Fri Nov 04 10:55:22 2011] [error] WOShmem_unlock(): failed to unlock 160 bytes at 0x68860: Invalid argument [Fri Nov 04 10:55:34 2011] [error] lock_file_section(): failed to lock (1 attempts): Resource deadlock avoided [Fri Nov 04 10:55:34 2011] [error] ac_readConfiguration: WOShmem_lock() failed. Skipping reading config. [Fri Nov 04 10:55:34 2011] [error] lock_file_section(): failed to lock (1 attempts): Resource deadlock avoided [Fri Nov 04 10:55:34 2011] [error] ac_readConfiguration: WOShmem_lock() failed. Skipping reading config.
...

When theses errors occurs, Nagios checks often fail, http requests are sometimes very slow and I already had to restart Apache.
Any idea what's wrong or where I can investigate about that?

Some infos:

$ uname -a
Linux cocktaila 2.6.32-5-amd64 #1 SMP Fri Sep 9 20:23:16 UTC 2011 x86_64 GNU/Linux

$/usr/bin/apr-1-config --cflags  --cppflags
 -pthread -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE

Apache 2.2.16-6+squeeze3
gcc (Debian 4.4.5-8) 4.4.5
make GNU Make 3.81
WebObjects 5.3.3

Thanks


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list      (Webobjects-deploy@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to