users@glassfish.java.net

Re: Glassfish 2.1 multiprocessors - urgent

From: emiddio-verizon <emiddio_at_verizon.net>
Date: Tue, 26 Jan 2010 13:32:40 -0800

what OS ?--

my glassfish uses whats ever cpu it needs -- has a 4core single cpu --
AFAIK -- its the OS, not glassfish that controls
the cpu binding to processes -- the jvm will run as many threads as it needs
to -- each can be bound to a separate core/cpu.

the OS may/usually has controls for controlling the binding of processes to
cpus.

gary

----- Original Message -----
From: <glassfish_at_javadesktop.org>
To: <users_at_glassfish.dev.java.net>
Sent: Tuesday, January 26, 2010 9:15 AM
Subject: Glassfish 2.1 multiprocessors - urgent


> How can i configure glassfish to use 3 processors? My application is using
> 100% of what I suposed to be only one processor not tree on balance.
> See my top at comand line:
>
> top - 15:09:51 up 3:40, 2 users, load average: 0.37, 0.27, 0.40
> Tasks: 62 total, 1 running, 61 sleeping, 0 stopped, 0 zombie
> Cpu(s): 33.5%us, 0.0%sy, 0.0%ni, 66.5%id, 0.0%wa, 0.0%hi, 0.0%si,
> 0.0%st
> Mem: 3145944k total, 1707492k used, 1438452k free, 29116k buffers
> Swap: 1048568k total, 0k used, 1048568k free, 187568k cached
>
> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
> 3811 jose.bar 20 0 3938m 1.3g 15m S 100 42.8 41:04.56 java
> 1863 root 20 0 122m 3728 1616 S 1 0.1 0:00.36 apache2
> 1 root 20 0 10312 748 620 S 0 0.0 0:00.16 init
> 2 root 15 -5 0 0 0 S 0 0.0 0:00.00 kthreadd
>
>
> COuld be sometimes 100% processing things. Its a crawling application,
> please I need some sample document or link to do that Im not a application
> server administration but I know how to configure it!
>
> thnks
> [Message sent by forum member 'josecarlosbarros'
> (josecarlos.barros_at_gmail.com)]
>
> http://forums.java.net/jive/thread.jspa?messageID=383072
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>