-
Notifications
You must be signed in to change notification settings - Fork 214
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
Segfault /paging issue for DBs with big buffers #742
Comments
The Redhat maschine was not so verbose.
/var/log/messages: gdb dump:
Same virtuoso.ini as above: Package Dependencies:
htop while core dumping: I hope someone can help us |
How much memory (both in-total and available-to-Virtuoso) is actually installed in your test environments? Have you tweaked "swappiness"? |
The host machine has 1,5 TB memory swappiness is still at default. It's worth a try, but the seqfault always happens at 666/333 GB. |
Yep. Same here. VMWare guest at about 800 GB of memory. Virtuoso crashes at about 674 gb virtual memory allocation. Way before the machine runs out of memory or feels any need to swap. |
free -m:
|
Today I compiled the last git version and have now the same error at around 666GB as @mybyte.
Nobody here who could help us? |
@ffritsche development is currently looking into this crash. i will advice as soon as we have a solution |
Thanks a lot! |
An update from my side. |
@ffritsche Just confirming a probable typo -- you said "a fresh Redhat 7.5 Server with 1GB Ram", where I think you meant "with 1TB RAM"? |
yeah 1TB |
I have an other update.
Virtuoso starts with this configuration at around 400GB virtual size and 200GB resident size memory. I hope this helps |
@ffritsche: Note the I also note that you are using a I also note that you have the following set in your INI file:
which means unused threads/resources are not cleaned up, on the assumption they will soon be reused, which can be construed as excessive memory consumption (or memory leak). We suggest these both be set to |
Update: |
Development suggest in libsrc/Wi/wi.h on line 38 comment out
then perform a full rebuild ( Should the problem still persist please provide a gdb stack trace from core file as done previously for review ... |
@HughWilliams Thanks that does the trick. Does this have any impact on the system? |
There may be extra memory usage due to more memory fragmentation, thus this should be monitored. You should also run the |
When setting the buffers to high numbers, virtuoso crashes with a segfault:
It seems to crash around 670 GB of virtual memory.
Tested with different builds (commits from beginning of 2017 up until latest) of VOS. On different machines (RHEL, Fedora). RHEL builds seem to be less verbose about the cause, but segfaults (and memory consumption at which they occur) seem to be consistent. Completely reproducible with any fresh db.
Configuration:
The text was updated successfully, but these errors were encountered: