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

websockify always print "No child process" and generate zombie child processes. #225

Open
jdmelo opened this issue Feb 1, 2016 · 2 comments
Labels
bug Something isn't working

Comments

@jdmelo
Copy link

jdmelo commented Feb 1, 2016

Hi guys:
I have 3 problems:

  1. First question is websockify process print many error messages: "No child process", that cause my disk full. Anyone know the reason?
    LOG:
    handler exception: [Errno 10] No child processes
    handler exception: [Errno 10] No child processes
    handler exception: [Errno 10] No child processes
    handler exception: [Errno 10] No child processes
    handler exception: [Errno 10] No child processes
    handler exception: [Errno 10] No child processes
    ......

  2. And then I read the source code, in the file websockify.py, the method start_server call the "select" with parameter "timeout=1". I think this the reason of printing "No child process". If I set "timeout=None"(forever waiting a client connect), then the issue can be resolved?

  3. Sometimes I found the zombie websockify child processes, anyone have the same problem?

Thanks in advance,
Melo

@DirectXMan12
Copy link
Member

Which version of websockify are you using (if you are using websockify directly from the git repo, what is the SHA of your HEAD). What platform? Which version of Python?

@DirectXMan12 DirectXMan12 added the bug Something isn't working label Feb 1, 2016
@jdmelo
Copy link
Author

jdmelo commented Feb 2, 2016

1.HEAD of websockify git repo is 8a13c48.
2.Centos 6.0 platform.
3.The version of Python is 2.6.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants