From nobody@FreeBSD.org  Sun Jul 20 15:31:15 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id DF15F1065670
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 20 Jul 2008 15:31:15 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id D06148FC20
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 20 Jul 2008 15:31:15 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m6KFVFep013203
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 20 Jul 2008 15:31:15 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m6KFVFRP013202;
	Sun, 20 Jul 2008 15:31:15 GMT
	(envelope-from nobody)
Message-Id: <200807201531.m6KFVFRP013202@www.freebsd.org>
Date: Sun, 20 Jul 2008 15:31:15 GMT
From: Henrik Friedrichsen <hrkfrd@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: apache2.2 stops handling connections
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         125805
>Category:       ports
>Synopsis:       www/apache22 stops handling connections
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 20 15:40:00 UTC 2008
>Closed-Date:    Thu Mar 26 13:45:37 UTC 2009
>Last-Modified:  Thu Mar 26 13:45:37 UTC 2009
>Originator:     Henrik Friedrichsen
>Release:        7.0
>Organization:
>Environment:
FreeBSD duoverse.cheat-project.com 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #0: Thu Jun 19 12:20:48 CEST 2008     root@duoverse.cheat-project.com:/usr/src/sys/amd64/compile/KRAFTWERK  amd64
>Description:
After a few days of uptime of Apache 2.2 and FreeBSD, Apache 2.2 stops accepting new requests. Looking at netstat, there hundreds of connections with a CLOSED_WAIT state. Apache 2.2 is running the worker module.

I'm using if_re, which has caused problems before (wrong tcp checksums), we then used the patched files posted on the mailinglist by a FreeBSD comitter.
After restarting apache, the problem is solved until it reoccurs.


dev.re.0.%desc: RealTek 8168/8111B PCIe Gigabit Ethernet
dev.re.0.%pnpinfo: vendor=0x10ec device=0x8168 subvendor=0x1462 subdevice=0x368c class=0x020000


Thanks a lot,
Henrik.
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->clement 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sun Jul 20 19:54:52 UTC 2008 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=125805 
State-Changed-From-To: open->feedback 
State-Changed-By: miwi 
State-Changed-When: Sat Sep 6 15:04:31 UTC 2008 
State-Changed-Why:  
Could you please test if this issue still exists with an fresh ports 
tree? Thanks for your report. 

- Martin 


http://www.freebsd.org/cgi/query-pr.cgi?pr=125805 

From: Henrik Friedrichsen <hrkfrd@googlemail.com>
To: bug-followup@freebsd.org
Cc:  
Subject: ports/125805: www/apache22: apache2.2 stops handling connections
Date: Sat, 6 Sep 2008 17:56:12 +0200

 Hey,
 
 it turned out to be a problem with the if_re driver which I have "bypassed"
 by turning off these options with ifconfig: rxcsum txcsum tso lro vlanhwtag
 
 Additionally I have applied Pyun YongHyeon's patches for if_re.
 So far things are stable if I run apache2.2 with the prefork MPM.
 
 Henrik.
Responsible-Changed-From-To: clement->apache 
Responsible-Changed-By: pgollucci 
Responsible-Changed-When: Sat Dec 27 20:28:23 UTC 2008 
Responsible-Changed-Why:  
apache team 

http://www.freebsd.org/cgi/query-pr.cgi?pr=125805 
State-Changed-From-To: feedback->closed 
State-Changed-By: pav 
State-Changed-When: Thu Mar 26 13:44:52 UTC 2009 
State-Changed-Why:  
Was a problem with NIC driver 

http://www.freebsd.org/cgi/query-pr.cgi?pr=125805 
>Unformatted:
