a year ago
I have been trying to migrate my typesense service to run on the new metal and I m unable to get it working because it just terminates abruptly on metal only with the following error:
terminate called after throwing an instance of 'std::system_error'
what(): Resource temporarily unavailable
typesense_server.cpp:149] Typesense 28.0 is terminating abruptly.8 Replies
a year ago
hello, have you tried disabling the thread pool size or the parallel load?
I updated the TYPESENSE_THREAD_POOL_SIZE environment variable to 0(Disabling the thread pool size), but still terminates abruptly.
I also updated the TYPESENSE_NUM_COLLECTIONS_PARALLEL_LOAD env variable to 0 but it still crashes
a year ago
is 0 a valid setting, i would set it to at least some value
Removed the TYPESENSE_NUM_COLLECTIONS_PARALLEL_LOAD and set TYPESENSE_THREAD_POOL_SIZE to 8(number of cores of server * 8) So it will use 8 threads. Now it works.
Still unsure what is the optimal amount because I don't know the number of cores are available on the metal server.
a year ago
your application still has access to 32 vCPU
a year ago
!s
Status changed to Solved brody • 12 months ago