I am writing a module talking to a remote server that
handles the real work. I need to build/keep a pool of
connections for reuse almong the different Apache
worker threads. Should I build that in the
ap_hook_post_config or ap_hook_child_init function?
When apache creates multiple processes,
On Wed, 31 Oct 2007 13:41:59 -0700 (PDT)
John Zhang [EMAIL PROTECTED] wrote:
Thanks in advance for any help.
Use an apr_reslist to manage the pool.
See mod_dbd for an example.
--
Nick Kew
Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/
On Wed, 31 Oct 2007 13:41:59 -0700 (PDT)
John Zhang [EMAIL PROTECTED] wrote:
I am writing a module talking to a remote server that
handles the real work. I need to build/keep a pool of
connections for reuse almong the different Apache
worker threads.
Further to my previous reply ...
What
For those interested, check out
http://svn.apache.org/viewvc?rev=590641view=rev
pasts tests and works as expected, at least in my limited
testing :)
Again, the main focus in this was to resolve the issue in a
2.2-friendly way. So I'd like to get additional feedback
with that in mind before
On Oct 31, 2007, at 10:42 AM, Niklas Edmundsson wrote:
On Wed, 31 Oct 2007, Jim Jagielski wrote:
For those interested, check out
http://svn.apache.org/viewvc?rev=590641view=rev
pasts tests and works as expected, at least in my limited
testing :)
Again, the main focus in this was to
On Wed, 31 Oct 2007, Jim Jagielski wrote:
For those interested, check out
http://svn.apache.org/viewvc?rev=590641view=rev
pasts tests and works as expected, at least in my limited
testing :)
Again, the main focus in this was to resolve the issue in a
2.2-friendly way. So I'd like to get
Hi,
After running a load test (using ab) against Apache httpd + Tomcat I
have noted several sockets are left in CLOSE_WAIT state when using MPM
worker.
Once the worker is marked IN_ERROR the sockets belonging to the pool
will not be closed. I have tried something like the worker.maintain of
# Solaris 10 Layout
Layout Sol10
prefix:/usr/apache2
exec_prefix: ${prefix}
bindir:${exec_prefix}/bin
sbindir: ${exec_prefix}/bin
includedir:${exec_prefix}/include
libdir:${exec_prefix}/lib
libexecdir:${exec_prefix}/libexec
On Monday 08 October 2007, Jim Jagielski wrote:
On Oct 5, 2007, at 2:07 PM, Stefan Fritsch wrote:
Maybe someone could also look at
http://issues.apache.org/bugzilla/show_bug.cgi?id=42829
A quick review seems to indicate that the suggested patch could
result in a worker accepting a
Grant M. wrote:
# Solaris 10 Layout
Sorry, this is actually correct (error was wrong).
# Solaris 10 Layout
Layout Sol10
prefix:/usr/apache2
exec_prefix: ${prefix}
bindir:${exec_prefix}/bin
sbindir: ${exec_prefix}/bin
includedir:
APACHE 2.0 STATUS: -*-text-*-
Last modified at [$Date: 2007-10-10 14:13:31 -0400 (Wed, 10 Oct 2007) $]
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
APACHE 2.2 STATUS: -*-text-*-
Last modified at [$Date: 2007-10-31 19:06:46 -0500 (Wed, 31 Oct 2007) $]
The current version of this file can be found at:
* http://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x/STATUS
Documentation status is
APACHE 2.3 STATUS: -*-text-*-
Last modified at [$Date: 2006-08-22 16:41:03 -0400 (Tue, 22 Aug 2006) $]
The current version of this file can be found at:
* http://svn.apache.org/repos/asf/httpd/httpd/trunk/STATUS
Documentation status is maintained
Nick Kew wrote:
Our subrequest API currently handles only local subrequests,
so for example mod_include doesn't support
!--#include virtual=http://example.com/example.txt--.
I've worked around this in the past with some ugly hacks.
Looking at the code, it's actually very simple to build
in
14 matches
Mail list logo