Jean-Luc,

    Thank you very much. This did the trick. However, I think you made a
typo in your response. I replaced '#ifdef _POSIX_MAPPED_FILES' with '#ifdef
HAVE_MMAP' in jserv_mmap.c as opposed to '#ifdef HAVE_MAPP' as you
suggested. The shared memory file is now being created. I have not done any
further testing, but it sure looks good. Thanks again for the help and I
hope you feel better soon.

    Mark

Jean-Luc Rochat wrote:

> Mark Cox wrote:
> >
> >     I am using ApacheJserv1.0 (final) with apache 1.3.6 on FreeBSD 3.2
> > platforms and have been getting the following errors in apache's error
> > log when the webserver tries to open ApacheJserv's watchdog shared
> > memory file at startup:
> >
> > [12/07/1999 15:55:05:017] (INFO) balance: mmap errno=19
> > [12/07/1999 15:55:06:016] (INFO) balance: mmap errno=25
> > [12/07/1999 16:00:01:022] (INFO) balance: mmap errno=19
> > [12/07/1999 16:00:02:020] (INFO) balance: mmap errno=25
> > [12/07/1999 20:09:32:017] (INFO) balance: mmap errno=2
> > [12/07/1999 20:10:36:018] (INFO) balance: mmap errno=19
> > [12/07/1999 20:10:37:018] (INFO) balance: mmap errno=25
> >
> >     In addition, the shared memory file never gets used. Everything
> > seems to work fine (our jsp's and classes are distributing well across
> > the machines), but the watchdog process is unable to remove JServs from
> > apache's shared JServ list in the event of a downage (or return them
> > after a JServ has returned). I would very much like to have this
> > functionality if someone can make a suggestion. Here are my load
> > balancing  ApacheJserv directives (balancing 10 webservers between 10
> > standalone JServs on two app tier machines):
> >
> >
> hi Mark,
>
> sorry for being late to answer you, but Im currently at home with 2
> broken arms, and using a PC is a pain for me.
>
> the answer is :
> jserv 1.0 shared memory is not available on *BSD in current stable
> distribution.
> I think this is the same for other flavours of unixes like HP UX or AIX.
> I'm the culprit as I had not every OS around when I did code it.
>
> the patch is maybe :
> try to replace every instance of #ifdef _POSIX_MAPPED_FILES in the
> source code (jserv_mmap.c at least)
> by
> #ifdef HAVE_MAPP
> recompile and let us know (please send me also a private mail).
>
> sorry for this.
>
> jean-luc
>
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> READ THE FAQ!!!!     <http://java.apache.org/faq/>
> Archives and Other:  <http://java.apache.org/main/mail.html/>
> Problems?:           [EMAIL PROTECTED]



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
READ THE FAQ!!!!     <http://java.apache.org/faq/>
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to