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

Core dump occurs when YCSB is executed. #4

Open
yqekzb123 opened this issue Sep 25, 2020 · 4 comments
Open

Core dump occurs when YCSB is executed. #4

yqekzb123 opened this issue Sep 25, 2020 · 4 comments

Comments

@yqekzb123
Copy link

yqekzb123 commented Sep 25, 2020

Hello, I have been trying to use your system for testing recently. But when I test the YCSB load here, core dump always happens.
Here's a screenshot of Core Dump.
The command to test YCSB is ./ycsb_bench --dbid=mvcc --nthreads=1 --mode=C --time=10 –perf
微信图片_20200925101710
In addition, I am using Centos7.5 and g++ version 10.2.0.
By core dump, the problem should be in the str.reserve() function with the value of the __tmp variable 0x0. But I'm not sure why this is the case.
Do you know why this is? How should I handle it?
Thank you very much!

@huangyihe
Copy link
Contributor

The problem appears to be due to the lack of hugetlb pages. Use the ./mount_hugepages.sh script to mount the appropriate number of hugetlb pages (see comments in the script for suggestions) and this error should go away.

@yqekzb123
Copy link
Author

Thanks for your reply, I tried to use./mount_hugepages.sh 65536. And TPCC for 1 Warehouse can be tested normally.
But when I test YCSB, the same core will still happen after a while.
Is it because The number of pages I set is not large enough?

@yqekzb123
Copy link
Author

And can the system run with 8GB of ram? If so, where in the code do I need to change? Thank you very much.

@wqian94
Copy link
Contributor

wqian94 commented Nov 26, 2020

Sorry, just getting around to responding here. Yes, the system can run with 8GB of ram. Are you still encountering the same core dump as you were before?

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