Open matyasberry opened 7 months ago
There should be a full crash report file generated by JVM, but from what you've shared this could be a JIT compilation related issue. Could you try setting cairo.sql.jit.mode=off
(or override CairoConfiguration#getSqlJitMode()
to return SqlJitMode.JIT_MODE_DISABLED
in your embedded code)?
is it possible to set it using -Dcairo.sql.jit.mode=off
?
No, but if you're using PropServerConfiguration
as the configuration class, it should be possible to set it via QDB_CAIRO_SQL_JIT_MODE=off
environment variable.
Disabling JIT helped. No crash any more. What kind of 'cost' or impact are we looking at?
JIT-compiled filters are 2-10x faster than the Java ones.
Applies to 7.4.0 and 7.4.2 too
To reproduce
running QuestDB in embedded mode, and running a query as follows:
results in a crash:
this is inside a docker image, based on alpine 3.19.1
OS config:
QuestDB version:
7.3.10
OS, in case of Docker specify Docker and the Host OS:
ALPINE 3.19.1
File System, in case of Docker specify Host File System:
AWS t3.medium with AMAZON LINUX 2, amd64
Full Name:
Matyas
Affiliation:
Exberry
Have you followed Linux, MacOs kernel configuration steps to increase Maximum open files and Maximum virtual memory areas limit?
Additional context
No response