trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reindl Harald <h.rei...@thelounge.net>
Subject Re: Too many threads
Date Thu, 24 Dec 2015 10:12:41 GMT


Am 24.12.2015 um 10:43 schrieb feng D:
> I found the traffic server in my machine restart too many times in one
> day. It will restart 40 times in one day.
> I then found that traffic server has too many threads. I do not know
> why, who can tell me.

what is there many and why do you think that's the reason for restarts?
i guess you have a 6-core CPU with HT

normally you can say number-of-cores * 2.5 is fine which is the default 
as example for ffmpeg video encoding

> *************************************************************************************
> # cat /proc/1242500/task/*/comm | sort |uniq -c
>        1 [ACCEPT 0:8100]
>        3 [ET_NET 0]
>        2 [ET_NET 10]
>        2 [ET_NET 11]
>        4 [ET_NET 1]
>        7 [ET_NET 2]
>        7 [ET_NET 3]
>        8 [ET_NET 4]
>        5 [ET_NET 5]
>        5 [ET_NET 6]
>        3 [ET_NET 7]
>       12 [ET_NET 8]
>        7 [ET_NET 9]
>        1 [ET_TASK 0]
>        1 [ET_TASK 1]
>        1 [LOG_FLUSH]
>        1 [LOG_PREPROC 0]
>        2 traffic_server
>
> ****************************************************************************************


Mime
View raw message