https://sourceware.org/bugzilla/show_bug.cgi?id=29926
Ross Burton changed:
What|Removed |Added
CC||ross at burtonini dot com
--- Comment #
https://sourceware.org/bugzilla/show_bug.cgi?id=29975
Bug ID: 29975
Summary: Search concurrency doesn't respect CPU affinity
Product: elfutils
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
https://sourceware.org/bugzilla/show_bug.cgi?id=29976
Bug ID: 29976
Summary: webapi connection pool eats all file handles
Product: elfutils
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
C
https://sourceware.org/bugzilla/show_bug.cgi?id=29975
--- Comment #2 from Ross Burton ---
No, but the C isn't that difficult:
#define _GNU_SOURCE
#include
int ret, count;
cpu_set_t mask;
CPU_ZERO(&mask);
ret = sched_getaffinity(0, sizeof(mask), &mask);
// if non-zero, errno is set
count = CPU
https://sourceware.org/bugzilla/show_bug.cgi?id=29976
--- Comment #2 from Ross Burton ---
Honestly, no idea. Appears to be the default on ubuntu.
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=29976
--- Comment #3 from Ross Burton ---
Yes, kernel defaults: 1024 soft, 4096 hard.
I *can* change it to 4096 but there's still the point that:
1) debugging the failure case isn't trivial
2) cores*2 threads in the connection pool probably doesn'
https://sourceware.org/bugzilla/show_bug.cgi?id=29976
--- Comment #5 from Ross Burton ---
Yes.
My use case is a test that uses debuginfod, so it works everywhere and as it
only has to service a few requests I'm just passing -C2 -c2.
--
You are receiving this mail because:
You are on the CC lis
https://sourceware.org/bugzilla/show_bug.cgi?id=29982
Bug ID: 29982
Summary: sqlite errors when searching
Product: elfutils
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: debugi
https://sourceware.org/bugzilla/show_bug.cgi?id=29982
--- Comment #1 from Ross Burton ---
Obviously attaching a gdb and breaking on the error path magically fixes it for
me...
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=29982
--- Comment #3 from Ross Burton ---
I can replicate with elfutils 0.188 and sqlite 3.40.1 on debian and ubuntu. Due
to previously discussed concurrency issues my commandline is essentially
-d:memory -c256 -C256.
--
You are receiving this mai
https://sourceware.org/bugzilla/show_bug.cgi?id=29982
--- Comment #4 from Ross Burton ---
Just replicated with -c2 -C2.
Potentially of interest is that the log shows two PIDs:
[Tue Jan 10 11:32:20 2023] (2619858/2619864): sqlite3 error: sqlite3 step:
database table is locked
[repeated ~60 times
https://sourceware.org/bugzilla/show_bug.cgi?id=29982
--- Comment #5 from Ross Burton ---
Note that the errors are just logged, the lookup still works, so it's possible
that your tests work but the logs are full of these messages.
--
You are receiving this mail because:
You are on the CC list f
https://sourceware.org/bugzilla/show_bug.cgi?id=29982
--- Comment #7 from Ross Burton ---
cmd = [
os.path.join(native_sysroot, "usr", "bin", "debuginfod"),
"--verbose",
"--database=:memory:",
"--concurrency=2",
"--connection-pool
https://sourceware.org/bugzilla/show_bug.cgi?id=29982
--- Comment #8 from Ross Burton ---
Replicated with -:
[Tue Jan 10 11:43:35 2023] (2679838/2679844): searching for sources for
cu=../sysdeps/aarch64/crtn.S comp_dir=/usr/src/debug/g
libc/2.36-r0/csu #files=2 #dirs=2
[Tue Jan 10 11:43:35 20
https://sourceware.org/bugzilla/show_bug.cgi?id=29982
--- Comment #10 from Ross Burton ---
Created attachment 14569
--> https://sourceware.org/bugzilla/attachment.cgi?id=14569&action=edit
Log
Attached is a log (6MB zstd compressed, 171M uncompressed...) with the step
locked errors, using -
https://sourceware.org/bugzilla/show_bug.cgi?id=29976
--- Comment #7 from Ross Burton ---
Looks good to me!
--
You are receiving this mail because:
You are on the CC list for the bug.
16 matches
Mail list logo