[Bug debuginfod/29976] webapi connection pool eats all file handles

2023-01-11 Thread ross at burtonini dot com via Elfutils-devel
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.

[Bug debuginfod/29982] sqlite errors when searching

2023-01-10 Thread ross at burtonini dot com via Elfutils-devel
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 -

[Bug debuginfod/29982] sqlite errors when searching

2023-01-10 Thread ross at burtonini dot com via Elfutils-devel
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

[Bug debuginfod/29982] sqlite errors when searching

2023-01-10 Thread ross at burtonini dot com via Elfutils-devel
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

[Bug debuginfod/29982] sqlite errors when searching

2023-01-10 Thread ross at burtonini dot com via Elfutils-devel
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

[Bug debuginfod/29982] sqlite errors when searching

2023-01-10 Thread ross at burtonini dot com via Elfutils-devel
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

[Bug debuginfod/29982] sqlite errors when searching

2023-01-10 Thread ross at burtonini dot com via Elfutils-devel
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

[Bug debuginfod/29982] sqlite errors when searching

2023-01-10 Thread ross at burtonini dot com via Elfutils-devel
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.

[Bug debuginfod/29982] New: sqlite errors when searching

2023-01-10 Thread ross at burtonini dot com via Elfutils-devel
: debuginfod Assignee: unassigned at sourceware dot org Reporter: ross at burtonini dot com CC: elfutils-devel at sourceware dot org Target Milestone: --- When debuginfod services as request, I often get a slew of errors: [Tue Jan 10 10:42:51 2023] (2548256/2548514

[Bug debuginfod/29976] webapi connection pool eats all file handles

2023-01-09 Thread ross at burtonini dot com via Elfutils-devel
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

[Bug debuginfod/29976] webapi connection pool eats all file handles

2023-01-09 Thread ross at burtonini dot com via Elfutils-devel
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'

[Bug debuginfod/29976] webapi connection pool eats all file handles

2023-01-09 Thread ross at burtonini dot com via Elfutils-devel
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.

[Bug debuginfod/29975] Search concurrency doesn't respect CPU affinity

2023-01-09 Thread ross at burtonini dot com via Elfutils-devel
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

[Bug debuginfod/29976] New: webapi connection pool eats all file handles

2023-01-09 Thread ross at burtonini dot com via Elfutils-devel
Component: debuginfod Assignee: unassigned at sourceware dot org Reporter: ross at burtonini dot com CC: elfutils-devel at sourceware dot org Target Milestone: --- If I start debuginfod without any concurrency limits: [Mon Jan 9 17:40:14 2023] (2356243

[Bug debuginfod/29975] New: Search concurrency doesn't respect CPU affinity

2023-01-09 Thread ross at burtonini dot com via Elfutils-devel
y: P2 Component: debuginfod Assignee: unassigned at sourceware dot org Reporter: ross at burtonini dot com CC: elfutils-devel at sourceware dot org Target Milestone: --- I've a machine with lots of cores (256) but debuginfod doesn't respe

[Bug debuginfod/29926] debuginfod using deprecated curl (since 7.55.0) API, fails to build with 7.87.0

2023-01-06 Thread ross at burtonini dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=29926 Ross Burton changed: What|Removed |Added CC||ross at burtonini dot com --- Comment

[Bug debuginfod/25583] New: Use libarchive to extract packages?

2020-02-21 Thread ross at burtonini dot com
: debuginfod Assignee: unassigned at sourceware dot org Reporter: ross at burtonini dot com CC: elfutils-devel at sourceware dot org Target Milestone: --- Using rpm2cpio to extract an RPM isn't ideal because the machine serving the RPMs may not actually

[Bug general/21008] Incompatible with MUSL libc: error.h and error() not provided

2018-07-04 Thread ross at burtonini dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21008 --- Comment #2 from Ross Burton --- I've just sent a patch to the list to consolidate the error includes. -- You are receiving this mail because: You are on the CC list for the bug.