Re: RE where is cassandra debian packages?

2012-08-24 Thread ruslan usifov
Hm, from erope servere cassandra packages prestn, but from russian servers absent. 2012/8/24 Michal Michalski : > Well, "Works for me". > > W dniu 24.08.2012 11:43, ruslan usifov pisze: > >> no, i got 404 error. >> >> 2012/8/24 Romain HARDOUIN : >>

Re: RE where is cassandra debian packages?

2012-08-24 Thread ruslan usifov
no, i got 404 error. 2012/8/24 Romain HARDOUIN : > > Hi, > The url you mentioned is OK: e.g. > http://www.apache.org/dist/cassandra/debian/dists/11x/ > > > ruslan usifov a écrit sur 24/08/2012 11:26:11 : > >> Hello >> >> looks like http://www.apache.org

where is cassandra debian packages?

2012-08-24 Thread ruslan usifov
Hello looks like http://www.apache.org/dist/cassandra/debian is missing (HTTP 404), may be cassandra moved to other debian repository?

Re: Oftopic: ksoftirqd after ddos take more cpu? as result cassandra latensy very high

2012-07-01 Thread ruslan usifov
2012/7/1 David Daeschler : > Good afternoon, > > This again looks like it could be the leap second issue: > > This looks like the problem a bunch of us were having yesterday that > isn't cleared without a reboot or a date command. It seems to be > related to the leap second that was added between t

Oftopic: ksoftirqd after ddos take more cpu? as result cassandra latensy very high

2012-07-01 Thread ruslan usifov
Hello We was under ddos attack, and as result we got high ksoftirqd activity - as result cassandra begin answer very slow. But when ddos was gone high ksoftirqd activity still exists, and dissaper when i stop cassandra daemon, and repeat again when i start cassadra daemon, the fully resolution of

cassandra 1.0.x and java 1.7

2012-06-18 Thread ruslan usifov
Hello! Is it safe to use java 1.7 with cassandra 1.0.x Reason why i want do that, is that in java 1.7 appear options for rotate GC log: http://bugs.sun.com/bugdatabase/view_bug.do;jsessionid=ff824681055961e1f62393b68deb5?bug_id=6941923

Re: kswapd0 causing read timeouts

2012-06-14 Thread ruslan usifov
Soory i mistaken,here is right string INFO [main] 2012-06-14 02:03:14,520 CLibrary.java (line 109) JNA mlockall successful 2012/6/15 ruslan usifov : > 2012/6/14 Gurpreet Singh : >> JNA is installed. swappiness was 0. vfs_cache_pressure was 100. 2 questions >> on this.. >&

Re: kswapd0 causing read timeouts

2012-06-14 Thread ruslan usifov
or the hot data >>> >> set is >>> >> smaller than the RAM, otherwise just the index would probably be a >>> >> better >>> >> thing to mmap, no?. In my case data size is 85 gigs, while available >>> >> RAM is >>> >&

Re: kswapd0 causing read timeouts

2012-06-14 Thread ruslan usifov
n't have JNA enabled (which Cassandra uses to fadvise) and >> swappiness is at its default of 60, the Linux kernel will happily swap out >> your heap for cache space.  Set swappiness to 1 or 'swapoff -a' and kswapd >> shouldn't be doing much unless you have a to

Re: kswapd0 causing read timeouts

2012-06-13 Thread ruslan usifov
ient starts getting >>>> > continuous timeouts >>> >>> 70% of one core or 70% of all cores ? >>> Check the server logs, is there GC activity ? >>> check nodetool cfstats to see the read latency for the cf. >>> >>> Tak

Re: kswapd0 causing read timeouts

2012-06-08 Thread ruslan usifov
le.com > > On 8/06/2012, at 9:00 PM, Gurpreet Singh wrote: > > Thanks Ruslan. > I will try the mmap_index_only. > Is there any guideline as to when to leave it to auto and when to use > mmap_index_only? > > /G > > On Fri, Jun 8, 2012 at 1:21 AM, ruslan usifov > w

