I’m attempting to import into an index, but I’m ge...
# community-help
b
I’m attempting to import into an index, but I’m getting this error after a little while. Is this related to not enough memory as there seems to be lots of disk space on this server that’s is hosting TS?
> Error importing document: Could not write to on-disk storage
k
Could not write to on-disk storage
Could mean either a disk error or out-of-disk.
b
I checked and there’s tonnnns of space though which is why I was confused. I thought maybe it was “in memory storage” perhaps.
I’ll try it again incase it was indeed a disk error. Would there be any more detailed error logs in TS somewhere?
Same error, there's no other indexes on the server. The disk space is 8gb and we're using 472M so I'm not sure it's a disk space issue..
k
All logs will be in the Typesense server logs
j
Could be a permissions issue as well
Or sometimes I've seen users accidentally use /tmp for a data dir and the OS ends up deleting this dir
b
Interesting..
Nope doesn't look to be the case (data dir is set to
/var/lib/typesense
). I've bumped out the server disk size and I'm attempting a re-index now.
j
Another thing to check is if the OS file handle limit is reached somehow
This sometimes shows up as an error in
/var/log/syslog
b
Just received this new error after ~25mins of an indexing command running:
Not Ready or Lagging
This server is not being used anywhere else, it's brand new so..
j
That's expected after a restart as the in-memory indices are being rebuilt: https://typesense.org/docs/guide/faqs.html#i-restarted-typesense-and-i-m-now-seeing-an-http-503-why
2