# Sidekiq job concurrency issue

**URL:** <https://meta.discourse.org/t/sidekiq-job-concurrency-issue/274618>\
**Category:** Self-hosting\
**Tags:** unsupported-install\
**Created:** [August 10, 2023, 10:48am UTC](https://meta.discourse.org/t/sidekiq-job-concurrency-issue/274618 "2023-08-10T10:48:29Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Prasanth\_Balan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/prasanth_balan/32/281256_2.png) [@Prasanth\_Balan](https://meta.discourse.org/u/Prasanth_Balan)\
**Post date:** [August 11, 2023, 5:35am UTC](https://meta.discourse.org/t/sidekiq-job-concurrency-issue/274618/3 "2023-08-11T05:35:10Z")

</div>

Hi @merefield Thank you for the replay

_ **What do you mean by exactly by “concurrency” issue? Can you please elaborate? What is happening out of order exactly?** _

As I mentioned above, on preprod and production environment more than one sidekiq process running.

 ![Screenshot 2023-08-11 at 10.16.58 AM](https://global.discourse-cdn.com/meta/original/4X/4/2/0/4208af71548cd59653989e2f7b3e7ee705435743.jpeg)

I’m not sure! The job might confuse when it tiger which process it should take because of the multi worker process.

_ **Also “skipping code execution”. Can you elaborate? What code? When a job runs the code will not be skipped. Have you checked your `/logs` that nothing is breaking?** _

We’re running some custom sidekiq jobs which are export some custom sats on CSV file. The job is running periodically. Sometimes the file export does not happening. The job runs without any error message.

For ex:

 ![Screenshot 2023-08-11 at 10.37.32 AM](https://global.discourse-cdn.com/meta/original/4X/5/7/8/5784859e3a4595a97458f2d46afd4c0ef032198d.png)

For the testing purpose, If I click this trigger button the job is running but the file export does not happening sometimes.

FYI, on Dev env same code running but it’s only one sidekiq worker process.Here working fine. I’m wondering the issue is because of more than one sidekiq process running on the prod/preprod.

_ **Have you checked your `/logs` that nothing is breaking?** _

Yes, We didn’t get any error related to the job

_ **And be aware you might be running an unsupported install** _

We’re running latest discourse version.

Thank you

---

_[View the full topic](https://meta.discourse.org/t/sidekiq-job-concurrency-issue/274618)._
