main problem: you are making a lot of assumptions while not provide any logs or tell something relevant about your configuration and hardware

Am 24.12.2015 um 14:53 schrieb feng D:
I have  a 7-core cpu.  But there are  80 threads, so it is too many. The
same machine has 18 threads.

And the  number of threads awalys change  from 55 to 80.  So  i think
this is abnormal.  Then traffic server will exit when  cann't get memery.

what is there abnormal?

each parallel connection is a thread

frankly on a perforking apache each connection is even a process and our backend mainserver goes up to 800 forker processes with 14 GB RAM

I think every thread used much memery so the memery was exhausted.

how much memory has the machine?
what are the logs saying (ATS as well as OS)

our ATS proxy (dedicated VM) has 4096 MB RAM
CONFIG proxy.config.cache.ram_cache.size INT 2816M

2015-12-24 18:12 GMT+08:00 Reindl Harald <[email protected]
<mailto:[email protected]>>:

    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

        
****************************************************************************************

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to