Xuekun Hu | 1 Sep 2005 02:55
Picon

Re: "ProxyPass ajp://localhost:8009 max=10" useless?

Thanks for your answer. Now I understand what the max means. 
However the errors occured again. I don't know if the error shows a
bug or just my configuration error, so I sent to dev list.

I used worker MPM. 

ThreadLimit     600
<IfModule worker.c>
StartServers         4
MaxClients         24000
ServerLimit     50
MinSpareThreads      1000
MaxSpareThreads      2000
ThreadsPerChild     600
MaxRequestsPerChild  0
ListenBackLog   3000
</IfModule>
MaxRequestsPerChild  0

ProxyPass /jspdir ajp://localhost:8009/jspdir max=10

My TOMCAT configuration: 
    <Connector port="8009" maxHttpHeaderSize="8192"
               maxThreads="8000" minSpareThreads="4000" maxSpareThreads="8000"
               acceptCound="50000" enableLookups="false"
redirectPort="8443" protocol="AJP/1.3"
               tomcatAuthentication = "false" />

So the max connections httpd created should be 50 * 10 = 500, however
TOMCAT threads are 8000. So why these errors happened? (Apache errors
(Continue reading)

Rodent of Unusual Size | 1 Sep 2005 05:45
Picon
Favicon

[STATUS] (httpd-2.1) Wed Aug 31 23:45:35 2005

APACHE 2.1 STATUS:                                              -*-text-*-
Last modified at [$Date: 2005-06-30 16:42:43 -0400 (Thu, 30 Jun 2005) $]

The current version of this file can be found at:

  * http://svn.apache.org/repos/asf/httpd/httpd/trunk/STATUS

Documentation status is maintained seperately and can be found at:

  * docs/STATUS in this source tree, or
  * http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/STATUS

Consult the following STATUS files for information on related projects:

  * http://svn.apache.org/repos/asf/apr/apr/trunk/STATUS
  * http://svn.apache.org/repos/asf/apr/apr-util/trunk/STATUS

Patches considered for backport are noted in their branches' STATUS:

  * http://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x/STATUS
  * http://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x/STATUS

Release history:
    [NOTE that only Alpha/Beta releases occur in 2.1 development]

    2.1.7   : in development
    2.1.6   : Released on  6/27/2005 as alpha.
    2.1.5   : Tagged on 6/17/2005. 
    2.1.4   : not released.
    2.1.3   : Released on  2/22/2005 as alpha.
(Continue reading)

Rodent of Unusual Size | 1 Sep 2005 05:45
Picon
Favicon

[STATUS] (httpd-2.0) Wed Aug 31 23:45:29 2005

APACHE 2.0 STATUS:                                              -*-text-*-
Last modified at [$Date: 2005-08-31 14:49:34 -0400 (Wed, 31 Aug 2005) $]

The current version of this file can be found at:

  * http://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x/STATUS

Documentation status is maintained seperately and can be found at:

  * docs/STATUS in this source tree, or
  * http://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x/docs/STATUS

Consult the following STATUS files for information on related projects:

  * http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x/STATUS
  * http://svn.apache.org/repos/asf/apr/apr-util/branches/0.9.x/STATUS

Consult the trunk/ for all new development and documentation efforts:

  * http://svn.apache.org/repos/asf/httpd/httpd/trunk/STATUS
  * http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/STATUS

Release history:

    2.0.55  : in development
    2.0.54  : released April 17, 2005 as GA.
    2.0.53  : released February 7, 2005 as GA.
    2.0.52  : released September 28, 2004 as GA.
    2.0.51  : released September 15, 2004 as GA.
    2.0.50  : released June 30, 2004 as GA.
(Continue reading)

William A. Rowe, Jr. | 1 Sep 2005 20:12

Re: svn commit: r265755 - in /apr/apr-util/trunk/ldap: apr_ldap_init.c apr_ldap_option.c

FYI this totally borked any 2.1.7 candidate (built on Win32
with the psdk layered atop the vc98, using zlib 1.2.3, final
OpenSSL 0.9.8, apr and apr-util 1.2.1 and apr-iconv 1.0.2).

If you are familiar with linking on Win32, you are probably
aware that some modules are linked by name (e.g. our httpd
application in 2.0) and some are linked by ordinal (including
older 1.3 builds).

An MS .lib file to bind to a .dll is simply a bunch of stubs
and .dll index information.  It turns out the lib that shipped
with Visual C was horribly corrupt with respect to the version
of c:\windows\system32\wldap32.dll shipped with Windows 2000.

Have a look at the bindings that are created, when comparing
our modules to what they map to in wldap32.dll on W2k (note
that I used depends.exe, a utility shipped with every version
of visual studio)... the numbers below are the 'ordinals'...

apr-util.so:
022 ldap_err2string
136 ldap_get_option      ** PSDK binding
138 ldap_get_paged_count ** VC98 binding
143 ldap_init            ** PSDK binding
145 ldap_initW           ** VC98 binding
211 ldap_set_option      ** PSDK binding
213 ldap_simple_bindA    ** VC98 binding
330 ldap_start_tls_s     ** PSDK binding (VC98 .lib build fails)
                         << not found in wldap32.dll(!)
331 ldap_stop_tls_s      ** PSDK binding (VC98 .lib build fails)
(Continue reading)

Roy T. Fielding | 1 Sep 2005 20:39
Favicon
Gravatar

Re: svn commit: r265755 - in /apr/apr-util/trunk/ldap: apr_ldap_init.c apr_ldap_option.c

We have no need to support anything other than the latest updates
of Win2k and WinXP.  Anything other than that should not be running
a server and can continue using our old builds if needed.

....Roy

Ryan Morgan | 2 Sep 2005 00:34
Picon

Multiple group authorization in mod_ldap


Hey everyone,

I have a quick question regarding authorization against multiple  
groups in
mod_ldap.

Currently, if any of the require lines succeed, the user will be granted
access. (Unless I'm missing something obvious in the code and docs)

I'd like to add the ability to require all, so that each require line  
is checked
for successful authorization.  This would allow mod_ldap to check  
that a user
is in multiple groups before granting access.

I can think of a couple of ways of implementing this:

1) Use the core's Satisfy directive to check if 'Satisfy all' has been
    requested.

2) Add a new directive 'AuthLDAPRequireAll' which would be a flag  
indicating
    to check all require lines.

