server full GC stops all clients

Y

yogi

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
 
O

Oliver Wong

yogi said:
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.

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

- Oliver
 
Y

yogi

Thanks for your reply Oliver.

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

-Yogi
 
O

Oliver Wong

[post re-ordered]
yogi said:
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
 
C

Chris Smith

Oliver Wong said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top