#Unable to run typesense on metal server

10 messages · Page 1 of 1 (latest)

bronze cairn
#

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.
cedar saffronBOT
#

Project ID: c06fdf6f-8e34-4cc2-9538-5a8c5a5ccfd7

bronze cairn
#

c06fdf6f-8e34-4cc2-9538-5a8c5a5ccfd7

pliant apex
#

hello, have you tried disabling the thread pool size or the parallel load?

bronze cairn
#

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

pliant apex
#

is 0 a valid setting, i would set it to at least some value

bronze cairn
#

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.

pliant apex
#

your application still has access to 32 vCPU

pliant apex
#

!s