[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Memory allocation jump after running for a while with a largenumber of threads



Hrvoje Niksic wrote:

> The application is a chat server that serves a large number of client
> connections, each connection requiring two threads.  The number of
> threads oscillates from ~100 threads in early mornings to almost 4000
> threads in the evening peaks. 

The only memory the thread lbrary allocates is for the stacks, memory
for TLS, and at some point for POSIX thread-local storage.  Everything
else is caused by the user apps.

-- 
--------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]