Date: Sat, 20 Apr 2024 09:01:12 -0700 From: Yuri <yuri@FreeBSD.org> To: Juraj Lutter <otis@FreeBSD.org>, Yuri <yuri@FreeBSD.org> Cc: freebsd-hackers@freebsd.org Subject: Re: What does this error mean: No space available for static Thread Local Storage ? Message-ID: <9dd25b52-184d-4e06-af91-1f54f1f882a7@FreeBSD.org> In-Reply-To: <A0BBFBF0-B531-4A07-A043-ABC7EBE049DE@FreeBSD.org> References: <42774b55-241a-497b-816f-94b95187c3e6@FreeBSD.org> <CALH631mpos%2BQPHR=t9JJsqi-AqBhwJh51u76rK2Sgg0WyeBZ2A@mail.gmail.com> <6fd793ca-60ec-47e7-9ec9-4bcb56803426@FreeBSD.org> <A0BBFBF0-B531-4A07-A043-ABC7EBE049DE@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------lOhfGVTApTsArjSP8mHuNsKK Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi Juraj, On 4/20/24 02:10, Juraj Lutter wrote: > When we’re at rust and memory (thread-local storage?) related: I’ve tried to run databases/qdrant > in production. It works until it’s idle. When some collections are being created/loaded, it crashes. > I have been able to track it down to malloc() called from within strdup() called from within thr_set_name(). This sounds like a serious problem. Changing an allocator to MiMalloc might help. This is an easy change. Did you report this to Rust or to quadrant? Thanks, YUri --------------lOhfGVTApTsArjSP8mHuNsKK Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <div class="moz-cite-prefix">Hi Juraj,</div> <div class="moz-cite-prefix"><br> </div> <div class="moz-cite-prefix"><br> </div> <div class="moz-cite-prefix">On 4/20/24 02:10, Juraj Lutter wrote:<br> </div> <blockquote type="cite" cite="mid:A0BBFBF0-B531-4A07-A043-ABC7EBE049DE@FreeBSD.org"> <pre>When we’re at rust and memory (thread-local storage?) related: I’ve tried to run databases/qdrant in production. It works until it’s idle. When some collections are being created/loaded, it crashes. I have been able to track it down to malloc() called from within strdup() called from within thr_set_name(). </pre> </blockquote> <p><br> </p> <p>This sounds like a serious problem.</p> <p>Changing an allocator to MiMalloc might help.</p> <p>This is an easy change.<br> </p> <p><br> </p> <p>Did you report this to Rust or to quadrant?</p> <p><br> </p> <p><br> </p> <p>Thanks,</p> <p>YUri<br> </p> </body> </html> --------------lOhfGVTApTsArjSP8mHuNsKK--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9dd25b52-184d-4e06-af91-1f54f1f882a7>