Skip to content
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

Cleaning up resources allocated by server thread - Hang #239

Open
victorromeo opened this issue Feb 9, 2020 · 4 comments
Open

Cleaning up resources allocated by server thread - Hang #239

victorromeo opened this issue Feb 9, 2020 · 4 comments

Comments

@victorromeo
Copy link

When I create a stream using input_file, and I issue a termination using ctrl-c combination on the keyboard, the service hangs rather than closes. Thoughts?

mjpg_streamer -o 'output_http.so -w ./www' -i 'input_file.so -f /home/pi/Service/capture/photo'
MJPG Streamer Version: git rev: 501f6362c5afddcfb41055f97ae484252c85c912
 i: folder to watch...: /home/pi/Service/capture/photo/
 i: forced delay......: 1.0000
 i: delete file.......: no, do not delete
 i: filename must be..: -no filter for certain filename set-
 o: www-folder-path......: ./www/
 o: HTTP TCP port........: 8080
 o: HTTP Listen Address..: (null)
 o: username:password....: disabled
 o: commands.............: enabled
q
^Csetting signal to stop
force cancellation of threads and cleanup resources
 o: cleaning up resources allocated by server thread #00
@victorromeo
Copy link
Author

On "uname -a"
Linux agtech01 4.19.75-v7+ #1270 SMP Tue Sep 24 18:45:11 BST 2019 armv7l GNU/Linux

@victorromeo
Copy link
Author

Doesn't seem to occur if the server is closed soon after starting (30 seconds)

@bpengu1n
Copy link

bpengu1n commented May 8, 2020

This is related to/referenced by issue #182 - the solution referenced there was to migrate to a different application. Unfortunately not really a solution for those of us who want to keep using this one...

@bvitaz-ck
Copy link

I am experiencing this as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants