[haiku-bugs] [Haiku] #11826: Try to reduce memory pressure for Trac instance

  • From: "zooey" <trac@xxxxxxxxxxxx>
  • Date: Thu, 05 Feb 2015 18:40:24 -0000

#11826: Try to reduce memory pressure for Trac instance
-----------------------+------------------------------
 Reporter:  zooey      |        Owner:  haiku-sysadmin
     Type:  task       |       Status:  new
 Priority:  normal     |    Milestone:
Component:  Sys-Admin  |      Version:
 Keywords:             |   Blocked By:
 Blocking:             |  Has a Patch:  0
 Platform:  All        |
-----------------------+------------------------------
 Our Trac instance has a tendency to use a lot of memory When there's load
 on it.

 This is partly due to Apache's mpm_prefork module being in use. We should
 investigate if it can be replaced by mpm_worker or mpm_event.

 Additionally, a considerable part of the memory is used by the Postgresql
 processes serving the DB-connections. As Postgresql apparently doesn't
 seem to provide a threaded server model, we should investigate if the
 number of Postgres processes can be reduced without much impact on the
 performance.

 When high load leads to memory pressure, the VM becomes unresponsive
 rather quickly, so I guess living with a DB using only few processes is
 better than leaving things like they are now ...

--
Ticket URL: <https://dev.haiku-os.org/ticket/11826>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: