From owner-freebsd-java@FreeBSD.ORG Tue Jan 26 16:26:17 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47A701065670 for ; Tue, 26 Jan 2010 16:26:17 +0000 (UTC) (envelope-from valentin.po@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id CADA58FC17 for ; Tue, 26 Jan 2010 16:26:16 +0000 (UTC) Received: by fxm27 with SMTP id 27so2125056fxm.3 for ; Tue, 26 Jan 2010 08:26:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=6rfYLF2Y1srNCaLW7W7/R33WhLj8s+TeVK67hUvCWaQ=; b=Nkuw5T4pk6fsF45Nnuj5cXrBbDlapBfeTBPI3EpQ/KtUBxxbxaAVaQ9rKWZ1vtyat5 G3j2YzrScWJlUTkoYYuwuUuNzdUUWVEvuy21uu6ahMjM0ZcB0nM+QDptbJueS3/jjJbb REmuDhfhSHYzfRPlD6G+rq77UPNr4+C8eisoE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=K4O8nT97/OJabeTutwmZU9UTzjBW75PnYA1NLbUg5lUZ++b9VhyVqTBa4pFpPC5M40 436x7I44GmhcNodDURYeM0eIEEZzJ09hJVhdoG0NMQf+yyZR88RwYNjqgVQvtjR+XNUg ivW29XFPwIkf6+E6zqD4zl5eaZkaORmyPJXoo= Received: by 10.223.95.74 with SMTP id c10mr1093028fan.82.1264523175395; Tue, 26 Jan 2010 08:26:15 -0800 (PST) Received: from ?192.168.16.34? (89-178-224-65.broadband.corbina.ru [89.178.224.65]) by mx.google.com with ESMTPS id 15sm3398925fxm.10.2010.01.26.08.26.14 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 26 Jan 2010 08:26:14 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=utf-8 From: =?koi8-r?B?98HMxc7Uyc4g8M/Qz9c=?= In-Reply-To: <201001261040.55846.achill@matrix.gatewaynet.com> Date: Tue, 26 Jan 2010 19:26:12 +0300 Content-Transfer-Encoding: quoted-printable Message-Id: <177C70F2-63CB-4321-8A3F-65E9A81CBC4E@gmail.com> References: <201001261027.27307.achill@matrix.gatewaynet.com> <201001261040.55846.achill@matrix.gatewaynet.com> To: Achilleas Mantzios X-Mailer: Apple Mail (2.1077) Cc: freebsd-java@freebsd.org Subject: Re: to many opened files 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: Tue, 26 Jan 2010 16:26:17 -0000 I instaled=20 openjdk version "1.6.0" OpenJDK Runtime Environment (build 1.6.0-b17) OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode) and result is the same.... opened files are growing=20 java on freebsd not for production (Solaris, OpenSolaris, linix UBUNTU - = make this job real great) Thanks for help!=20 26.01.2010, =D0=B2 11:40, Achilleas Mantzios =D0=BD=D0=B0=D0=BF=D0=B8=D1=81= =D0=B0=D0=BB(=D0=B0): > =CE=A3=CF=84=CE=B9=CF=82 Tuesday 26 January 2010 10:32:14 =CE=BF/=CE=B7 = =D0=92=D0=B0=D0=BB=D0=B5=D0=BD=D1=82=D0=B8=D0=BD =D0=9F=D0=BE=D0=BF=D0=BE=D0= =B2 =CE=AD=CE=B3=CF=81=CE=B1=CF=88=CE=B5: >> I use lucene indexer, sources is ok (i mean all file/stream handlers = is closed) and i run same code same base on same server but on Ubuntu = 8.04 and OpenSolaris latest.... everything is ok, as i sad less 1500 = files opened by java >>=20 >>=20 >>> =CE=A3=CF=84=CE=B9=CF=82 Tuesday 26 January 2010 09:48:41 =CE=BF/=CE=B7= =D0=92=D0=B0=D0=BB=D0=B5=D0=BD=D1=82=D0=B8=D0=BD =D0=9F=D0=BE=D0=BF=D0=BE= =D0=B2 =CE=AD=CE=B3=CF=81=CE=B1=CF=88=CE=B5: >>>> I running reindex programm it's reindex about 60 000 000 emails = with attachments and else.... >>>>=20 >>>=20 >>> Any info on this "reindex" program? any source? >>> Also did you play with sysctl settings? >>=20 >> Yes i tune it to 256 000 for process and 512 000 for system.=20 >> any case i think it is freeBSD Java bug. >=20 > Did you try with openjdk6? >=20 >>>=20 >>>> With 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 07:18:07 UTC = 2009 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC = amd64 i have strange issue, it is absolutely freebsd java issues. = Growing of opened files.... I test same code with same data on Ubuntu = Linux, OpenSolaris and all ok, total size of java opened files is less = when 1500. On BSD i get now about 48396 opened files and growing ... >>>>=20 >>>>=20 >>>>=20 >>>> [root@fstest ~]# java -version >>>> java version "1.6.0_07" >>>> Diablo Java(TM) SE Runtime Environment (build 1.6.0_07-b02) >>>> Diablo Java HotSpot(TM) 64-Bit Server VM (build 10.0-b23, mixed = mode) >>>>=20 >>>>=20 >>>> [root@fstest ~]# fstat | grep java | awk '{n++}; END {print n+0}'=20= >>>> 48396 >>>>=20 >>>>=20 >>>> root java 8492 45706 /store 633437117 -rw-r--r-- = 2296 r >>>> root java 8492 45707 /store 633692465 -rw-r--r-- = 1016 r >>>> root java 8492 45708 /index 40460664 -rw-r--r-- = 6000072 r >>>> root java 8492 45709 /index 40460668 -rw-r--r-- = 1453602 r >>>> root java 8492 45710 /index 40460669 -rw-r--r-- = 813955 r >>>> root java 8492 45711 /index 40460689 -rw-r--r-- = 489996 r >>>> root java 8492 45712 /store 634305758 -rw-r--r-- = 1008 r >>>> root java 8492 45713 /store 633531994 -rw-r--r-- = 1880 r >>>> root java 8492 45714 /store 633388634 -rw-r--r-- = 2928 r >>>> root java 8492 45715 /store 633389394 -rw-r--r-- = 5512 r >>>> root java 8492 45716 /index 40460895 -rw-r--r-- = 1559 r >>>> root java 8492 45717 /store 633529398 -rw-r--r-- = 976 r >>>> root java 8492 45718 /index 40459815 -rw-r--r-- = 1558 r >>>>=20 >>>> Anybody get this issue? anybody use JAVA on production servers? >>>>=20 >>>>=20 >>>> Regards >>>> Valentin Popov_______________________________________________ >>>> freebsd-java@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-java >>>> To unsubscribe, send any mail to = "freebsd-java-unsubscribe@freebsd.org" >>>>=20 >>>=20 >>>=20 >>>=20 >>> --=20 >>> Achilleas Mantzios >>> _______________________________________________ >>> freebsd-java@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-java >>> To unsubscribe, send any mail to = "freebsd-java-unsubscribe@freebsd.org" >>=20 >> Regards >>=20 >> Valentin Popov >>=20 >>=20 >=20 >=20 >=20 > --=20 > Achilleas Mantzios Regards Valentin Popov