Re: Pauses of GC

2011-03-21 Thread Jonathan Ellis
No. We do zero allocation by malloc (so far). It's all managed by GC in heap. On Mon, Mar 21, 2011 at 10:25 AM, ruslan usifov wrote: > I mean a linux process heap fragmentation by malloc, so at one critical > moment all memory holden by java process in RSS, and OS core cant allocate > any system

Re: Pauses of GC

2011-03-21 Thread ruslan usifov
I mean a linux process heap fragmentation by malloc, so at one critical moment all memory holden by java process in RSS, and OS core cant allocate any system resource an as result hung? Is it possble?

Re: Pauses of GC

2011-03-21 Thread ruslan usifov
After some investigations i think that my problems is similar to this : http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/reduced-cached-mem-resident-set-size-growth-td5967110.html Now i disable mmap, and set disk_access_mode to mmap_index_only

Re: Pauses of GC

2011-03-17 Thread ruslan usifov
At this moments java hungs. Only one thread is work and it run mostly in OS core, with follow trace: [pid 1953] 0.050157 futex(0x7fbe141ea428, FUTEX_WAKE_PRIVATE, 1) = 0 <0.22> [pid 1953] 0.59 futex(0x7fbc24023794, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, {13002023

Re: Pauses of GC

2011-03-17 Thread Narendra Sharma
Depending on your memtable thresholds the heap may be too small for the deployment. At the same time I don't see any other log statements around that long pause that you have shown in the log snippet. It looks little odd to me. All the ParNew collected almost same amount of heap and did not take lo

Re: Pauses of GC

2011-03-17 Thread ruslan usifov
2011/3/17 Narendra Sharma > What heap size are you running with? and Which version of Cassandra? > > 4G with cassandra 0.7.4

Re: Pauses of GC

2011-03-17 Thread Narendra Sharma
What heap size are you running with? and Which version of Cassandra? Thanks, Naren On Thu, Mar 17, 2011 at 3:45 AM, ruslan usifov wrote: > Hello > > Some times i have very long GC pauses: > > > Total time for which application threads were stopped: 0.0303150 seconds > 2011-03-17T13:19:56.476+030

Pauses of GC

2011-03-17 Thread ruslan usifov
Hello Some times i have very long GC pauses: Total time for which application threads were stopped: 0.0303150 seconds 2011-03-17T13:19:56.476+0300: 33295.671: [GC 33295.671: [ParNew: 678855K->20708K(737280K), 0.0271230 secs] 1457643K->806795K(4112384K), 0.027305 0 secs] [Times: user=0.33 sys=0.0