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

citp_fdtable_ctor: failed to allocate fdtable #229

Open
ol-alexandra opened this issue Jun 13, 2024 · 0 comments · May be fixed by #230
Open

citp_fdtable_ctor: failed to allocate fdtable #229

ol-alexandra opened this issue Jun 13, 2024 · 0 comments · May be fixed by #230

Comments

@ol-alexandra
Copy link
Contributor

Debian testing/sid:

oo:ncat[1582]: citp_fdtable_ctor: failed to allocate fdtable (0x3ffffff8)
oo:ncat[1582]: FAIL at /home/sasha/work/level5/onload/src/lib/transport/unix/startup.c:685
oo:ncat[1582]: EtherFabric transport library: failed to initialise (9)
oo:ncat[1582]: hostname=elrond pid=1582
/home/sasha/work/level5/onload/build/gnu_x86_64_debt/lib/transport/unix/libcitransport0.so(+0x109f4d)[0x7f235a08df4d]
/home/sasha/work/level5/onload/build/gnu_x86_64_debt/lib/transport/unix/libcitransport0.so(+0xb4b1)[0x7f2359f8f4b1]
/lib64/ld-linux-x86-64.so.2(+0x4e35)[0x7f235a0f2e35]
/lib64/ld-linux-x86-64.so.2(+0x4f64)[0x7f235a0f2f64]
/lib64/ld-linux-x86-64.so.2(+0x1a840)[0x7f235a108840]
Aborted (core dumped)

The issue is, Onload uses RLIMIT_NOFILE:rlim_max value as fdtable size. With the recent changes in systemd the soft limit is the same as previously (1024, select-compatible) but hard limit is increased to 0x3ffffff8. System can't allocate that amount of memory for fdtable.

@okt-sergeyn okt-sergeyn linked a pull request Jun 24, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant