KurentoServerException: Too many threads (Code:40009, Type:null, Data: {"type":"NOT_ENOUGH_RESOURCES"})

268 views
Skip to first unread message

Sudhi S

unread,
Apr 26, 2017, 10:58:27 PM4/26/17
to kurento
 
    org.kurento.client.internal.server.KurentoServerException: Too many threads (Code:40009, Type:null, Data: {"type":"NOT_ENOUGH_RESOURCES"})

why this error?

my docker compose file
---------------------------
version: '2'
services:
    kurento:
       container_name: kurento
       image: kurento/kurento-media-server
       ports:
           - "8888:8888"
       ulimits:
          nofile: 4096

Actually will kurento works ? i have tested kurento samples but all the sampls are not working ...

:-)


Muhammad Adil

unread,
Apr 20, 2019, 12:40:40 AM4/20/19
to kurento
I am getting the same issue. Is it working for you?

Micael Gallego

unread,
Apr 20, 2019, 6:32:08 AM4/20/19
to kur...@googlegroups.com
Kurento is being used in multiple production systems right now.

How are you running Kurento?

--
You received this message because you are subscribed to the Google Groups "kurento" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kurento+u...@googlegroups.com.
To post to this group, send email to kur...@googlegroups.com.
Visit this group at https://groups.google.com/group/kurento.
To view this discussion on the web visit https://groups.google.com/d/msgid/kurento/96da772f-3940-4397-b30d-1e47ebb96f07%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Juan Navarro

unread,
Apr 23, 2019, 9:26:23 AM4/23/19
to kurento
Hi,

Kurento checks Linux Kernel limits (open files, threads, etc) and prints one debug line at the beginning:

Using above 80.00% of system limits will throw NOT_ENOUGH_RESOURCES exception
System limits: 12345 threads, 12345 files


However this check could be wrong on some special systems (such as inside Docker container...) so now the code has been improved to handle special cases.

Please test with latest development Docker image of Kurento and let us know if your problem improves:
Reply all
Reply to author
Forward
0 new messages