question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Queue stuck on same item after each get()

See original GitHub issue

I am having this queue running for over 200 instances of my application. I checked the logs of one instance and I saw itemX was inserted once.

Latter I get the item: Globals.validated_profiles_queue.get(block=False) this will return me “shahar.ha” which is itemX. Then each time I do “get” I will find “shahar.ha” as the item~~!!!~~

The data files:

  • IN COMMENT

Please assist.

OS: Windows 7 NOT multithreded Simple put and get.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
peter-wangxucommented, Dec 16, 2018

@sionking I successfully reproduced the issue with the data you provided, I also tried with sqlite3 tool, the wired thing is that, i cannot event delete a row by _id(which is the primary key of table), so that’s why the queue kept poping the same value as the previous item cannot be deleted from table. I wonder if the dropbox corrupted the sqlite3 data file some way:)

I suggest putting/getting data without the interference of dropbox and try again.

Thanks Peter

0reactions
peter-wangxucommented, Jan 15, 2019

Closing it, Please reopen it if still exists

Read more comments on GitHub >

github_iconTop Results From Across the Web

python - Multiprocessing Queue - child processes gets stuck ...
Queue() but no success and both exhibits same issue. I tested this with both multiprocessing and multithreading and i get exactly same behavior, ......
Read more >
Print Jobs Stay in Queue After Printing - Microsoft Support
The print job is sent to the print server, it prints, but the print job is not removed from the queue. Cause. This...
Read more >
Queue stuck with jobs in "active" state for hours, and rest of ...
Hello, we are finding that one of our queues is periodically getting stuck, with 2 jobs sitting in "active" and not being progressed...
Read more >
Laravel Queue stuck randomly - Laracasts
I'm facing a problem that my job is randomly stuck after a few hours. ... ERROR: Trying to get property 'account' of non-object...
Read more >
Item "In Progress" stuck in queue - UiPath Community Forum
Hello guys! :smiley: When a Queue Item gets stuck in the UiPath Orchestrator queue with the status “In Progress”, by default within 24h...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found