Re: FIN_WAIT_2 problem



Hello

MaXX wrote:
Hi,

I'm not sure if I can help, but reading your post, I see that you've done 3 major upgrades in a row. Hard to tell where the problem comes...
Yes I did...
Apache 2.0 -> Apache 2.2
FreeBSD 4.11 -> FreeBSD 6.1
Tomcat 4.0 -> Tomcat 5.5


Don't hit me, but the questions that first come to my mind:
- Did you use a GENERIC kernel?
No I didn't not.
I added the following options:
include GENERIC

ident custom

options QUOTA

options IPFIREWALL
options IPFIREWALL_DEFAULT_TO_ACCEPT
options IPFIREWALL_VERBOSE
options IPFIREWALL_VERBOSE_LIMIT=200
options IPDIVERT
options IPFIREWALL_FORWARD
options IPFILTER
options IPFILTER_LOG
options DUMMYNET
options HZ=1000 # For dummynet to work properly


if not, what have you changed?
Have you tried with a stock kernel?
- Do you have modified your make.conf?
Yes:
KERNCONF=CUSTOM
SUP_UPDATE=yes
SUP=/usr/local/bin/cvsup
SUPHOST=cvsup5.us.freebsd.org
SUPFILE=/etc/cvsup/stable-supfile
PORTSSUPFILE=/etc/cvsup/ports-supfile
WITH_BERKELEYDB=db42
BUILD_OPTIMIZED=yes
WITH_APACHE2=yes
WITH_OPENSSL=yes
DB_DIR=/home/data/db/mysql
APXS=/usr/local/sbin/apxs
WITH_APACHE2=true
WITH_AUTH_MODULES=yes
WITH_DAV_MODULES=yes
WITH_MOD_DAV_SVN=yes
WITH_SSL_MODULES=yes
WITH_PROXY_MODULES=yes
WITH_MISC_MODULES=yes
WITH_BERKELEYDB=db42

- Did you compile Apache an Tomcat using ports or used a package?
If you compiled using ports, what options?
Using ports, default configuration.

- Apache/Tomcat: have you heavily modified your conf or just changed what you need?
In Tomcat I only changed the webapps location and added support for some virtual host.

- Tomcat(*): you have upgraded to a major version (4 to 5.5), is there anything between those versions that may have changed the behaviour of your servlets (or require code changes)?
(*) pure speculation.
Not at all. I was actually very surprised on how smoothe the upgrade went. Everything worked very well right away. It was just a matter of changing the webapps location to my old one.


I was reading that there are patches available that add a timeout option for the connection in FIN_WAIT_2 ... Do you know if such patch exists for FreeBSD 6.1?

In any case, than you very much for your answer.
Jean-Yves
.



Relevant Pages

  • Re: FreeBSD 5.4: Is it generally unstable?
    ... just reading this mailing list will give you an overly negative ... > view of FreeBSD's stability. ... My experiences are that FreeBSD 5.4 ...
    (freebsd-stable)
  • FreeRadius 1.1.3 segmentation problem in Freebsd
    ... I am posting this question in FreeBSD mailing list. ... Starting - reading configuration files ... ... mschap: require_encryption = no ... unix: usegroup = no ...
    (freebsd-questions)
  • JSP 2.0, pagelets, et al
    ... I recently installed Tomcat 5 at home and started playing with it. ... the references I see seem to point to an XML to ... I started reading on the pluto project ... This project is using a portlet ...
    (comp.lang.java.programmer)
  • Re: my arquitecture is...
    ... and the CD light turn off (the CD-ROM drive isn't reading anything) and the HD led stays on ... FreeBSD supports COMPAQ/HP Alpha, ...
    (freebsd-questions)
  • Re: Trouble making NFS work with Mac OS X
    ... Michael Hopkins, Hopkins Research wrote: ... > I want to export the /home directory on the server to the client using ... Just a wild guess without actually reading the whole email: ... By default FreeBSD does not create a seperate partition for /home. ...
    (freebsd-net)