Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / July 2006

Tip: Looking for answers? Try searching our database.

server full GC stops all clients

Thread view: 
yogi - 05 Jul 2006 08:02 GMT
Hi Group,

I have an interesting issue related to GC in client server topology,

When one server embarks on a full GC, all clients and servers come to a
halt until the GC is complete. So, if a system had N servers and each
server hit a full GC every M seconds, there would be a global flatline
every M/N seconds.

For example, GC every 80 seconds and 20 servers averages 1 global
flatline every 4 seconds.

It is unclear why all clients and all servers stop on one server's full
GC.

Thanks in Advance.

Yogi
Oliver Wong - 05 Jul 2006 19:55 GMT
> Hi Group,
>
[quoted text clipped - 12 lines]
>
> Thanks in Advance.

   How are the servers connected to each other, if at all? Do the servers
ever wait for data from a client?

   - Oliver
yogi - 06 Jul 2006 08:40 GMT
Thanks for your reply Oliver.

Yes server does wait for data from client.
Servers are connected meanig .. they are running in same VM.

-Yogi

> > Hi Group,
> >
[quoted text clipped - 17 lines]
>
>     - Oliver
Oliver Wong - 06 Jul 2006 15:48 GMT
[post re-ordered]
>> > Hi Group,
>> >
[quoted text clipped - 17 lines]
> Yes server does wait for data from client.
> Servers are connected meanig .. they are running in same VM.

   Perhaps running them in different VMs would solve the GC flatline
problem.

   - Oliver
Chris Smith - 06 Jul 2006 19:23 GMT
>     Perhaps running them in different VMs would solve the GC flatline
> problem.

Also, -Xincgc may help, if they need to be in the same VM.

Signature

Chris Smith - Lead Software Developer / Technical Trainer
MindIQ Corporation



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.