[haiku-bugs] Re: [Haiku] #14755: Haiku Grinds to a Halt when Dribbling

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Fri, 16 Aug 2019 15:10:02 -0000

#14755: Haiku Grinds to a Halt when Dribbling
------------------------------------+----------------------------
   Reporter:  AGMS                  |      Owner:  leavengood
       Type:  bug                   |     Status:  assigned
   Priority:  normal                |  Milestone:  Unscheduled
  Component:  Servers/media_server  |    Version:  R1/Development
 Resolution:                        |   Keywords:
 Blocked By:  4954                  |   Blocking:
Has a Patch:  0                     |   Platform:  All
------------------------------------+----------------------------

Comment (by leavengood):

 I also wrote a script which prints out the count of cloned buffers in
 media_server and media_addon_server. I am not on that machine now but it
 basically is:


 {{{
 echo media_server:
 listarea media_server | grep "buffer clone" | wc -l
 echo media_addon_server:
 listarea media_addon_server | grep "a BBuffer clone" | wc -l
 }}}

 I might have the first grep wrong, you can do a full listarea and the
 buffer clones are obvious (to get the right string to grep for.) If you
 run this before and then after a bunch of runs of flite or whatever, the
 numbers will now be the same.

 One caveat: crashing apps don't send the message I use to clean up the
 buffer cache, so we will need another solution there. I strongly suspect I
 can figure out when a particular port_id is gone though and use that for
 cleanup.

-- 
Ticket URL: <https://dev.haiku-os.org/ticket/14755#comment:21>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: