[9.091][BUG]Possible memory leak in http proxy when using local content database

Hi, I had been using http proxy in default configuration and it was working great. But whats the fun in running stuff with all defaults [:P] so I loaded up local database (mem option). Since that time, the httpproxy daemon consumes all the way to 1GB ram by itself [:O] Screenshots:

1. Screenshot of random memory usage spikes in the middle of the night. I double checked and no up2dates etc were being applied.
2. Memory usage with default configuration and no local db.
3.Memory usage with local db enabled (cc set http sc_local_db mem)
4. Memory usage after a day of usage
5. Memory usage a few hours after restarting the proxy.

Regards
Bill
Parents
  • Hi all, 

    I just wanted to clarify a few things here: 

    The local DB allocates 2 chunks of memory for hot swapping between them during an update. However since only 1 chunk of memory is actively being used at any 1 time, the other chunk should get swapped out by the OS. 

    However we are currently investigating a memory fragmentation issue, which can prevent the 2nd chunk of memory from being swapped out. This in turn causes the http proxy to use more memory than expected. This is something we are actively working on right now, and hope to provide a resolution as soon as we can in a subsequent software update. 

    Bobby
Reply
  • Hi all, 

    I just wanted to clarify a few things here: 

    The local DB allocates 2 chunks of memory for hot swapping between them during an update. However since only 1 chunk of memory is actively being used at any 1 time, the other chunk should get swapped out by the OS. 

    However we are currently investigating a memory fragmentation issue, which can prevent the 2nd chunk of memory from being swapped out. This in turn causes the http proxy to use more memory than expected. This is something we are actively working on right now, and hope to provide a resolution as soon as we can in a subsequent software update. 

    Bobby
Children
No Data