-
-
Notifications
You must be signed in to change notification settings - Fork 209
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
[BUG] HikariDataSource HikariDataSource (HikariPool-1) has been closed #1003
Comments
@dilipdhankecha2530 - although I also saw this issue in the last weeks, we just tried to reproduce it but are unable to do so (we created a long running job and hikari waits until the server has shutdown correctly). Can you reproduce it easily? |
@rdehuyss |
Without a way to reproduce it, is going to be hard to fix.... |
Please also update your GitHub profile like requested in the JobRunr community guidelines... |
@rdehuyss Could you please provide suggestion what i have to do for the Github profile? |
You can find everything when you create an issue (it's the text before the fields) |
Cool, thx for updating your profile. Any luck on a way to reproduce it? We can not reproduce it in K8S either. |
@rdehuyss I'm setting up the scenario in our local environment, trying to replicate it. Once everything's ready, I'll keep you posted on the progress. |
@rdehuyss During the testing i faced another issue. This issue occurred during the processing of the large amount. So we have 100k records to process and we use multi threading here. During the processing we use the 10 seconds Thread sleep. |
In case of such an exception, the dashboard allows you to create automatically a github issue so we can diagnose the root cause. See the video at https://www.jobrunr.io/en/blog/2021-02-07-v1.3. Without that, I'm afraid we cannot help. Also, the Orphaned job means either a server died or a stop the world garbage collection happens for a long period. Also this is mentioned on the Dashboard page. We test JobRunr regularly with 10 million jobs and Thread.sleep and that works without any problems. |
Which DB are you using? |
Postgres DB |
I'm attempting to replicate the issue with my application setup in Kubernetes, but I'm still unable to do so. |
Indeed, this looks more related to your database / Hikari timing out then to JobRunr. We also are still looking but were not able to reproduce it... |
Hi @dilipdhankecha2530 @uben01 - if we don't get any reproducer, I'm afraid we will need to close this issue. We try to keep the amount of open issues as small as possible. |
@rdehuyss |
Hi @dilipdhankecha2530 - we cannot give you any documentation around this as this depends on the jobs that you run. I'm afraid that as part of the open-source version we require a reproducer to solve these kind of issues. |
We're unable to reproduce this and did not get a reproducer. If you're able to reproduce it, please reopen the issue with a link to a reproducer. |
JobRunr Version
7.0.0
JDK Version
eclipse-temurin:21-jre-alpine
Your SQL / NoSQL database
Postgres
What happened?
We are using jobrunr for the distributed jobs with in the k8s instances. We have shared postgres database where we have multiple application which use the same postgres instance with different database. We assign 20 connection pool size to our spring application.
![image](https://private-user-images.githubusercontent.com/67418065/324424858-e71c8cfd-4a9e-4f5a-8c5a-c5cd4bad31cc.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg5MDUyNjYsIm5iZiI6MTcxODkwNDk2NiwicGF0aCI6Ii82NzQxODA2NS8zMjQ0MjQ4NTgtZTcxYzhjZmQtNGE5ZS00ZjVhLThjNWEtYzVjZDRiYWQzMWNjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjIwVDE3MzYwNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTllZDkyYjIyYzZhMTliMzA5NmUxNmRkNGUxNmI5NjI3MzY0MDcwMDBiODQ2YmRmMDgwMjE5NDEzODM2OTdjMjUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.PMt5hcFgqIltklhjR8cAJrOirPY79L2xaFzxMfnBjX4)
We use the spring auto configuration with below configurations for the jobrunr,
Let me give the idea on the scheduled task, We have a 100k records in batch of 200 which we have to process using the single job and in the job we use virtual thread to manage the multi threading. During the processing sometime we face the below mentioned issue.
2024-04-22T10:11:08.880Z ERROR 1 --- [backgroundjob-worker] org.jobrunr.server.BackgroundJobPerformer.updateJobStateToFailedAndRunJobFilters : ERROR - could not update job(id=018f0548-020a-70ca-a32d-20ea2188ea00, jobName='InitBPNGenerationProcess') to FAILED state
Can anyone help us here to resolve this issue?
Thanks in advance.
How to reproduce?
Relevant log output
No response
The text was updated successfully, but these errors were encountered: