to many opened files
Achilleas Mantzios
achill at matrix.gatewaynet.com
Wed Jan 27 12:09:33 UTC 2010
Στις Wednesday 27 January 2010 13:05:23 ο/η Валентин Попов έγραψε:
>
> 27.01.2010, в 11:56, Achilleas Mantzios написал(а):
>
> > Στις Tuesday 26 January 2010 18:26:12 ο/η Валентин Попов έγραψε:
> >> I instaled
> >> 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
> >>
> >
> > Are you sure it was *indeed* openjdk version "1.6.0" running behind the scenes?
> What i do. I start new installation of BSD 8.0 and will install latest openjdk 1.6.0
> >
ok, but there are other easier ways as well.
> > If yes, then you should open a PR.
> > Whats your /etc/libmap.conf settings?
> # $FreeBSD: src/etc/libalias.conf,v 1.2.8.1 2009/04/15 03:14:26 kensmith Exp $
> /lib/libalias_cuseeme.so
> /lib/libalias_ftp.so
> /lib/libalias_irc.so
> /lib/libalias_nbt.so
> /lib/libalias_pptp.so
> /lib/libalias_skinny.so
> /lib/libalias_smedia.so
^^ this is not libmap.conf, but anyway, i conclude you dont have one...
>
>
> After 120 hours i see Linux file handles is start growing (on BSD this behavior was after 30 min)
> Will continue testing...
good
>
>
> >
> >> java on freebsd not for production (Solaris, OpenSolaris, linix UBUNTU - make this job real great)
> >>
> >> Thanks for help!
> >>
> >> 26.01.2010, в 11:40, Achilleas Mantzios написал(а):
> >>
> >>> Στις Tuesday 26 January 2010 10:32:14 ο/η Валентин Попов έγραψε:
> >>>> 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
> >>>>
> >>>>
> >>>>> Στις Tuesday 26 January 2010 09:48:41 ο/η Валентин Попов έγραψε:
> >>>>>> I running reindex programm it's reindex about 60 000 000 emails with attachments and else....
> >>>>>>
> >>>>>
> >>>>> Any info on this "reindex" program? any source?
> >>>>> Also did you play with sysctl settings?
> >>>>
> >>>> Yes i tune it to 256 000 for process and 512 000 for system.
> >>>> any case i think it is freeBSD Java bug.
> >>>
> >>> Did you try with openjdk6?
> >>>
> >>>>>
> >>>>>> With 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 07:18:07 UTC 2009 root at 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 ...
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> [root at 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)
> >>>>>>
> >>>>>>
> >>>>>> [root at fstest ~]# fstat | grep java | awk '{n++}; END {print n+0}'
> >>>>>> 48396
> >>>>>>
> >>>>>>
> >>>>>> 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
> >>>>>>
> >>>>>> Anybody get this issue? anybody use JAVA on production servers?
> >>>>>>
> >>>>>>
> >>>>>> Regards
> >>>>>> Valentin Popov_______________________________________________
> >>>>>> freebsd-java at freebsd.org mailing list
> >>>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> >>>>>> To unsubscribe, send any mail to "freebsd-java-unsubscribe at freebsd.org"
> >>>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> --
> >>>>> Achilleas Mantzios
> >>>>> _______________________________________________
> >>>>> freebsd-java at freebsd.org mailing list
> >>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> >>>>> To unsubscribe, send any mail to "freebsd-java-unsubscribe at freebsd.org"
> >>>>
> >>>> Regards
> >>>>
> >>>> Valentin Popov
> >>>>
> >>>>
> >>>
> >>>
> >>>
> >>> --
> >>> Achilleas Mantzios
> >>
> >> Regards
> >>
> >>
> >>
> >> Valentin Popov
> >>
> >>
> >
> >
> >
> > --
> > Achilleas Mantzios
>
> Thanks for help!
>
>
>
>
>
> Regards
> Valentin Popov
>
>
--
Achilleas Mantzios
More information about the freebsd-java
mailing list