bugzilla-daemon at main.slony.info bugzilla-daemon at main.slony.info
Fri Jul 19 07:20:38 PDT 2013
http://www.slony.info/bugzilla/show_bug.cgi?id=301

           Summary: memory leaks in slony 2.2.0 beta
           Product: Slony-I
           Version: devel
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: low
         Component: slon
        AssignedTo: slony1-bugs at lists.slony.info
        ReportedBy: ssinger at ca.afilias.info
                CC: slony1-bugs at lists.slony.info
   Estimated Hours: 0.0


A tester on IRC (aypea[0]) has reported that slony 2.2.0 (beta 3 or 4)
has a slon process that keeps growing in memory.

He says some of his nodes have slon processes that keep using more memory and
need to be restarted but others don't.

The perftools 4 project includes a heap profiling tool.  The output after his
slon has been running a while is:

Using local file /usr/bin/slon.
Using local file ./heap_profile_slony1.20130718-145425.8084.0001.heap.
Welcome to pprof!  For help, type 'help'.
(pprof) top
Total: 5.6 MB
     5.4  95.4%  95.4%      5.4  95.5% sync_helper
     0.2   3.5%  98.9%      0.2   3.5% PQencryptPassword
     0.0   0.3%  99.2%      0.0   0.3% yy_create_buffer
     0.0   0.2%  99.4%      0.0   0.2% slon_appendquery_int
     0.0   0.1%  99.5%      0.0   0.2% slon_log
     0.0   0.1%  99.6%      0.0   0.1% PQregisterThreadLock
     0.0   0.1%  99.7%      0.0   0.1% __strdup
     0.0   0.1%  99.7%      0.0   0.1% PQcopyResult
     0.0   0.1%  99.8%      0.0   0.1% initPQExpBuffer
     0.0   0.0%  99.8%      0.0   0.0% slon_make_dummyconn

-- 
Configure bugmail: http://www.slony.info/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Slony1-bugs mailing list