DragonFly BSD
DragonFly bugs List (threaded) for 2010-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Machine unresponsive with cache_lock: blocked on... message


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Sun, 21 Mar 2010 01:09:15 -0700 (PDT)

:I turned off postgres on the box, and at that moment all the used swap
:memory and about 500MB from active memory was cleared. Which raises a
:question: why is HAMMER using so much memory, causing applications like
:postgres to use swap (and thus run slow). The box has over 3GB of usable
:RAM, this should be well enough. I suppose HAMMER is caching the
:postgresql ondisk data? Should it cache it? FBSD+UFS2 with the same
:postgres dataset uses way less memory.
:
:My other box which runs DF with HAMMER has pretty normal memory usage but
:it doesnt run any database software.
:
:Petr

    Well, did you 'ps axl' and look at the VSZ of the processes?  That
    tells you essentially how much memory they have allocated.  It kinda
    sounds like the postgres process might have been eating a lot of
    memory unrelated to the kernel's file caching.

    HAMMER isn't really doing anything any different from UFS when it
    comes to file data caching.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]