Thoughts?

(Apologies if this comes through twice, I originally sent it from the  
wrong
email address, so it's probably in the queue for the list moderator)
(Continue reading)

William A. Rowe, Jr. | 2 Sep 2005 01:56

Re: svn commit: r265755 - in /apr/apr-util/trunk/ldap: apr_ldap_init.c apr_ldap_option.c

At 01:39 PM 9/1/2005, Roy T. Fielding wrote:
>We have no need to support anything other than the latest updates
>of Win2k and WinXP.  Anything other than that should not be running
>a server and can continue using our old builds if needed.

+1 (I think we agreed Win9x is dead).  It will be worthwhile
to note what the results are, so we can advise users of specific
builds and operating systems, to avoid the new version.

However, I'd no more suggest we ditch WinNT SP6, than to ditch
Solaris 2.6 or Linux 2.2 kernels.  If they work, or someone
wants to keep them working, more power to those contributors.

Bill

Maxime Petazzoni | 2 Sep 2005 02:09
Gravatar

Vote for merging mod_mbox changes [Was: A mod_mbox release ?]

Hi list,

[I'm answering to myself in order to revive the thread.]

The aim of Summer of Code projects is that the work done by the
student is then integrated and used. That's why I call for a vote for
merging changes made to mod_mbox in the httpd-mbox-if into trunk, with
the underlying goal of switching mail-archives.apache.org to the new
trunk.

You can find a complete patch of the changes at
http://blog.bulix.org/pub/mod_mbox-end-of-soc.patch or by executing
the following command :

svn diff http://svn.apache.org/repos/asf/httpd/mod_mbox/trunk \
http://svn.apache.org/repos/asf/httpd/mod_mbox/branches/httpd-mbox-if

Thank you,
- Sam

--

-- 
Maxime Petazzoni (http://www.bulix.org)
 -- gone crazy, back soon. leave message.
Maxime Petazzoni | 2 Sep 2005 02:34
Gravatar

Summer Of Code, my opinions

Hi,

The subscribers of pmc <at>  knows about it already, Ian asked his SoC
students to give their opinions about their work during the last two
month. Here comes mine.

I was really, really happy to work in the Apache Software Foundation
community. This was a extraordinary opportunity for me to get involved
in one of the most important open source projects of the F/OSS world.

Even if the SoC is a one person work, it was an opportunity to follow
the list activity and learn more about Apache HTTPd. I can't even make
a list of all the things I learnt during the summer : Apache
module programming, Javascript, community work, etc, etc.

The mentoring, technical advisement and help here on the list was
really nice, too.

All I can say is a huge thank to you all. When I subscribed on the SoC
web page in the beginning of June, I was very far away from thinking
I'll be accepted, and that I would get this far. Now that I'm here,
and (I hope so) integrated into the ASF developer community, I wish
to continue working on mod_mbox, and maybe submit some patches or bug
fixes to other projects !

Again, thanks.
- Sam

PS: attached, a copy of my answers to Google's student report
from. They're more complete and will surely give you more information.
(Continue reading)

Maxime Petazzoni | 2 Sep 2005 02:36
Gravatar

Re: Summer Of Code, my opinions

> PS: attached, a copy of my answers to Google's student report
> from. They're more complete and will surely give you more information.

Shame on me, I forgot the file. Sorry for the noise.

-- 
Maxime Petazzoni (http://www.bulix.org)
 -- gone crazy, back soon. leave message.
Summer of Code report answers
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Student Information
+++++++++++++++++++

First name: Maxime
Last name : Petazzoni
Email     : maxime DOT petazzoni AT bulix DOT org
Project   : httpd-mbox-if
Graduation: 11-2009

Mentor relations
++++++++++++++++

1. How would you describe your relationship with your mentor?
-------------------------------------------------------------
  (b) It was workable.

Although I'm aware that my mentor (Ian Holsman) is, as every grown up
(Continue reading)


Gmane