Derrick J Brashear wrote:

is there a munmap for every mmap

when I start cyrus, both mupdate master and slave comes up, so I get

cyrus/mupdate[2678]: MMAP at map_refresh: mmap(0, 408084480, PROT_READ, MAP_SHARED, 8, 0) = 1098067968
cyrus/mupdate[2679]: MMAP at map_refresh: mmap(0, 408084480, PROT_READ, MAP_SHARED, 8, 0) = 1098067968


The thing that got my attention is , cyrus have been running for a few hours now and every now and then I get this:

cyrus/mupdate[2679]: MUNMAP at map_refresh: munmap(1098067968, 408084480) = 0
cyrus/mupdate[2679]: MMAP at map_refresh: mmap(0, 408100864, PROT_READ, MAP_SHARED, 8, 0) = 1718439936


mupdate PID 2679 called something that requested a map_refresh .. which decided to do a munmap and then mmap.
That happens quite often, and I dont see anything wrong with that.


On the other hand, mupdate PID 2678, after doing that initial map_refresh / mmap never munmaped or mmaped again.




--- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Reply via email to