On 1/22/10 5:29 AM, Glenn McGurrin wrote:
How much memory do the daemons in 0.8.2 take up when running typically? Also How much memory will the ones in 0.9.x take up? I am trying to set them up but I several options on where to do that and where I want to set them up depends mostly on how much memory usage they have. Thanks.
In my testing, the daemons generally seem to run fairly well within a 64M memory limit, though if there are memory leaks (more likely in for instance an active queue handler) you may want to push the limit up.
The queue and XMPP daemons in 0.9 now keep an eye out for leaking memory and will gracefully restart themselves when reaching 90% of the memory_limit (by default; this is adjustable in $config['queue']['softlimit']).
(If they hit PHP's hard memory_limit or encounter another fatal error before reaching the soft memory check, the process will also respawn, just without the chance to shut down gracefully.)
The 0.8 daemons don't automatically respawn, so if you find them dying frequently you'll need to set up your own monitoring system to respawn them.
-- brion vibber (brion @ status.net) _______________________________________________ StatusNet-dev mailing list [email protected] http://lists.status.net/mailman/listinfo/statusnet-dev
