Hello everybody, I try use typesense (POC) with a ...
# community-help
r
Hello everybody, I try use typesense (POC) with a 15M of records, but when I load 8M of records, the server Stop worker and stay In loop on Typesense startup. Log Typesense
k
Any error messages in the logs?
r
Hi, Kishore. I added the server log.
k
I see a lot of errors about bad JSON lines in the import file. But it's strange that there is no stack trace. Can you check
/var/log/syslog
to see if you can find a stack trace?
You can search for
Copy code
Typesense crashed...
in /var/log/syslog or look for the phrase
Copy code
Stack trace
r
I found other log dir in /var/log/typesense Log
But nothing about crash
or stack trace
k
No syslog file?
r
Jul 19 063327 MongoGlobal kernel: [13764495.950886] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/system.slice/typesense-server.service,task=typesense-serve,pid=18311,uid=0 Jul 19 063327 MongoGlobal kernel: [13764495.951229] Out of memory: Killed process 18311 (typesense-serve) total-vm:42535712kB, anon-rss:36513632kB, file-rss:0kB, shmem-rss:0kB, UID:0 pgtables:73576kB oom_score_adj:0 Jul 19 063327 MongoGlobal kernel: [13764496.755385] oom_reaper: reaped process 18311 (typesense-serve), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB
Jul 19 063327 MongoGlobal systemd[1]: typesense-server.service: Main process exited, code=killed, status=9/KILL Jul 19 063327 MongoGlobal systemd[1]: typesense-server.service: Failed with result 'signal'. Jul 19 063328 MongoGlobal systemd[1]: typesense-server.service: Service hold-off time over, scheduling restart. Jul 19 063328 MongoGlobal systemd[1]: typesense-server.service: Scheduled restart job, restart counter is at 25. Jul 19 063328 MongoGlobal systemd[1]: Stopped Typesense Server. Jul 19 063328 MongoGlobal systemd[1]: Started Typesense Server.
Jul 19 063327 MongoGlobal kernel: [13764495.950838] [ pid ] uid tgid total_vm rss pgtables_bytes swapents oom_score_adj name Jul 19 063327 MongoGlobal kernel: [13764495.950885] [ 18311] 0 18311 10633928 9128299 75341824 0 0 typesense-serve
k
Are you sure you are not running out of memory? Looks like the process got killed.
It says "Out of memory"
r
yes, I see....(This server have 64Gb mem) to 15M (How many memory need?)
k
But you have other things running?
r
I will create a 2 servers to try load this records
You can be rigth about the server, is running other applications
You think if I create a Server with 32gb of memory can work well with this amount of data?
k
We've a calculator for estimating RAM usage here: https://cloud.typesense.org/pricing/calculator (scroll to the middle of the page)