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

Stress and crash #22

Closed
francoisTemasys opened this issue May 29, 2014 · 4 comments
Closed

Stress and crash #22

francoisTemasys opened this issue May 29, 2014 · 4 comments

Comments

@francoisTemasys
Copy link

After stressing the Bridge with 9 users (on 3 computers) in the same conference room, the server crashes with the following error:
(process:9240): GLib-ERROR **: Creating pipes for GWakeup: Too many open files

I don't remember that janus is opening files.

I also see this error message popping intensively:

[ERR] [ice.c:janus_ice_cb_nice_recv:526:] Still waiting for the DTLS stack for component 1 in stream 2...
[ERR] [ice.c:janus_ice_cb_nice_recv:526:] Still waiting for the DTLS stack for component 1 in stream 2...
[ERR] [ice.c:janus_ice_cb_nice_recv:526:] Still waiting for the DTLS stack for component 2 in stream 2...
[ERR] [ice.c:janus_ice_cb_nice_recv:526:] Still waiting for the DTLS stack for component 2 in stream 2...
[ERR] [ice.c:janus_ice_cb_nice_recv:526:] Still waiting for the DTLS stack for component 1 in stream 2...
[ERR] [ice.c:janus_ice_cb_nice_recv:526:] Still waiting for the DTLS stack for component 1 in stream 2...
@lminiero
Copy link
Member

Hi Francois,

you need to increase the number of file descriptors that can be opened on the machine. By default this is a quite low number (1024). This can be increased using ulimit.

@francoisTemasys
Copy link
Author

Where does this file descriptor requirement comes from?
Wouldn't it be interesting to add this requirement into the install script?

And thanks for the quick solving answer

@lminiero
Copy link
Member

Actually that's not a requirement, but AFAIK a good practice most deployments that make use of a lot of file descriptors typically make use of. You can find a good description on the problem and possible solutions here: http://docs.mongodb.org/manual/reference/ulimit/

@lminiero
Copy link
Member

You're right in saying it should be clarified, though, as I realize it may not be obvious. I was preparing some kind of FAQ to add to the documentation, basing on questions and comments here and on the google group, so I'll add this to the list.

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

2 participants