Help us enhance your Sophos Community experience. Share your thoughts in our Sophos Community survey.

[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
  • An update with clarity.  This is existing and expected behavior and we are not changing it.

    The local database is currently about 330 MB in size, so the resident memory will grow 330 MB.  When the database is updated (which can happen daily) it loads a second copy into memory so the memory usage is now 330MB x2.  The old copy in memory is not removed, however the system can choose to swap it out if it needs to.

    The memory will not continue to grow when it gets more updates.
  • An update with clarity.  This is existing and expected behavior and we are not changing it.

    The local database is currently about 330 MB in size, so the resident memory will grow 330 MB.  When the database is updated (which can happen daily) it loads a second copy into memory so the memory usage is now 330MB x2.  The old copy in memory is not removed, however the system can choose to swap it out if it needs to.

    The memory will not continue to grow when it gets more updates.


    question..what happens at the next update?  does copy 2 simply get updated then and it doesn't copy it a third time correct?

    Owner:  Emmanuel Technology Consulting

    http://etc-md.com

    Former Sophos SG(Astaro) advocate/researcher/Silver Partner

    PfSense w/Suricata, ntopng, 

    Other addons to follow

Reply
  • An update with clarity.  This is existing and expected behavior and we are not changing it.

    The local database is currently about 330 MB in size, so the resident memory will grow 330 MB.  When the database is updated (which can happen daily) it loads a second copy into memory so the memory usage is now 330MB x2.  The old copy in memory is not removed, however the system can choose to swap it out if it needs to.

    The memory will not continue to grow when it gets more updates.


    question..what happens at the next update?  does copy 2 simply get updated then and it doesn't copy it a third time correct?

    Owner:  Emmanuel Technology Consulting

    http://etc-md.com

    Former Sophos SG(Astaro) advocate/researcher/Silver Partner

    PfSense w/Suricata, ntopng, 

    Other addons to follow

Children
No Data