Unfortunately the git version didnt resolve the issue. I am still getting workers using 100% CPU. Here is a strace : pselect6(22, [4 7 8 21], NULL, NULL, {10, 0}, {[], 8}) = 1 (in [7], left {9, 999997763}) recvfrom(5, 0xad9330, 18780, 0, 0, 0) = -1 EBADF (Bad file descriptor) pselect6(22, [4 7 8 21], NULL, NULL, {10, 0}, {[], 8}) = 1 (in [7], left {9, 999998229}) recvfrom(5, 0xad9330, 18780, 0, 0, 0) = -1 EBADF (Bad file descriptor) pselect6(22, [4 7 8 21], NULL, NULL, {10, 0}, {[], 8}) = 1 (in [7], left {9, 999998347}) recvfrom(5, 0xad9330, 18780, 0, 0, 0) = -1 EBADF (Bad file descriptor) pselect6(22, [4 7 8 21], NULL, NULL, {10, 0}, {[], 8}) = 1 (in [7], left {9, 999998390}) recvfrom(5, 0xad9330, 18780, 0, 0, 0) = -1 EBADF (Bad file descriptor) pselect6(22, [4 7 8 21], NULL, NULL, {10, 0}, {[], 8}) = 1 (in [7], left {9, 999998392}) recvfrom(5, 0xad9330, 18780, 0, 0, 0) = -1 EBADF (Bad file descriptor) pselect6(22, [4 7 8 21], NULL, NULL, {10, 0}, {[], 8}) = 1 (in [7], left {9, 999998366}) recvfrom(5, 0xad9330, 18780, 0, 0, 0) = -1 EBADF (Bad file descriptor) pselect6(22, [4 7 8 21], NULL, NULL, {10, 0}, {[], 8}) = 1 (in [7], left {9, 999998379}) recvfrom(5, 0xad9330, 18780, 0, 0, 0) = -1 EBADF (Bad file descriptor) pselect6(22, [4 7 8 21], NULL, NULL, {10, 0}, {[], 8}) = 1 (in [7], left {9, 999994851}) recvfrom(5, 0xad9330, 18780, 0, 0, 0) = -1 EBADF (Bad file descriptor) pselect6(22, [4 7 8 21], NULL, NULL, {10, 0}, {[], 8}) = 1 (in [7], left {9, 999994904}) recvfrom(5, 0xad9330, 18780, 0, 0, 0) = -1 EBADF (Bad file descriptor) pselect6(22, [4 7 8 21], NULL, NULL, {10, 0}, {[], 8}) = 1 (in [7], left {9, 999997562}) recvfrom(5, 0xad9330, 18780, 0, 0, 0) = -1 EBADF (Bad file descriptor) pselect6(22, [4 7 8 21], NULL, NULL, {10, 0}, {[], 8}) = 1 (in [7], left {9, 999998446}) recvfrom(5, 0xad9330, 18780, 0, 0, 0) = -1 EBADF (Bad file descriptor) pselect6(22, [4 7 8 21], NULL, NULL, {10, 0}, {[], 8}) = 1 (in [7], left {9, 999998481}) recvfrom(5, 0xad9330, 18780, 0, 0, 0) = -1 EBADF (Bad file descriptor) pselect6(22, [4 7 8 21], NULL, NULL, {10, 0}, {[], 8}) = 1 (in [7], left {9, 999998463}) recvfrom(5, 0xad9330, 18780, 0, 0, 0) = -1 EBADF (Bad file descriptor) On Wed, Aug 20, 2014 at 7:04 PM, Nikos Mavrogiannopoulos <n.mavrogiannopoulos at gmail.com> wrote: > On Wed, Aug 20, 2014 at 12:07 PM, Farzad Fallah <farzad.fallah at gmail.com> wrote: >> Hi Devs, >> On ocserv 0.8.2 from I am getting ocserv-worker processes which use >> 100% of CPU time. >> Here is full debugging info for one of the processes which is using 100% CPU : > > Thank you for reporting this. Could you try if the version from the > git repository solves your issue? > The change that may be affecting this behavior is: > http://git.infradead.org/ocserv.git/commitdiff/9be381859d7c9077ed652a82ec06ef01494d413d > > regards, > Nikos