Re: kswapd0 causing read timeouts

2012-06-08 Thread ruslan usifov
disk_access_mode: mmap?? set to disk_access_mode: mmap_index_only in cassandra yaml 2012/6/8 Gurpreet Singh : > Hi, > I am testing cassandra 1.1 on a 1 node cluster. > 8 core, 16 gb ram, 6 data disks raid0, no swap configured > > cassandra 1.1.1 > heap size: 8 gigs > key cache size in mb: 800 (us

Re: nodetool repair -- should I schedule a weekly one ?

2012-06-07 Thread ruslan usifov
Sorry no dinamic snitch, but hinted handoff. Remember casaandra is evently consistent 2012/6/8 ruslan usifov : > Yes, for ONE you cant got inconsistent read in case when one of you > nodes are die, and dinamyc snitch doesn't do it job > > 2012/6/7 Oleg Dulin : >> We have a

Re: nodetool repair -- should I schedule a weekly one ?

2012-06-07 Thread ruslan usifov
Yes, for ONE you cant got inconsistent read in case when one of you nodes are die, and dinamyc snitch doesn't do it job 2012/6/7 Oleg Dulin : > We have a 3-node cluster. We use RF of 3 and CL of ONE for both reads and > writes…. Is there a reason I should schedule a regular nodetool repair job ? >

Re: row_cache_provider = 'SerializingCacheProvider'

2012-06-04 Thread ruslan usifov
I think that SerializingCacheProvider have more JAVA HEAP footprint, then i think 2012/6/4 ruslan usifov : > I have setup 5GB of JavaHeap wit follow tuning: > > MAX_HEAP_SIZE="5G" > HEAP_NEWSIZE="800M" > > JVM_OPTS="$JVM_OPTS -XX:+UseParNewGC&quo

Re: row_cache_provider = 'SerializingCacheProvider'

2012-06-04 Thread ruslan usifov
012/6/4 aaron morton : > Yes SerializingCacheProvider is the off heap caching provider. > > Can you do some more digging into what is using the heap ? > > Cheers > A > > - > Aaron Morton > Freelance Developer > @aaronmorton > http://www.thelastpick

row_cache_provider = 'SerializingCacheProvider'

2012-06-01 Thread ruslan usifov
Hello I begin use SerializingCacheProvider for rows cashing, and got extremely JAVA heap grows. But i think that this cache provider doesn't use JAVA heap

Re: Exception when truncate

2012-05-23 Thread ruslan usifov
ory twice ? > > Cheers > > - > Aaron Morton > Freelance Developer > @aaronmorton > http://www.thelastpickle.com > > On 21/05/2012, at 5:09 AM, ruslan usifov wrote: > > I think as you, but this is not true, there are not any permissions > issue. And as i said before, c

Re: Exception when truncate

2012-05-20 Thread ruslan usifov
apshot. > > On Thu, May 17, 2012 at 4:57 AM, ruslan usifov > wrote: >> Hello >> >> I have follow situation on our test server: >> >> from cassandra-cli i try to use >> >> truncate purchase_history; >> >> 3 times i got: >> >> [de

Re: Exception when truncate

2012-05-17 Thread ruslan usifov
n the cli do a > 'describe cluster;' and see if your ring is okay. > > So I think the operation is just as fast, it just looks like it times out (20 > seconds or something) when trying to perform the command against all of the > nodes in the cluster. > > On May 1

Re: Exception when truncate

2012-05-17 Thread ruslan usifov
immediately and > irrevocably delete this message and any copies.> -Original Message- >> From: ruslan usifov [mailto:ruslan.usi...@gmail.com] >> Sent: Thursday, May 17, 2012 13:06 >> To: user@cassandra.apache.org >> Subject: Re: Exception when truncate >> >&

Re: Exception when truncate

2012-05-17 Thread ruslan usifov
Also i miss understand why on empty CF(no any SStable) truncate heavy loads disk?? 2012/5/17 ruslan usifov : > Hello > > I have follow situation on our test server: > > from cassandra-cli i try to use > > truncate purchase_history; > > 3 times i got: > > [

Exception when truncate

2012-05-17 Thread ruslan usifov
Hello I have follow situation on our test server: from cassandra-cli i try to use truncate purchase_history; 3 times i got: [default@township_6waves] truncate purchase_history; null UnavailableException() at org.apache.cassandra.thrift.Cassandra$truncate_result.read(Cassandra.java:202

Re: get dinamicsnith info from php

2012-05-14 Thread ruslan usifov
. If you are not the intended recipient, you are reminded that > the information remains the property of the sender. You must not use, > disclose, distribute, copy, print or rely on this e-mail. If you have > received this message in error, please contact the sender immediately and > irrevo

get dinamicsnith info from php

2012-05-14 Thread ruslan usifov
Hello I want to route request from php client to minimaly loaded node, so i need dinamicsnitch info and gosip, how can i get this info fro php. Perhaps need some daemon that can communicate with cassandra gosip and translate this info to php (socket for example)???

Re: Thrift error occurred during processing of message

2012-05-11 Thread ruslan usifov
Looks like you used TBUfferedTransport, but sinve 1.0.x cassandra support only framed 2011/12/19 Tamil selvan R.S > Hi, > We are using PHPCassa to connect to Cassandra 1.0.2. After we installed > the thrift extension we started noticing the following in the error logs. > [We didn't notice this

Map reduce without hdfs

2012-04-26 Thread ruslan usifov
Hello to all! It it possible to launch only hadoop mapreduce task tracker and job tracker against cassandra cluster, and doesn't launch HDFS (use for shared storage something else)?? Thanks

Re: swap grows

2012-04-18 Thread ruslan usifov
Thanks for link. But for me still present question about free memory. In out cluster we have 200 IOPS in peaks, but still have about 3GB of free memory on each server (cluster have 6 nodes tho there are 3*6=18 GB of unused memry). I think that OS must fill all memory with pagecache (we do backups

Re: swap grows

2012-04-15 Thread ruslan usifov
grep 'pages swapped in' | awk '{ print $1 }'). So looks like that you right, and i has filled up my knowledge:-)) 2012/4/15 Віталій Тимчишин > BTW: Are you sure system doing wrong? System may save some pages to swap > not removing them from RAM simply to have possibility to re

Re: swap grows

2012-04-14 Thread ruslan usifov
plain this situation 2012/4/14 R. Verlangen > Its recommended to disable swap entirely when you run Cassandra on a > server. > > > 2012/4/14 ruslan usifov > >> I forgot to say that system have 24GB of phis memory >> >> >> 2012/4/14 ruslan usif

Re: swap grows

2012-04-13 Thread ruslan usifov
I forgot to say that system have 24GB of phis memory 2012/4/14 ruslan usifov > Hello > > We have 6 node cluster (cassandra 0.8.10). On one node i increase java > heap size to 6GB, and now at this node begin grows swap, but system have > about 3GB of free memory: > >

swap grows

2012-04-13 Thread ruslan usifov
Hello We have 6 node cluster (cassandra 0.8.10). On one node i increase java heap size to 6GB, and now at this node begin grows swap, but system have about 3GB of free memory: root@6wd003:~# free total used free sharedbuffers cached Mem: 24733664 21702

Re: need of regular nodetool repair

2012-04-11 Thread ruslan usifov
your data have TTL, >> all HH works, and you never delete your data. >> >> >> On 04/11/2012 11:34 AM, ruslan usifov wrote: >> >> Sorry fo my bad english, so QUORUM allow doesn't make repair regularity? >> But form your anser it does not follow &g

Re: need of regular nodetool repair

2012-04-11 Thread ruslan usifov
s in the manual > http://wiki.apache.org/cassandra/Operations#Repairing_missing_or_inconsistent_data > (point > 2) > > > 2012/4/11 ruslan usifov > >> Hello >> >> I have follow question, if we Read and write to cassandra claster with >> QUORUM consistency

need of regular nodetool repair

2012-04-11 Thread ruslan usifov
Hello I have follow question, if we Read and write to cassandra claster with QUORUM consistency level, does this allow to us do not call nodetool repair regular? (i.e. every GCGraceSeconds)

Re: Resident size growth

2012-04-10 Thread ruslan usifov
heers > > > > - > > Aaron Morton > > Freelance Developer > > @aaronmorton > > http://www.thelastpickle.com > > > > On 9/04/2012, at 5:09 AM, ruslan usifov wrote: > > > > mmap sstables? It's normal > > > > 2012/

Re: Resident size growth

2012-04-10 Thread ruslan usifov
> Aaron Morton > Freelance Developer > @aaronmorton > http://www.thelastpickle.com > > On 9/04/2012, at 5:09 AM, ruslan usifov wrote: > > mmap sstables? It's normal > > 2012/4/5 Omid Aladini > >> Hi, >> >> I'm experiencing a stead

Re: Resident size growth

2012-04-08 Thread ruslan usifov
mmap sstables? It's normal 2012/4/5 Omid Aladini > Hi, > > I'm experiencing a steady growth in resident size of JVM running > Cassandra 1.0.7. I disabled JNA and off-heap row cache, tested with > and without mlockall disabling paging, and upgraded to JRE 1.6.0_31 to > prevent this bug [1] to lea

upgrade from cassandra 0.8 to 1.0

2012-04-05 Thread ruslan usifov
Hello It's looks that cassandra 1.0.x is stable, and have interesting things like offheap memtables and row cashes, so we want to upgrade to 1.0 version from 0.8. Is it possible to do without cluster downtime (while we upgrade all nodes)? I mean follow: when we begin upgrade at some point in worki

Re: repair broke TTL based expiration

2012-03-19 Thread ruslan usifov
and have consistency level for data manipulation QUORUM 2012/3/20 Radim Kolar : > Dne 19.3.2012 23:33, ruslan usifov napsal(a): > >> Do you make major compaction?? > > no, i do cleanups only. Major compactions kills my node with OOM.

Re: repair broke TTL based expiration

2012-03-19 Thread ruslan usifov
Do you make major compaction?? 2012/3/19 Radim Kolar : > I suspect that running cluster wide repair interferes with TTL based > expiration. I am running repair every 7 days and using TTL expiration time 7 > days too. Data are never deleted. > Stored data in cassandra are always growing (watching t

Re: slow read

2012-03-05 Thread ruslan usifov
And sum of all rq/s threads is 160?? 2012/3/5 Jeesoo Shin > Thank you for reply. :) > Yes I did multiple thread. > 160, 320 gave me same result. > > On 3/5/12, ruslan usifov wrote: > > 2012/3/5 Jeesoo Shin > > > >> Hi all. > >> > >> I ha

Re: slow read

2012-03-05 Thread ruslan usifov
2012/3/5 Jeesoo Shin > Hi all. > > I have very SLOW READ here. :-( > I made a cluster with three node (aws xlarge, replication = 3) > Cassandra version is 1.0.6 > I have inserted 1,000,000 rows. (standard column) > Each row has 200 columns. > Each column has 16 byte key, 512 byte value. > > I us

Wrong version in debian repository

2012-02-07 Thread ruslan usifov
Hello I think that in http://www.apache.org/dist/cassandra/debian repo there is incorret version for 0.8 branch. There is 0.8.8, but latest version is 0.8.9. May be this repository is abandoned?

Re: Disable Nagle algoritm in thrift i.e. TCP_NODELAY

2012-01-26 Thread ruslan usifov
use sock extension it uses php streams(http://ru.php.net/manual/en/book.stream.php) aka fsockopen stream_socket_recvfrom etc, but php sreams doesn't allow set any sock options:-(. > Sridhar > > 2012/1/26 ruslan usifov : > > > > > > 27 января 2012 г. 1:19 пользова

Re: Disable Nagle algoritm in thrift i.e. TCP_NODELAY

2012-01-26 Thread ruslan usifov
gt; > There is no global setting in linux to turn off nagle. > > Sridhar > > > 2012/1/26 Jeffrey Kesselman : > > You know... here aught to be a command line command to set it. There is in > > Solaris and Windows. But Im having trouble finding it for Linux. > > &

Re: Disable Nagle algoritm in thrift i.e. TCP_NODELAY

2012-01-26 Thread ruslan usifov
mall packets, > which results in poor utilization of the network. This option cannot be > used at the same time as the option *TCP_CORK."* *http://bit.ly/zpvLbP* > * > * > > On Thu, Jan 26, 2012 at 12:10 PM, ruslan usifov > wrote: > >> >> >> 2012/1/2

Re: Disable Nagle algoritm in thrift i.e. TCP_NODELAY

2012-01-26 Thread ruslan usifov
2012/1/26 Jeffrey Kesselman > Most operating systems have a way to do this at the OS level. > > Could you please provide this way for linux?, for particular application? Maybe some sysctl? > > On Thu, Jan 26, 2012 at 8:17 AM, ruslan usifov wrote: > >> Hello >> >

Re: Enable thrift logging

2012-01-24 Thread ruslan usifov
gt; > Pick a "custom" loglevel and redirect them with the /etc/syslog.conf ? > > 2012/1/24 ruslan usifov > >> Hello >> >> I try to log thrift log message (this need to us for solve communicate >> problem between Cassandra daemon and php clie

Enable thrift logging

2012-01-24 Thread ruslan usifov
Hello I try to log thrift log message (this need to us for solve communicate problem between Cassandra daemon and php client ), so in log4j-server.properties i write follow lines: log4j.logger.org.apache.thrift.transport=DEBUG,THRIFT log4j.appender.THRIFT=org.apache.log4j.RollingFileAppender log

Re: performance reaching plateau while the hardware is still idle

2011-12-15 Thread ruslan usifov
Use parallel test:-))) 2011/12/15 Kent Tong > Hi, > > I am running a performance test for Cassandra 1.0.5. It can perform about > 1500 business operation (one read+one write to the same row) per second. > However, the CPU is still 85% idle (as shown by vmstat) and the IO > utilization is less th

Prevent create snapshot when truncate

2011-12-12 Thread ruslan usifov
Hello Every time when we do truncate, cassandra automatically create snapshots. How can we prevent this?

Re: Does anybody know why Twitter stop integrate Cassandra as Twitter store?

2011-10-05 Thread ruslan usifov
Big thanks for all your replies

Re: Does anybody know why Twitter stop integrate Cassandra as Twitter store?

2011-10-04 Thread ruslan usifov
Hello 2011/10/4 Paul Loy > Did you read the article you posted? > Yes > "*We believe that this isn't the time to make large scale migration to a > new technology*. We will focus our Cassandra work on new projects that we > wouldn't be able to ship without a large-scale data store. There was

Does anybody know why Twitter stop integrate Cassandra as Twitter store?

2011-10-04 Thread ruslan usifov
http://engineering.twitter.com/2010/07/cassandra-at-twitter-today.html As said in this post Twiter stop working on using Cassandra as a store for Tweets, but there nothing said why they made this decision? Does anybody have mo information

Re: Problems using Thrift API in C

2011-07-29 Thread ruslan usifov
Do you have any error messages in cassandra log? 2011/7/28 Aleksandrs Saveljevs > Dear all, > > We are considering using Cassandra for storing gathered data in Zabbix (see > https://support.zabbix.com/**browse/ZBXNEXT-844for > more details). Becaus

Re: What will be the steps for adding new nodes

2011-04-16 Thread ruslan usifov
2011/4/16 Roni : > I have a 0.6.4 Cassandra cluster of two nodes in full replica (replica > factor 2). I wants to add two more nodes and balance the cluster (replica > factor 2). > > I want all of them to be seed's. > > > > What should be the simple steps: > > 1. add the "true" to all the nodes or 

Re: Cassandra constantly nodes which doens allredy exists

2011-04-12 Thread ruslan usifov
2011/4/12 aaron morton > In JConsole go to o.a.c.db.HintedHandoffManager and try the > deleteHintsForEndpopints operation. > > This is also called as when a token is removed from the ring, or when a > node is decomissioned. > > What process did you use to reconfigure the cluster? > > I decommissi

Cassandra constantly nodes which doens allredy exists

2011-04-11 Thread ruslan usifov
Hello I use cassandra 0.7.4. After reconfiguring cluster on one node i constantly see folow log: INFO [GossipStage:1] 2011-04-11 17:14:13,514 StorageService.java (line 865) Removing token 56713727820156410577229101238628035242 for /10.32.59.202 INFO [ScheduledTasks:1] 2011-04-11 17:14:13,514 Hint

Re: Flush / Snapshot Triggering Full GCs, Leaving Ring

2011-04-07 Thread ruslan usifov
2011/4/7 Jonathan Ellis > Hypothesis: it's probably the flush causing the CMS, not the snapshot > linking. > > Confirmation possibility #1: Add a logger.warn to > CLibrary.createHardLinkWithExec -- with JNA enabled it shouldn't be > called, but let's rule it out. > > Confirmation possibility #2:

Re: ParNew (promotion failed)

2011-04-01 Thread ruslan usifov
Also after all this messages in stdout.log i see follow: [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor3] [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor2] [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor1] [Unloading class sun.r

Re: memtable_threshold

2011-03-31 Thread ruslan usifov
Fo all who reply on this topic, thanks, for you patience and explanations

Re: who to contact?

2011-03-30 Thread ruslan usifov
This bug was fixed in thrift php trunk 2011/3/30 William Oberman > I think I found a bug in the cassandra PHP client. I'm using phpcassa, but > the bug is in thrift itself, which I think that library phpcassa just > wraps. In any case, I was trying to test on my local machine, which has > limi

Re: memtable_threshold

2011-03-28 Thread ruslan usifov
2011/3/29 Narendra Sharma > This is because the memtable threshold is not correct to the last byte. The > threshold basically account for column name, value and timestamp (or the > serialized column). It doesn't account for all the in-memory overhead for > maintaining the data and references etc.

Re: ParNew (promotion failed)

2011-03-26 Thread ruslan usifov
2011/3/23 ruslan usifov > Hello > > Sometimes i seen in gc log follow message: > > 2011-03-23T14:40:56.049+0300: 14897.104: [GC 14897.104: [ParNew (promotion > failed) > Desired survivor size 41943040 bytes, new threshold 2 (max 2) > - age 1:5573024 bytes,5

Re: debian/ubuntu mirror down?

2011-03-25 Thread ruslan usifov
Cassandra issue tracker have ticket for this (and in this list link on this ticket was posted, but i forgot where) 2011/3/25 Shashank Tiwari > The Ubuntu Software Update seems to complain -- > Failed to fetch > http://www.apache.org/dist/cassandra/debian/dists/unstable/main/binary-amd64/Packages

Re: Add node to balanced cluster?

2011-03-25 Thread ruslan usifov
2011/3/25 Eric Gilmore > Ruslan, I'm not sure exactly what risks you are referring to -- can you be > more specific? > > Do the CPU-intensive operations one at a time, including doing the cleanup > when it will not interfere with other operations, and I think you should be > fine, from my underst

Re: Add node to balanced cluster?

2011-03-25 Thread ruslan usifov
2011/3/25 Eric Gilmore > Also: > http://www.datastax.com/docs/0.7/operations/clustering#adding-capacity > > Can do that about i represent, but i afraid that when i begin balance cluster with new node this will be a big stress for it. Mey be exists some strategies how to do that?

Add node to balanced cluster?

2011-03-24 Thread ruslan usifov
Hello Which strategy should i use to and new node to fully balanced cluster (nodes tokens are generated by python script: def tokens(nodes): for x in xrange(nodes): print 2 ** 127 / nodes * x tokens(3); ) How to get balanced cluster after adding ne node without big stress for current clus

Why disc access mode conf parameter deleted from yaml in cassandra 0.7 brunch,

2011-03-24 Thread ruslan usifov
mmap which will be set default on 64 bit platforms works badly (i don't know reason why this happens but this is happens on 4 machines in my case so i don't think that it is hardware problems)

Re: error connecting to cassandra 0.7.3

2011-03-24 Thread ruslan usifov
and where is transport creation for your thrift interface? Cassandra 0.7 uses Framed transport as default 2011/3/24 Anurag Gujral > > I am using the following code to create my client. > > tr = new TSocket(url, port); > TProtocol proto = new TBinaryProtocol(tr); > client = new Cassandra.Client

Re: ParNew (promotion failed)

2011-03-24 Thread ruslan usifov
2011/3/24 Erik Onnen > It's been about 7 months now but at the time G1 would regularly > segfault for me under load on Linux x64. I'd advise extra precautions > in testing and make sure you test with representative load. > Which java version do you use?

Re: ParNew (promotion failed)

2011-03-23 Thread ruslan usifov
2011/3/23 Narendra Sharma > I understand that. The overhead could be as high as 10x of memtable data > size. So overall the overhead for 16CF collectively in your case could be > 300*10 = 3G. > > > And how about G1 GC, it must prevent memory fragmentation. but some post on this email, told that i

Re: ParNew (promotion failed)

2011-03-23 Thread ruslan usifov
2011/3/23 Narendra Sharma > I think it is due to fragmentation in old gen, due to which survivor area > cannot be moved to old gen. 300MB data size of memtable looks high for 3G > heap. I learned that in memory overhead of memtable can be as high as 10x of > memtable data size in memory. So eithe

ParNew (promotion failed)

2011-03-23 Thread ruslan usifov
Hello Sometimes i seen in gc log follow message: 2011-03-23T14:40:56.049+0300: 14897.104: [GC 14897.104: [ParNew (promotion failed) Desired survivor size 41943040 bytes, new threshold 2 (max 2) - age 1:5573024 bytes,5573024 total - age 2:5064608 bytes, 10637632 total : 672577K->

Re: change node IP address

2011-03-23 Thread ruslan usifov
2011/3/23 aaron morton > Which version are you using ? > > It looks like using 0.7X (and prob 0.6) versions you can just shutdown the > node and bring it back up with the new IP and It Just Works > https://issues.apache.org/jira/browse/CASSANDRA-872 > > > So to replace one machine on another, the

Re: Advice on mmap related swapping issue

2011-03-22 Thread ruslan usifov
2011/3/22 Adi > I have been going through the mailing list and compiling suggestions to > address the swapping due to mmap issue. > > 1) Use JNA (done but) > Are these steps also required: > - Start Cassandra with CAP_IPC_LOCK (or as "root"). (not done) > And what is CAP_IPC_LOCK?

unused memory

2011-03-22 Thread ruslan usifov
Hello I have 3 node cluster. But i think that something wrong happens on one of this nodes. On two nodes cache uses all system memory and disc usage is small, but on one node cash doesn't use all memory and top utility shows about 2GB of free memory, and disk usage on that node is more intensive.

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
ed almost same amount of heap and did not take > lot of time. > > Check if it is due to some JVM bug. > http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6477891 > > -Naren > > > On Thu, Mar 17, 2011 at 9:47 AM, ruslan usifov wrote: > >> >> >> 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 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

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

replace one node to onother

2011-03-16 Thread ruslan usifov
Hello For example if we want change one server to another with ip address change too. How can we that eases way? For now we do nodetool removetocken, then set autobootstrap: true on new server (with the token that was on old node)

swap setting on linux

2011-03-16 Thread ruslan usifov
Dear community! Please share you settings for swap on linux box

Re: Move token to another node

2011-03-15 Thread ruslan usifov
2011/3/15 Sasha Dolgy > Hi Ruslan, > > nodetool -h move > > And how add node to cluster without token?

Move token to another node

2011-03-15 Thread ruslan usifov
Hello I have follow task. I want to move token from one node to another how can i do that?

Calculate memory used for keycache

2011-03-14 Thread ruslan usifov
Hello How is it possible calculate this value? I think that key size, if we use RandomPartitioner will 16 bytes so keycache will took 16*(num of keycache elements) bytes ??

Re: Strange behaivour

2011-03-14 Thread ruslan usifov
I detect that this was after change schema and it hung on waitpid syscall. What can i do with this?

Re: Strange error

2011-03-13 Thread ruslan usifov
2011/3/14 aaron morton > What sort of workload was that ? All read and write or could there have > been some deletes as well? > Many reads, some writes, and some deletes

Re: Strange error

2011-03-13 Thread ruslan usifov
2011/3/14 aaron morton > Looks related to CASSANDRA-1559 > https://issues.apache.org/jira/browse/CASSANDRA-1559 which should be fixed > in 0.7.4 > > However everyone > said it should not happen. Can you provide some more detail about what you

Re: Strange behaivour

2011-03-13 Thread ruslan usifov
2011/3/13 aaron morton > It's difficult to say what's causing the freeze. > > Was the node rejecting client connections during this time ? > Yes. I think that hung all java because jmx doesn't respond too > Did any of the other nodes log that the node that was freezing was down ? > Yes > Is

Strange error

2011-03-13 Thread ruslan usifov
Hello in working cluster of cassandra 0.7.3 in system.log i see 2 simular errors: ERROR [ReadStage:12] 2011-03-13 20:27:20,431 AbstractCassandraDaemon.java (line 114) Fatal exception in thread Thread[ReadStage:12,5,m ain] java.lang.NullPointerException at org.apache.cassandra.db.Column.rec

Re: memory utilization

2011-03-12 Thread ruslan usifov
2011/3/12 Jonathan Ellis > Nothing happens, because it _doesn't have to be resident_. > > Hm, but why in my case top show RSS 10g, when max HEAP_SIZE is 6G?? PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 27650 cassandr 20 0 14.9g 10g 3.8g S 51 86.6 370:15.82 jsvc 205

Re: memory utilization

2011-03-12 Thread ruslan usifov
2011/3/11 Chris Burroughs > Is there an more or less constant amount of resident memory, or is it > growing over a period of days? > As said in cassandra wiki: >>>The main argument for using mmap() instead of standard I/O is the fact that reading entails just touching memory - in the case of th

Re: Poor performance on small data set

2011-03-12 Thread ruslan usifov
Here is php windows extension but you must use trunk version of thrift 2011/3/12 Vodnok > Thank you all for your replies > > > "nagle + delayed ACK problem" : I founded a way to solve this via regedit > but no impact on response time > > THRIFT-638 : It seems to be a solution but i don't know ho

cassandra and G1 gc

2011-03-09 Thread ruslan usifov
Hello Does anybody use G1 gc in production? What your impressions?

Re: Nodes frozen in GC

2011-03-08 Thread ruslan usifov
2011/3/8 Peter Schuller > > $client->batch_mutate($mutations, > > cassandra_ConsistencyLevel::QUORUM); > > Btw, what are the mutations? Are you doing something like inserting > both very small values and very large ones? > > I have big xml file (5 GB) (mysql dump in xml format) an

Re: Nodes frozen in GC

2011-03-08 Thread ruslan usifov
2011/3/8 Paul Pak > Hi Ruslan, > > Is it possible for you to tell us the details on what you have done which > measurably helped your situation, so we can start a "best practices" doc on > growing cassandra systems? > > So far, I see that under load, cassandra is rarely "ready" to take heavy > l

Re: cassandra + zabbix

2011-03-08 Thread ruslan usifov
You can simply write you own java agent(this doesn't require chage of source code), you can simply begin from http://blogs.sun.com/jmxetc/entry/connecting_through_firewall_using_jmx, http://download.oracle.com/javase/6/docs/api/java/lang/instrument/package-summary.html, In agent you can start HTTP

  1   2   >