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.

[Bug]: Task exceeded maximum timeout value (180 seconds)

See original GitHub issue

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Im running milvus app on top fastapi served using supervisord in a docker, and SOMETIMES i had Task exceeded maximum timeout value (180 seconds) from towhee/image-embedding-resnet50 extractor, is there any way to increase the timeout? or do we have any lead that might cause this?

Expected Behavior

successfully extracting the item

Steps To Reproduce

1. milvus app on top of fastapi
2. extractor run on queue with python RQ
3. served on supervisord inside docker

Environment

- Towhee version(e.g. v0.1.3 or 8b23a93): towhee/image-embedding-resnet50
- OS(Ubuntu or CentOS):
- CPU/Memory:
- GPU:
- Others: internet 4-5 Mbps

Anything else?

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
junjiejiangjjjcommented, Aug 29, 2022

After installing towhee, you can run cmd towhee run towhee/image-embedding-resnet50 -i ${image_path}, make sure the image_path can access when building the docker image. In your dockerfile, you can add this

RUN pip install towhee towhee.models
RUN towhee run towhee/image-embedding-resnet50 -i  image.jpg
0reactions
stale[bot]commented, Sep 28, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Rotten issues close after 30d of inactivity. Close the stale issues and pull requests after 7 days of inactivity. Reopen the issue with /reopen.

Read more comments on GitHub >

github_iconTop Results From Across the Web

rqworker timeout - python - Stack Overflow
These tasks trip the 180 second timeout of the (I assume) rqworker: JobTimeoutException: Job exceeded maximum timeout value (180 seconds).
Read more >
Job exceeded maximum timeout value (180 seconds) · Issue ...
I created a background job following the ckan documentation docs · Tried to pass timeout=3600 as a parameter · Throws the following error:....
Read more >
Handling Timeouts in RQ - Nick Mitchinson
When setting up our RQ Queue, we specify a timeout of 2 hours. My naive assumption was that this meant 2 hours with...
Read more >
Job exceeded maximum timeout value (300 seconds) - Bug
Still I am facing same issue “Task exceeded maximum timeout value (300 seconds)”. My scheduled job is marked as Complete without any error...
Read more >
Results - Python RQ
Dealing with Job Timeouts ... By default, jobs should execute within 180 seconds. After that, the worker kills the work horse and puts...
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