JorenSix / Panako

The Panako acoustic fingerprinting system.
GNU Affero General Public License v3.0
179 stars 35 forks source link

panako store process hangs indefinitely #27

Open swamikevala opened 2 years ago

swamikevala commented 2 years ago

When storing a large file (over 2 hours). With AVAILABLE_PROCESSORS=0 It looks like the java process goes to sleep midway through. Running strace on the PID gives this message:

futex(0x7fe0b8229078, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, NULL, FUTEX_BITSET_MATCH_ANY

Is this a thread deadlocking issue?

JorenSix commented 2 years ago

This is either a memory problem or some kind of overflow problem. Panako has been tested mainly with "song length" fragments of 1-10minutes.

Thanks for your email with further details: you mentioned in the email that from about 20 minutes there seems to be a problem (1200s). I will investigate this further.

raraz15 commented 2 weeks ago

I have a similar problem with panako (with olaf I had no such issue). When I try to store fingerprints for a long track (~20 minutes). I get a memory error. Is it possible to move beyond this? I believe that my system has enough memory. I tried increasing MAX_FILE_SIZE=6000 to x10 times or more.