~jseutter/landscape-client/invalid-integer

Viewing all changes in revision 448.

  • Committer: Free Ekanayaka
  • Date: 2012-02-03 13:50:37 UTC
  • mfrom: (445.1.1 clones-fixes)
  • Revision ID: free.ekanayaka@canonical.com-20120203135037-bezv2nye0b2fgcrf
Merge clones-fixes [f=925924] [r=tealeg,ack]

This branch:

- makes the watchdog increase the system's nofile limit of open file
  descriptors when using the --clones option, allowing the child
  processes to open a possibly high number of unix sockets to communicate
  with each other (there will be several instances of Broker, Manager and
  Monitor in each process)

- makes the TwistedReactor.call_in_thread method use Twisted's deferToThread,
  which will use a threadpool instead of spawning a thread each time, this
  should be both more efficient and safe (when running clones the number of
  threads will be kept under control)

- increases the MethodCallProtocol timeout when using --clones, as RPCs
  between processes can lag a bit in that case

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: