FreeBSD Port: devel/apr1 (1.4.4 breaks apache22)

olli hauer ohauer at gmx.de
Tue May 17 20:54:56 UTC 2011


On 2011-05-17 21:12, Mike Jakubik wrote:
> On Tue, 2011-05-17 at 22:51 +0400, Yuri Pankov wrote:
> 
>> On Tue, May 17, 2011 at 02:17:29PM -0400, Mike Jakubik wrote:
>>> Hello,
>>>
>>> I just updated my apache22 from 2.2.17 to 2.2.18, this update also
>>> updated apr1 from 1.4.2 to 1.4.4. After restarting my web server i was
>>> not able to connect to anything. The logs did not show anything wrong
>>> but apache was taking up 100% cpu on all processes and the system load
>>> was steadily going up. Reverting back to apache 2.2.17 did not help,
>>> only solution was to downgrade apr1 to 1.4.2. I am running this on
>>> freebsd 7.4.
>>
>> Just for the record:
>>
>> apr-ipv6-devrandom-db48-1.4.4.1.3.11
>> apache-2.2.18
>>
>> seem to work fine for me on 8.2-RELEASE/amd64 (Apache/2.2.18 (FreeBSD)
>> mod_ssl/2.2.18 OpenSSL/0.9.8q DAV/2 SVN/1.6.16 Server).
>>
>>
>> Yuri
> 
> 
> I just tried on another server, similar configuration but this one is
> 8.2. Same behaviour.
> 
> PID USERNAME    THR PRI NICE   SIZE    RES STATE   C   TIME   WCPU
> COMMAND
> 11241 www           1 114    0 61492K 11200K CPU0    0   0:53 78.96%
> httpd
> 11237 www           1 110    0 61492K 11276K RUN     1   0:40 66.26%
> httpd
> 11238 www           1 108    0 61492K 11276K RUN     0   0:50 56.05%
> httpd
> 
> Process takes up all resources and is unresponsive, no errors are
> logged.
> 
> Web Server 1:
> Apache/2.2.17 (FreeBSD) PHP/5.3.6 with Suhosin-Patch mod_jk/1.2.31
> mod_ssl/2.2.17 OpenSSL/0.9.8q
> FreeBSD web.local 7.4-STABLE FreeBSD 7.4-STABLE #0: Tue May  3 17:45:17
> EDT 2011     root at web.local:/usr/obj/usr/src/sys/WEB  amd64
> 
> Web Server 2:
> Apache/2.2.18 (FreeBSD) mod_jk/1.2.31 PHP/5.3.6 with Suhosin-Patch
> mod_ssl/2.2.18 OpenSSL/0.9.8q
> FreeBSD staging.local 8.2-STABLE FreeBSD 8.2-STABLE #0: Thu Mar  3
> 17:32:06 EST 2011     root at staging.local:/usr/obj/usr/src/sys/STAGING
> amd64
> 

Hi Mike,

can you give some more details about your APR configuration?

$> cd devel/apr1
$> make showconfig

And maybe disable the mod_jk module for a test?



More information about the freebsd-apache mailing list