dpc
dpc
@maan2003 We're we doing RWLock with a mix of reads and writes before? Maybe we should have some of the txes in that loop do only a read or skip...
@maan2003 I tried it locally and it hanged. And didn't seem to ever time out. Seemed weird, tried master and that finishes with success, so it does look different.
`nix flake build .#wasm32-unknown.ci.wasmTests` IIRC and `./scripts/tests/wasm-tests.sh` I wasn't aware that ... I have to open anything in the browser... ?
@maan2003 ``` [I] {NS} dpc@ren:~/l/fedimint-wrk-1 |pr/4435 > nix develop .#crossWasm -c ./scripts/tests/wasm-test.sh ... lots-a-output ... Finished test [unoptimized + debuginfo] target(s) in 1.27s Running unittests src/lib.rs (/home/dpc/lab/fedimint-wrk-1/target/wasm32-unknown-unknown/debug/deps/fedimint_wasm_tests-5f36d57 15935f52a.wasm) [2024-03-05T07:59:33Z WARN...
Oh, I see. I will investigate more tomorrow. Not sure if hanged or just wall of output or what exactly is going on.
I've played with it, tweaked this and that, and I'm unable to reproduce the hang. :shrug:
@fedimint/database
> Another example is when your app uses RocksDB (statically linked), it never frees cache memory. You have to set MemoryLimit in systemd service file, otherwise it triggers OOM killer,...
@m1sterc001guy I looked some more at it, and I think from our PoV, we should just customize rocksdb settings like in: https://github.com/romanz/electrs/issues/30
Nothing immediately to do it seems.