Leif Hedstrom created TS-4208:
---------------------------------

             Summary: The TOTAL from freelist memory debug dump is wrong
                 Key: TS-4208
                 URL: https://issues.apache.org/jira/browse/TS-4208
             Project: Traffic Server
          Issue Type: Bug
          Components: Core
            Reporter: Leif Hedstrom


e.g.
{code}
... (bunch of memory used here, hundreds of gig)
              65536 |               1024 |        512 | memory/FetchSMAllocator
           12058624 |            6886400 |       1024 | memory/ArenaBlock
         8457352192 |         8185164912 |            | TOTAL
{code}

I think this is a type casting issue (we don't seem to cast to uint64_t when 
necessary).

Also, while looking at this, [~psudaemon] realized that some existing 
variables, that are being updated are never used. We likely should just nuke 
these:

{code}
inkcoreapi extern volatile int64_t fastalloc_mem_in_use;
inkcoreapi extern volatile int64_t fastalloc_mem_total;
inkcoreapi extern volatile int64_t freelist_allocated_mem;
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to