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
H2 DB is reopened on every request #1652
Comments
@XANi what are your JVM memory settings (i.e. max heap size)? |
Just the default package uses (rundeck-2.6.2-1-GA.deb) which is I don't think it is gc/memory related issue, here is snapshot from jstat when running
Looks like GC wasnt even ran during those requests I was just clicking jobs and nodes tabs few times (totally empty clean install, 1 project with zero tasks) and all requests took more than 6 seconds (normal hard drive, no ssd) |
@XANi what is the Model Source for the project? |
File. It is just default install, I haven't changed anything |
I've tried to move whole |
Please reopen if this remains a concern |
It looks faster in 2.10 but I can't really compare because after upgrading to 2.10 all jobs disappeared... i just had them in yaml dir but now that isn't even an option and I'm confused why... |
@XANi Rundeck does not automatically load job definitions from a directory. Try using the |
I've tried default install (just installing package, no setup) and I've noticed it is awfully slow, even with just one job in the system. Strace after every request looks a bit like that (that was just clicking nodes buttons, or jobs button):
and then it gets closed once request ends:
Shouldn't it be kept open ? It wastes a lot of time first trying to lock db, read headers than read data and that happens on each request
The text was updated successfully, but these errors were encountered: