From owner-freebsd-java@FreeBSD.ORG Thu Nov 30 21:15:47 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 135C816A4C9 for ; Thu, 30 Nov 2006 21:15:47 +0000 (UTC) (envelope-from tim1timau@yahoo.com) Received: from web50303.mail.yahoo.com (web50303.mail.yahoo.com [206.190.38.57]) by mx1.FreeBSD.org (Postfix) with SMTP id DB2E343DF5 for ; Thu, 30 Nov 2006 21:07:57 +0000 (GMT) (envelope-from tim1timau@yahoo.com) Received: (qmail 26078 invoked by uid 60001); 30 Nov 2006 21:07:47 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=fajGuS9x+vn4tgM84u6MMYcby+iSCFrXpmZ6s5KmFWIEJ4j8aofiZbWFmd+5AbCNz4KtPLn9V7SD1HyoavtaWLjlgdEvQlU4c7XCFozrhy0JmfNW04QY3ggfxhIv/w9q7cD7UHD2gC/ndMAoyNBEtQVGB888hWFBD4WJshmuSfA=; X-YMail-OSG: qU76mFsVM1lwu4KywcPEn6PQhiA3wS93m_.ABl1oV5G5Z7M9O8zfcJkOADvV0NoUSfInIt1erKC.E7SzH5sNpwIJ9GxdW6HsuTk6if4TXqNJw5IWTQuXa3fZBhw3BJZRnU8SUeU.urX4TYk- Received: from [210.0.100.149] by web50303.mail.yahoo.com via HTTP; Thu, 30 Nov 2006 13:07:47 PST Date: Thu, 30 Nov 2006 13:07:47 -0800 (PST) From: Tim Clewlow To: kostikbel@gmail.com, freebsd-ports@freebsd.org, freebsd-java@freebsd.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="0-1455987588-1164920867=:25749" Content-Transfer-Encoding: 8bit Message-ID: <816020.25749.qm@web50303.mail.yahoo.com> X-Mailman-Approved-At: Thu, 30 Nov 2006 22:01:12 +0000 Cc: Subject: Re: Something is really not right with azureus 2.5 / diablo-jdk 1.5 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Nov 2006 21:15:47 -0000 --0-1455987588-1164920867=:25749 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Content-Id: Content-Disposition: inline --- Kostik Belousov wrote: > Date: Thu, 30 Nov 2006 22:26:56 +0200 > From: Kostik Belousov > To: Tim Clewlow > CC: freebsd-ports@freebsd.org, freebsd-java@freebsd.org > Subject: Re: Something is really not right with azureus 2.5 / diablo-jdk 1.5 > > On Thu, Nov 30, 2006 at 11:36:10AM -0800, Tim Clewlow wrote: > > > > --- Robert Noland wrote: > > > > > From: Robert Noland > > > To: freebsd-ports@freebsd.org > > > Date: Thu, 30 Nov 2006 13:06:40 -0500 > > > Subject: Something is really not right with azureus 2.5 / diablo-jdk 1.5 > > > > > > > > > > Hello, > > > > > > > > I have azureus-2.5.0.0 which requires diablo-jdk-1.5.0.07.01_1 to build > > > (among > > > > other things). It builds and runs fine, however, azureus limps along > for > > > about > > > > 10 minutes with very low download and upload speeds, then it seems to > grind > > > to > > > > a halt, the d/l and u/l basically stop. There are no errors to report > > > because > > > > the application keeps going, but the problem is it stops actually d/l > or > > > u/l > > > > anything (sometimes you might get short bursts of extremely slow > speeds, > > > but it > > > > is mostly 0 B/s). > > > > > > > > I suspect that diablo-jdk that is at fault, but in truth this is just a > > > hunch. > > > > > > This is a problem with azureus, not the jdk. The same issue exists with > > > sun jdk15. I am attempting to look at the code, but someone with more > > > java foo than I would probably be much more productive. It appears to > > > be an issue with socket handling... > > > > > > robert. > > > > > > > FYI - I discovered the internet connection was constantly at 100% u/l due > to a > > number of people on the LAN doing p2p, so I shaped the external link to > only > > allow 80% of the real uplink capacity (which creates a 20% buffer to > attempt to > > mininize collisions on the uplink) and azureus suddenly came back to life. > Note > > that azureus on the windows box was happy before I shaped the link, but the > BSD > > version was not. This makes me think the BSD version of azureus gets into > > trouble when outgoing packets get lost due to packet collision. > > > > Tim. > > Does this thing use nio ? > It uses the following ports from "java" to build - I dont know if nio is in these versions or not: -0003 jakarta-commons-cli-1.0,1 /java/jakarta-commons-cli -0004 junit-3.8.2 /java/junit -0007 diablo-jdk-1.5.0.07.01_1 /java/diablo-jdk15 -0010 jakarta-commons-lang-2.1 /java/jakarta-commons-lang -0037 javavmwrapper-2.3 /java/javavmwrapper It also uses the following ports from "net" to build: -0006 seda-3.0 /net/seda -0034 linc-1.0.3_6 /net/linc -0058 samba-libsmbclient-3.0.23c /net/samba-libsmbclient -0059 avahi+libdns-0.6.14_3 /net/avahi Tim. ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com --0-1455987588-1164920867=:25749 Content-Type: application/pgp-signature Content-Transfer-Encoding: base64 Content-Description: pat1261442496 Content-Disposition: inline LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0KVmVyc2lvbjogR251UEcg djEuNC41IChGcmVlQlNEKQoKaUQ4REJRRkZiejZRQzMrTUJOMU1iNGdSQWxI ZkFLQzdWa2ZvZW14aEVLUWVFbEhPWUk5bUJCRTRGUUNmWnVqWQpkVWM1UDdF MytXNGpLQ0J6Y1ZSTkl0UT0KPWJQRDUKLS0tLS1FTkQgUEdQIFNJR05BVFVS RS0tLS0tCg== --0-1455987588-1164920867=:25749--