leveldb keeps an independent log file called LOG.  There is one LOG file per 
vnode.  Look in your eleveldb "data_root" directory.  Each subdirectory there 
will contain one LOG file.  Pick one at random as part of the previous 
discussion on this thread.

Matthew


On Nov 7, 2013, at 8:21 PM, Matt Black <matt.bl...@jbadigital.com> wrote:

> Interesting thread!
> 
> I had used the old 1.2 spreadsheet to calculate cache_size and max_files - 
> and having used the 1.4 spreadsheet, it looks like I should change my config 
> :)
> 
> However, I'm not seeing anything like the below in my log files. Which log 
> file should I be looking in?
> 
> Cheers
> Matt
> 
> 
> On 8 November 2013 11:50, Matthew Von-Maszewski <matth...@basho.com> wrote:
> Agreed
> 
> Matthew Von-Maszewski
> 
> 
> On Nov 7, 2013, at 19:44, kzhang <kzh...@wayfair.com> wrote:
> 
> > Thanks!
> >
> > The cluster has been in production for 4 months. I found this in leveldb log
> > file:
> > 013/10/25-12:43:10.678239 7fb895781700 compacted to: files[ 0 1 5 31 51 0 0
> > ]
> > 2013/10/29-16:57:26.280633 7fb895781700 compacted to: files[ 0 2 5 31 51 0 0
> > ]
> > 2013/11/03-11:46:15.935006 7fb895781700 compacted to: files[ 0 3 5 31 51 0 0
> > ]
> > 2013/11/07-12:04:18.308733 7fb895781700 compacted to: files[ 0 4 5 31 51 0 0
> > ]
> > 2013/11/07-12:04:29.921077 7fb8958bf700 compacted to: files[ 0 0 20 31 51 0
> > 0 ]
> > 2013/11/07-12:04:31.629970 7fb8958bf700 compacted to: files[ 0 0 19 31 51 0
> > 0 ]
> > 2013/11/07-12:04:34.008481 7fb8958bf700 compacted to: files[ 0 0 18 31 51 0
> > 0 ]
> > 2013/11/07-12:04:38.480066 7fb8958bf700 compacted to: files[ 0 0 17 32 51 0
> > 0 ]
> > 2013/11/07-12:04:39.197229 7fb8958bf700 compacted to: files[ 0 0 15 35 51 0
> > 0 ]
> > 2013/11/07-12:04:41.440583 7fb8958bf700 compacted to: files[ 0 0 14 35 51 0
> > 0 ]
> > 2013/11/07-12:04:44.895349 7fb8958bf700 compacted to: files[ 0 0 13 35 51 0
> > 0 ]
> > 2013/11/07-12:04:47.098208 7fb8958bf700 compacted to: files[ 0 0 12 36 51 0
> > 0 ]
> > 2013/11/07-12:04:51.675148 7fb8958bf700 compacted to: files[ 0 0 11 39 51 0
> > 0 ]
> > 2013/11/07-12:04:53.454434 7fb8958bf700 compacted to: files[ 0 0 10 41 51 0
> > 0 ]
> > 2013/11/07-12:04:58.335885 7fb8958bf700 compacted to: files[ 0 0 9 44 51 0 0
> > ]
> > 2013/11/07-12:05:02.312521 7fb8958bf700 compacted to: files[ 0 0 8 44 51 0 0
> > ]
> > 2013/11/07-12:05:06.239789 7fb8958bf700 compacted to: files[ 0 0 7 44 51 0 0
> > ]
> > 2013/11/07-12:05:09.034111 7fb8958bf700 compacted to: files[ 0 0 6 45 51 0 0
> > ]
> > 2013/11/07-12:05:11.293695 7fb8958bf700 compacted to: files[ 0 0 6 44 51 0 0
> > ]
> > 2013/11/07-12:05:12.762098 7fb8958bf700 compacted to: files[ 0 0 6 43 51 0 0
> > ]
> > 2013/11/07-12:05:15.484027 7fb8958bf700 compacted to: files[ 0 0 6 42 51 0 0
> > ]
> > 2013/11/07-12:05:18.960306 7fb8958bf700 compacted to: files[ 0 0 6 41 51 0 0
> > ]
> >
> > looks like the sum never exceeded 110. I guess I should go ahead change the
> > max open file to 138?
> >
> > Thanks,
> >
> > Kathleen
> >
> >
> >
> >
> > --
> > View this message in context: 
> > http://riak-users.197444.n3.nabble.com/LevelDB-tuning-questions-tp4029246p4029725.html
> > Sent from the Riak Users mailing list archive at Nabble.com.
> >
> > _______________________________________________
> > riak-users mailing list
> > riak-users@lists.basho.com
> > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
> 
> _______________________________________________
> riak-users mailing list
> riak-users@lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
> 

_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to