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

Multiple Errors on Arch Linux #76

Open
CovertDuck opened this issue May 30, 2023 · 1 comment
Open

Multiple Errors on Arch Linux #76

CovertDuck opened this issue May 30, 2023 · 1 comment

Comments

@CovertDuck
Copy link

I have no issues running skate on macOS or Ubuntu.
But I'm getting a bunch of errors on my Arch Linux (btw) system:

[root@skynet ~]# skate get "foobar"@"tokens"
while opening memtables error: while opening fid: 4 error: while updating skiplist error: mremap size mismatch: requested: 20 got: 134217728
[root@skynet ~]# skate get "foobar"@"tokens"
Key not found
[root@skynet ~]# skate sync
Error: while opening memtables error: while opening fid: 2 error: while updating skiplist error: mremap size mismatch: requested: 20 got: 134217728
Usage:
  skate sync [@DB] [flags]

Flags:
  -h, --help   help for sync

while opening memtables error: while opening fid: 2 error: while updating skiplist error: mremap size mismatch: requested: 20 got: 134217728
[root@skynet ~]# skate sync @tokens
Error: while opening memtables error: while opening fid: 5 error: while updating skiplist error: mremap size mismatch: requested: 20 got: 134217728
Usage:
  skate sync [@DB] [flags]

Flags:
  -h, --help   help for sync

while opening memtables error: while opening fid: 5 error: while updating skiplist error: mremap size mismatch: requested: 20 got: 134217728
[root@skynet ~]# skate get "foobar"@"tokens"
During db.vlog.open error: while truncating last value log file: /root/.local/share/charm/cloud.charm.sh/kv/tokens/000003.vlog error: mremap size mismatch: requested: 20 got: 20000000

Let me know if there is other logs I can provide. :)

@chrissexton
Copy link

chrissexton commented Sep 14, 2023

I'm noticing this similar behavior on a 32-bit raspberry pi running Debian.

[22:25:14] cws:~ $    skate link CODEHERE

   Linked!

[22:25:26] cws:~ $ skate list
foo	bar
[22:25:33] cws:~ $ skate set foo2 bar2
Error: while opening memtables error: while opening fid: 1 error: while updating skiplist error: mremap size mismatch: requested: 43 got: 134217728
Usage:
  skate set KEY[@DB] VALUE [flags]

Flags:
  -h, --help   help for set

while opening memtables error: while opening fid: 1 error: while updating skiplist error: mremap size mismatch: requested: 43 got: 134217728

Edit: I should note that I'm not entirely surprised by this. 32-bit Go applications have been known in the past to act poorly. I intend to see if the system I'm using can be upgraded to a 64-bit OS, but I'm a bit doubtful since it relies on niche drivers.

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

2 participants