Thank you, Binod!
I set rlim_fd_max=8193 in /etc/system file, reboot machine, turn on ASQuickStartup.
It works very fast!
Thank you!
-----Original Message-----
From: Binod <Binod.Pg_at_Sun.COM>
To: dev_at_glassfish.dev.java.net, mozheyko_d_at_mail.ru
Date: Thu, 20 Apr 2006 14:33:16 +0530
Subject: Re: 100% CPU on Solaris 10 Sparc
>
>
> If you are using JDK 5.0 U6, then you may be hitting...
>
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6322825
>
> This appeared in 5.0 u6 and is fixed in mustang (Java SE 6).
>
> You can workaround this by increasing the hard file descriptor limit
> (ulimit -n -H) to 8193 or higher.
>
> I think the default for Solaris 10 is 8193 or higher. Someone might have
> changed the size in this machine.
>
> You dont need to switch off quickstartup.
>
> thanks,
> Binod.
>
> >I install Sun Java System Application Server Platform Edition 9.0 (build b43) from glassfish-installer-b43-nightly-09_apr_2006.jar onto SunOS XXX 5.10 Generic_118833-03 sun4u sparc SUNW,Sun-Fire-V210.
> >
> >Primary start failed, i find error in forums and add "<jvm-options>-Dcom.sun.enterprise.server.ss.ASQuickStartup=false</jvm-options>" string in domain.xml file.
> >
> >Server started.
> >
> >But prstat util show that 100% CPU always used by java-process:
> > PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP
> > 506 sun 326M 228M cpu0 0 0 0:40:40 99,9% java/69
> >...
> >
> >and 4848 admin-listener and 8080-http-listener without SSL don't work with timeout
> >
> >For "normal" working i turn on security on admin-listener, but CPU using still 100%
> >
> >only after DELETING(not disabling) http-listener1 8080 and RMI-IIOP listener 3700, cpu using become to normal state.
> >
> >How to use GlassFish on Sun platform?
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> >For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>