Re: [Bacula-users] [Bacula-devel] Mysterious Director console connection failures

2012-03-08 Thread Kern Sibbald
On 03/08/2012 05:37 PM, Martin Simmons wrote: >> On Wed, 07 Mar 2012 21:36:14 +0100, Kern Sibbald said: >> Hello, >> >> In looking at the output below, I have a similar comment to Martin >> about bat and bconsole. First, you should understand that currently >> the Director only has a concept o

Re: [Bacula-users] [Bacula-devel] Mysterious Director console connection failures

2012-03-08 Thread Martin Simmons
> On Wed, 07 Mar 2012 21:36:14 +0100, Kern Sibbald said: > > Hello, > > In looking at the output below, I have a similar comment to Martin > about bat and bconsole. First, you should understand that currently > the Director only has a concept of a *single* console. When you > run with bat,

Re: [Bacula-users] [Bacula-devel] Mysterious Director console connection failures

2012-03-08 Thread Phil Stracchino
On 03/08/2012 09:52 AM, Josh Fisher wrote: > Are you sure it is related to job completion and not just time? Does > your firewall limit the number of new TCP connections to port 9101, as > for example with the iptables -m limit module? There is no firewall between any of the machines involved.

Re: [Bacula-users] [Bacula-devel] Mysterious Director console connection failures

2012-03-08 Thread Josh Fisher
On 3/7/2012 5:28 PM, Phil Stracchino wrote: > On 03/07/2012 03:36 PM, Kern Sibbald wrote: >> Hello, >> >> In looking at the output below, I have a similar comment to Martin >> about bat and bconsole. First, you should understand that currently >> the Director only has a concept of a *single* cons

Re: [Bacula-users] [Bacula-devel] Mysterious Director console connection failures

2012-03-07 Thread Phil Stracchino
Another datum: This problem occurs only if the manual jobs are started or scheduled via BAT. If they are started or scheduled through bconsole, the problem does not occur. -- Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355 ala...@caerllewys.net ala...@metrocast.net

Re: [Bacula-users] [Bacula-devel] Mysterious Director console connection failures

2012-03-07 Thread Kern Sibbald
Hello, In looking at the output below, I have a similar comment to Martin about bat and bconsole. First, you should understand that currently the Director only has a concept of a *single* console. When you run with bat, it puts the console in gui mode, and so if you are running any bconsoles at

Re: [Bacula-users] [Bacula-devel] Mysterious Director console connection failures

2012-03-07 Thread Martin Simmons
> On Wed, 07 Mar 2012 19:13:58 +0100, Kern Sibbald said: > > On 03/07/2012 07:04 PM, Martin Simmons wrote: > > I don't think Maximum Concurrent Jobs ever controled console connections -- > > the default is 1, so its hard to see how that would work. > > Look at the old code. There was a kludg

Re: [Bacula-users] [Bacula-devel] Mysterious Director console connection failures

2012-03-07 Thread Kern Sibbald
On 03/07/2012 07:04 PM, Martin Simmons wrote: > I don't think Maximum Concurrent Jobs ever controled console connections -- > the default is 1, so its hard to see how that would work. Look at the old code. There was a kludge to let Consoles through. Kern > > __Martin > > >> On Wed, 07 Mar 2

Re: [Bacula-users] [Bacula-devel] Mysterious Director console connection failures

2012-03-07 Thread Martin Simmons
I don't think Maximum Concurrent Jobs ever controled console connections -- the default is 1, so its hard to see how that would work. __Martin > On Wed, 07 Mar 2012 17:29:07 +0100, Kern Sibbald said: > > Phil, > > You might take a look at what you set Maximum Concurrent Jobs > to in the Di

Re: [Bacula-users] [Bacula-devel] Mysterious Director console connection failures

2012-03-07 Thread Martin Simmons
> On Wed, 07 Mar 2012 09:58:48 -0500, Phil Stracchino said: > > OK, this is getting more and more peculiar as I study it more. Adding > bacula-devel list. > > To briefly recap the initial statement of the problem, I've been > experiencing a problem in which, after a number of successful > co

Re: [Bacula-users] [Bacula-devel] Mysterious Director console connection failures

2012-03-07 Thread Phil Stracchino
Additional information: As previously described, I started five jobs scheduled fifteen minutes in advance. The first two were started from BAT, after which BAT became unable to connect and no new consoles could be started. I then scheduled three more from an already-open console, for a total of

Re: [Bacula-users] [Bacula-devel] Mysterious Director console connection failures

2012-03-07 Thread Phil Stracchino
On 03/07/2012 11:29 AM, Kern Sibbald wrote: > Phil, > > You might take a look at what you set Maximum Concurrent Jobs > to in the Director. Each console has a job associated with it (jobid=0) > and so if you reach the maximum, no more will start. This was already checked. Director concurrency i

Re: [Bacula-users] [Bacula-devel] Mysterious Director console connection failures

2012-03-07 Thread Kern Sibbald
Phil, You might take a look at what you set Maximum Concurrent Jobs to in the Director. Each console has a job associated with it (jobid=0) and so if you reach the maximum, no more will start. Someone (not me) added Maximum Console Connections, which defaults to 20, but I am not 100% sure how it

Re: [Bacula-users] [Bacula-devel] Mysterious Director console connection failures

2012-03-07 Thread Phil Stracchino
On 03/07/2012 09:58 AM, Phil Stracchino wrote: > It appears I can connect as many consoles as I want, up to the > Director's configured concurrency limit, with no problem ... until I > start scheduling jobs. > > So, then I opened a bconsole and left it open, then scheduled two jobs > from BAT succ