-
Notifications
You must be signed in to change notification settings - Fork 20
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
Check not pass #5
Comments
Seems |
Hi,
The error seems to come from the user limit of memory locking.
Please check it by this command.
$ ulimit -l
You can loosen the limit by this, then please run "make check".
$ ulimit -S -l 1024
…On Tue, Jan 19, 2021 at 5:05 PM Eugene ***@***.***> wrote:
Seems rebuild operation and --rebuild option cause errors.
As a --lock_mem_buckets option.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#5 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQGJVRCXGFYZ7BM3ZVVLVJTS2U4MFANCNFSM4WHYLSCQ>
.
|
As for my home host it is 64.
But anyway I cannot change this value in Fedora project’s packaging «build fabric».
And in other’s users hosts.
… 19 янв. 2021 г., в 19:28, Mikio Hirabayashi ***@***.***> написал(а):
Hi,
The error seems to come from the user limit of memory locking.
Please check it by this command.
$ ulimit -l
You can loosen the limit by this, then please run "make check".
$ ulimit -S -l 1024
On Tue, Jan 19, 2021 at 5:05 PM Eugene ***@***.***> wrote:
> Seems rebuild operation and --rebuild option cause errors.
> As a --lock_mem_buckets option.
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#5 (comment)>, or
> unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AQGJVRCXGFYZ7BM3ZVVLVJTS2U4MFANCNFSM4WHYLSCQ>
> .
>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#5 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AALTYSYSBAABXWTGAH75QKTS2WXMBANCNFSM4WHYLSCQ>.
|
Is the hard limit 64? |
ulimit -S -l 1024; make check
…
LD_LIBRARY_PATH=.:/usr/local/lib: ./tkrzw_dbm_perf sequence --dbm hash --file mmap-para --path casket.tkh \
--iter 20000 --threads 5 --size 8 --buckets 100000 --lock_mem_buckets
OpenAdvanced failed: SYSTEM_ERROR: mlock: no enough memory
… 19 янв. 2021 г., в 19:41, Mikio Hirabayashi ***@***.***> написал(а):
Is the hard limit 64?
The hard limit cannot be changed but the soft limit can.
Isn't it possible to write the test script like this?:
$ ulimit -S -l 1024 ; make check
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#5 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AALTYS7UGIJRZ3OE4KCUXNTS2WYZ3ANCNFSM4WHYLSCQ>.
|
What is printed when you run this? |
bash-5.0$ LC_ALL=C ulimit -S -l 1024
bash: ulimit: max locked memory: cannot modify limit: Invalid argument
PS. BTW - this will be interesting for you: https://bugzilla.redhat.com/show_bug.cgi?id=1914292 <https://bugzilla.redhat.com/show_bug.cgi?id=1914292>
Process is continuing, we make everything to bump tkrzw into RHEL, but as you can see there some stones on this way.
… 19 янв. 2021 г., в 20:34, Mikio Hirabayashi ***@***.***> написал(а):
What is printed when you run this?
$ ulimit -S -l 1024 ; ulimit -l
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#5 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AALTYS6Z7JORAC3LCLOXKMTS2W7DHANCNFSM4WHYLSCQ>.
|
Then, there's no way to test the memory locking feature on your environment. |
May be good idea to switch those tests off by default and return back with special configure option? |
I committed the CL to suppress the test flags for mlock if there's not enough allowed capacity. |
Now tkrzw is packaging for RHEL8/Fedora 32..35 without any patch, with all available tests and skipping unavailable (like this). |
0.9.14 - problems again.
|
That seems a different problem from the --lock_mem_buckets option. |
I don't build manually - just 'autoreconf && configure && make && make check'. |
One reason is that the direct I/O feature is not supported on every platform. Another reason seems related to TreeDBM. It's not reproduced on my environment so I need to investigate more. |
tkrzw-0.9.3.logs.tar.gz
Fedora 33 x64.
Log files:
autoreconf -vif
configure
and autoreconf-made (not affects on result)./configure
make
make_check.err.log - stderr of
make check
make_check.out.log - stdout of
make check
make_check.log - stderr&stdout of
make check
The text was updated successfully, but these errors were encountered: