Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot connect to tokumx #1220

Open
fydot opened this issue Mar 28, 2015 · 4 comments
Open

Cannot connect to tokumx #1220

fydot opened this issue Mar 28, 2015 · 4 comments

Comments

@fydot
Copy link

fydot commented Mar 28, 2015

I run sudo service tokumx start, and Then I run 'sudo service tokumx status', it told me tokumx is running.
BUT, I use telnet to connect to the port 27017, I got Connection refused. tokumx.log is below.

***** SERVER RESTARTED *****

Sat Mar 28 13:56:56.358 [initandlisten] TokuMX starting : pid=11126 port=27017 dbpath=/var/lib/tokumx 64-bit host=spamhunter01
Sat Mar 28 13:56:56.358 [initandlisten] TokuMX mongod server v2.0.0-mongodb-2.4.10, using TokuKV rev 668f1118593ba0976b6ec68768062f64d418ec83
Sat Mar 28 13:56:56.358 [initandlisten] git version: c7f2e01
Sat Mar 28 13:56:56.358 [initandlisten] build info: Linux 217b861cf5d7 3.11.0-26-generic #45-Ubuntu SMP Tue Jul 15 04:02:06 UTC 2014 x86_64 GNU/Linux BOOST_LIB_VERSION=1_49
Sat Mar 28 13:56:56.358 [initandlisten] options: { config: "/etc/tokumx.conf", dbpath: "/var/lib/tokumx", logappend: "true", logpath: "/var/log/tokumx/tokumx.log", pluginsDir: "/usr/lib/tokumx/plugins" }
Sat Mar 28 13:56:56.375 [initandlisten] [tokumx] startup
Sat Mar 28 13:56:56 2015 TokuFT recovery starting in env /var/lib/tokumx
Sat Mar 28 13:56:56 2015 TokuFT recovery scanning backward from 384276973
Sat Mar 28 13:56:56 2015 TokuFT recovery bw_end_checkpoint at 384276973 timestamp 1427520260775675 xid 384126469 (bw_newer)
Sat Mar 28 13:56:57 2015 TokuFT recovery bw_begin_checkpoint at 384126469 timestamp 1427520225970716 (bw_between)
Sat Mar 28 13:56:57 2015 TokuFT recovery turning around at begin checkpoint 384126469 time 34804959
Sat Mar 28 13:56:57 2015 TokuFT recovery starts scanning forward to 384276973 from 384126469 left 150504 (fw_between)

@herrsebi
Copy link

I'm seeing the same thing on a tokumx after a crash. any updates?

@fydot
Copy link
Author

fydot commented Apr 22, 2015

I had to delete all my db data, and restart then.

@herrsebi
Copy link

That's rather unpleasant... Our server came up after a couple of hours. I'll post a separate issue as there seems to be an underlying ydb bug...

@prohaska7
Copy link
Contributor

TokuDB (the fractal tree engine for MySQL) uses the same fractal tree code as TokuMX. We have long crash recovery times in TokuDB caused by the existence of big transactions. Big transactions have big rollback logs that will take a long time to unwind. Unfortunately, there is no visibility into the progress of handling a big transaction rollback log during crash recovery in TokuMX. Do you have any big transactions running in your application?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants