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

db worker restarts/ crashes when a query takes too long to run #121

Open
Will-Cross1 opened this issue Feb 10, 2025 · 0 comments
Open

db worker restarts/ crashes when a query takes too long to run #121

Will-Cross1 opened this issue Feb 10, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Will-Cross1
Copy link
Collaborator

running nlds find -A -p '.*/(abc){1000}\.txt$' 13 times caused a 502 error and now all normal nlds find commands can't continue

(nlds-client) [wcross@sci-vm-01 NLDS]$ nlds find -A -p '.*/(abc){1000}\.txt$'
Usage: nlds find [OPTIONS]
Try 'nlds find --help' for help.

Error: Could not complete the request to the URL: https://nlds-master.130.246.130.221.nip.io/api/0.1/catalog/find/ (HTTP_502)

then when I try run nlds find -A (even in a different terminal)

(nlds-client) [wcross@sci-vm-01 NLDS]$ nlds find -A
Usage: nlds find [OPTIONS]
Try 'nlds find --help' for help.

Error: Could not complete the request to the URL: https://nlds-master.130.246.130.221.nip.io/api/0.1/catalog/find/ (HTTP_504)

it takes a decent length of time to go back to normal
504 = Gateway Timeout
502 = Bad Gateway

This seems to be because the db query takes too long and it restarts, it causes the db worker to crash with
(at least when this was ran nlds find -1 -p '*/a')

invalid regular expression: quantifier operand invalid
@Will-Cross1 Will-Cross1 added the bug Something isn't working label Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants