Code Monkey home page Code Monkey logo

Comments (4)

sergey-safarov avatar sergey-safarov commented on April 28, 2024

I can provide access to test box with one core if it will help.

from coturn.

mom040267 avatar mom040267 commented on April 28, 2024

I tested it on a Linux with all three network engine options and I cannot reproduce it.
Please send the system access info to [email protected]. One possible problem is that the runtime system and the compilation system are very different in regard to the kernel version and to the available libraries.

from coturn.

sergey-safarov avatar sergey-safarov commented on April 28, 2024

Issue reproduced on host with commit a49355e
Systemd according "CPUSchedulingPolicy=fifo" set process sheduling to fifo
And program call contiguously make system call 'sched_yield"

Part of log
sendto(3, "<14>Nov 17 16:23:23 turnserver: "..., 93, MSG_NOSIGNAL, NULL, 0) = 93
sendto(3, "<14>Nov 17 16:23:23 turnserver: "..., 74, MSG_NOSIGNAL, NULL, 0) = 74
sendto(3, "<14>Nov 17 16:23:23 turnserver: "..., 73, MSG_NOSIGNAL, NULL, 0) = 73
sendto(3, "<14>Nov 17 16:23:23 turnserver: "..., 75, MSG_NOSIGNAL, NULL, 0) = 75
sendto(3, "<14>Nov 17 16:23:23 turnserver: "..., 65, MSG_NOSIGNAL, NULL, 0) = 65
sendto(3, "<14>Nov 17 16:23:23 turnserver: "..., 67, MSG_NOSIGNAL, NULL, 0) = 67
sendto(3, "<14>Nov 17 16:23:23 turnserver: "..., 67, MSG_NOSIGNAL, NULL, 0) = 67
mmap(NULL, 2101248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f71cecb1000
mmap(NULL, 8392704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f71ce4b0000
mprotect(0x7f71ce4b0000, 4096, PROT_NONE) = 0
clone(child_stack=0x7f71cecafeb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f71cecb09d0, tls=0x7f71cecb0700, child_tidptr=0x7f71cecb09d0) = 2283
mmap(NULL, 2101248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f71ce2af000
mmap(NULL, 8392704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f71cdaae000
mprotect(0x7f71cdaae000, 4096, PROT_NONE) = 0
clone(child_stack=0x7f71ce2adeb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f71ce2ae9d0, tls=0x7f71ce2ae700, child_tidptr=0x7f71ce2ae9d0) = 2284
sched_yield() = 0
sched_yield() = 0
sched_yield() = 0
sched_yield() = 0
sched_yield() = 0
sched_yield() = 0

from coturn.

mom040267 avatar mom040267 commented on April 28, 2024

Are you using real-time scheduler ? This program was not meant to be used as a real-time program. Too many parallel activities to manage. The only supported scheduler is "other". I just noticed that you introduced that "fifo" in the systemd; I'll have to revert it.

from coturn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.