[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#301305: marked as done (apache2-common: APR support for shmem appears nonfunctional on 2.2 kernels)



Your message dated Thu, 27 Sep 2007 21:37:31 +0200
with message-id <200709272137.31603.sf@sfritsch.de>
and subject line apache2-common: APR support for shmem appears nonfunctional on 2.2 kernels
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: apache2-common
Severity: normal

Hi,

It appears that the Debian APR has some difficulty with shmem on 2.2
kernels.  I perform the following configuration of Apache2 (debian
testing package: 2.0.53-5) on a given machine with everything
identical except for the difference of kernel (between official Debian
2.2.19 package and 2.4.27 package).  It works perfectly with 2.4.27
and fails repeatedly as below with 2.2.19.  During discussions with a
RedHat engineer through dev@httpd.apache.org list, it appears that a
similar shmem configuration is known to work with them on 2.2 kernels.  

The failure is that apache2 won't start if I include the following
line in my 'apache2-modssl.conf' file:

SSLSessionCache shmcb:/var/log/apache2/scache(512000)

I get the following error in my logs:
  [error] Cannot allocate shared memory: (22)Invalid argument
  
At first glance, bug #270524 might appear similar as it also deals
with a failure to allocate shared memory, but it that case the cache
file named in Apache's "SSLSessionCache" already exists.  In those
cases (generally from unclean shutdowns) it appeared that the solution
was easy: just manually delete the file.
  
In my case, the file doesn't exist, and I'm getting the "Invalid
argument" error.  Note also, that I've properly installed the Debian
libmm13 package, which appears to be necessary for properly
functioning shmcb, even though this doesn't appear to be widely
documented.

I solved my own problem by using the 2.4.27 kernel, but thought it
possibly should be documented and examined for others who need to stay
with 2.2.

Take care,
Daniel

-- 
Daniel A. Freedman <freedman@physics.cornell.edu>, Graduate Fellow
  Electronic Structure Calculations, LASSP, Cornell University


--- End Message ---
--- Begin Message ---
Debian doesn't support 2.2 kernels in etch, and won't support 2.4 
kernels in lenny. Therefore I am closing this bug report.


--- End Message ---

Reply to: