Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

server dies when idle #672

Open
verveguy opened this issue Jan 6, 2025 · 0 comments
Open

server dies when idle #672

verveguy opened this issue Jan 6, 2025 · 0 comments

Comments

@verveguy
Copy link

verveguy commented Jan 6, 2025

After loading ~ 40,000 entities across two namespaces, two things have started happening:

1/ React client queries have become extremely slow. These are simple direct "by id" queries with two nested links to the other namespace. (I'm working to profile this behavior.)

2/ The local instant server, running under Orbstack, dies with the following while idle overnight. (Postgres seems fine by contrast)

[66c4] 29ms [sql/select] active_connections=0 idle_connections=20 pending_threads=0
[691e] 0ms [sql/select] active_connections=1 idle_connections=19 pending_threads=0
[691e] 1ms [indexing-jobs/grab-forgotten-jobs!] job_count=0 job_ids=()
[9c89] 20ms [sql/select] active_connections=0 idle_connections=20 pending_threads=0
[9c89] 25ms [indexing-jobs/grab-forgotten-jobs!] job_count=0 job_ids=()
[2f05] 0ms [sql/select] active_connections=0 idle_connections=20 pending_threads=0
[2f05] 1ms [indexing-jobs/grab-forgotten-jobs!] job_count=0 job_ids=()
[bc02] 12ms [sql/select] active_connections=0 idle_connections=20 pending_threads=0
[bc02] 30ms [indexing-jobs/grab-forgotten-jobs!] job_count=0 job_ids=()
[8d91] 0ms [sql/select] active_connections=0 idle_connections=20 pending_threads=0
[8d91] 1ms [indexing-jobs/grab-forgotten-jobs!] job_count=0 job_ids=()
[bb8e] 17ms [sql/select] active_connections=0 idle_connections=20 pending_threads=0
[bb8e] 25ms [indexing-jobs/grab-forgotten-jobs!] job_count=0 job_ids=()
[89b2] 0ms [sql/select] active_connections=0 idle_connections=20 pending_threads=0
[89b2] 1ms [indexing-jobs/grab-forgotten-jobs!] job_count=0 job_ids=()
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000ffff892490e0, pid=10, tid=64
#
# JRE version: OpenJDK Runtime Environment Corretto-21.0.5.11.1 (21.0.5+11) (build 21.0.5+11-LTS)
# Java VM: OpenJDK 64-Bit Server VM Corretto-21.0.5.11.1 (21.0.5+11-LTS, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
# Problematic frame:
# V  [libjvm.so+0xd9b0e0]  ThreadSnapshot::initialize(ThreadsList*, JavaThread*)+0x170
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /app/hs_err_pid10.log
[376286.028s][warning][os] Loading hsdis library failed
#
# If you would like to submit a bug report, please visit:
#   https://github.com/corretto/corretto-21/issues/
#
make: *** [dev-oss] Aborted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant