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.

Too many open files, jvb becomes unavailable after some time

See original GitHub issue

My problem is that I can enter a room, but when arrives the new participant, we get the timeout of ~24 seconds error.

So I first started thinking it was prosody #1386

that’s why I tried

service prosody restart
service jitsi-videobridge restart
service jicofo restart

after that, we could meet

next attempt, reduce one restart

service jitsi-videobridge restart
service jicofo restart

it works too after this operation

service jicofo restart

same…

conclusion: there is a problem with jicofo: after some time, it looses something

this is the final of a meeting according to /var/log/jitsi/jicofo.log, and after that you can see Health check failed

Note: I masked private information as:

  • user1: wherever appeared a nick (1 time)
  • meet.example.com: custom domain for the service (several times)
  • myroom: custom room inside jitsi (several times)
Jicofo 2017-03-09 17:42:00.567 INFO: [36] org.jitsi.jicofo.ChatRoomRoleAndPresence.log() Owner has left the room !
Jicofo 2017-03-09 17:42:00.567 INFO: [36] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Member myroom@conference.meet.example.com/64891030 is leaving
Jicofo 2017-03-09 17:42:00.568 WARNING: [36] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Participant not found for myroom@conference.meet.example.com/64891030 terminated already or never started ?
Jicofo 2017-03-09 17:42:00.568 INFO: [36] org.jitsi.jicofo.FocusManager.log() Disposed conference for room: myroom@conference.meet.example.com conference count: 0
Jicofo 2017-03-09 21:38:10.053 WARNING: [15] org.jitsi.jicofo.JvbDoctor.log() Health check failed on: jitsi-videobridge.meet.example.com error: <error code="500" type="WAIT"><internal-server-error xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/><text xml:lang="en" xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">Failed to acquire DatagramSocket specific to STUN communication</text></error>
Jicofo 2017-03-09 21:38:10.053 INFO: [39] org.jitsi.jicofo.BridgeSelector.removeJvbAddress().192 Removing JVB: jitsi-videobridge.meet.example.com
Jicofo 2017-03-09 21:38:10.054 INFO: [39] org.jitsi.jicofo.JvbDoctor.log() Stopping health-check task for: jitsi-videobridge.meet.example.com

Here I put what happens next day when we try to join. It fails, until I restart jicofo

https://gist.github.com/pedro-nonfree/b4f46a1980e25ca45bc65599b32b001b

If you need other logs, tell me

Thanks

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:50 (26 by maintainers)

github_iconTop GitHub Comments

1reaction
murat-aksoycommented, Apr 19, 2019

Well first happy new year everyone! Since I manually added org.ice4j.ipv6.DISABLED=true to sip-communicator.properties the calls seem to be consistent after weeks of the last jicofo restart.

I’ll keep monitoring, but this seems to have solved my issue. Cheers!

This one solved my problem but if there is a common issue like this, why it’s not documented at somewhere?

1reaction
damenchocommented, May 24, 2017

Stable was updated a few hours ago 😃 Cheers 🍺

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix the 'Too Many Open Files' Error in Linux?
It means that a process has opened too many files (file descriptors) and cannot open new ones. On Linux, the “max open file...
Read more >
Fixing the “Too many open files” Error in Linux - Baeldung
It opens the file passed as an argument via the open() system call and gets assigned a file descriptor for it. Then, it...
Read more >
How to Fix 503 Service Unavailable Error: 7 Steps That Work
In this tutorial, learn what the 503 service unavailable error means and 7 proven methods to fix it to get your website back...
Read more >
How to solve "Too many Open Files" in Java applications
The error Java IOException “Too many open files” can happen on high-load servers and it means that a process has opened too many...
Read more >
A brand new website interface for an even better experience!
Too many open files, jvb becomes unavailable after some time.
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