-
-
Notifications
You must be signed in to change notification settings - Fork 223
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
Multi-threaded activating indices restarts server process #7314
Comments
Could you provide reproducible test case ? |
Of course. Could you please provide the instructions, how can I do it? |
How to create reproducible test case:
How to get full memory dump on Windows for given process:
|
For memory dumps, please, use Firebird 3.0.10 release or latest snapshot build. |
I am not shure, I can predict the moment when FB restart occures, to exectute procdump. Is there a way to catch this? |
You told that process is hung, isn't it ? If process crashed actually, you could read carefully description of procdump above or this article |
Any new info ? |
I installed Firebird-3.0.10.33601_0_x64.exe, with pdb. Then run plume and the procdump64 (in another window) and got the 10Gb dump file. |
Compressed dump is 28 MB |
Dump 10GB - looks like you uses big page cache. Anyway, 28MB compressed is not big for download. Is google drive ok for you ? |
Sorry, the previous dump was get on a broken database. I'm not shure it can be useful. |
I've got the smaller dump. Archive only 42MB. How can I pass the link to Google Drive? |
All mentioned above file sizes are not a problem for me. |
Great! I sent the email with links. |
Actually even default server configuration with default db cache pages gives mentioned above behaviour. I can provide dump if necessary. |
@hvlad Test build looks working. There were no server crushes after 5-7 restores of indexes with different number of threads. |
@hvlad Thanks a lot! |
I did backup and resored database without inices. After that I used a program for multithreaded activation of indices - plume (https://github.com/NeoZX/plume).
Server hangs with error:
Fatal lock manager error: invalid lock id (173352), errno: 0
It was about 5-10 times with the same results. I've tested it on two different machines, HQBird 3.0.11.33622, Firebird 3.0.6.33328. Both x64 Win versions.
Shoud the activation of indices be used only using only one thread?
server_log.txt
The text was updated successfully, but these errors were encountered: