RE: multiple qmail-send

2001-07-19 Thread Steve Wilson

The only way you would have more than 1 instance of qmail-send is if you had
more than one queue, ie a multiqueueing environment .. 1 queue for
receiving, 1 for preprocessing and 1 for sending..


Steve

> -Original Message-
> From: Daniel BODEA [mailto:[EMAIL PROTECTED]]
> Sent: 18 July 2001 22:14
> To: [EMAIL PROTECTED]; Lukas Beeler
> Subject: Re: multiple qmail-send
>
>
> Please excuse my HTML side of the email. Won't happen again.
>
> I wasn't asking about qmail-remote or qmail-local. What I was asking is
> "Could I EVER see more than 1 qmail-send process running on my
> system ?". If
> I'm not mistaken, it's the qmail-send process the one that adds bounce
> addresses to the bounce directory and it's there that I haven't seen any
> locking system. Plus qmail-send relies on the good old select
> method to poll
> its inputs so the flow is synchronous.
>
> Dan
>
> - Original Message -
> From: "Lukas Beeler" <[EMAIL PROTECTED]>
> To: "Daniel BODEA" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Wednesday, July 18, 2001 9:52 PM
> Subject: Re: multiple qmail-send
>
>
> > At 21:40 18.07.2001 +0200, Daniel BODEA wrote:
> > >Can there be, in the normal flow of qmail, multiple instances of
> > >qmail-send running at the same time (?)
> >
> > yes of course... what do you think is the concurrency limit for ?
> > exactly that
> >
> > >  because multithreaded it's not, and I haven't seen any locking
> > > mechanisms for the ressources qmail-send accesses directly.
> >
> > each of those processes send ONE individual message.. so there isn't any
> > locking machanism needed
> >
> > >
> > >Thanks,
> > >Dan
> >
> > and in future, please write text/plain and not text/html
> >
> > --
> > Lukas "Maverick" Beeler / Telematiker
> > Project: D.R.E.A.M / every.de - Your Community
> > Web: http://www.projectdream.org
> > Mail: [EMAIL PROTECTED]
> >
>




Re: multiple qmail-send

2001-07-18 Thread Lukas Beeler

At 22:09 18.07.2001 +0200, you wrote:
>On Wed, Jul 18, 2001 at 09:52:06PM +0200, Lukas Beeler wrote:
> > At 21:40 18.07.2001 +0200, Daniel BODEA wrote:
> > >Can there be, in the normal flow of qmail, multiple instances of
> > >qmail-send running at the same time (?)
> > yes of course... what do you think is the concurrency limit for ?
> > exactly that
>
>WRONG. There is always _one_ qmail-send.
>concurrencylocal   -> max concurrent qmail-local processes
>concurrencyremote  -> max concurrent qmail-remote processes
>1  -> qmail-send process

yes, you're right.. i did not think that far...

> > >  because multithreaded it's not, and I haven't seen any locking
> > > mechanisms for the ressources qmail-send accesses directly.
> > each of those processes send ONE individual message.. so there isn't any
> > locking machanism needed
>
>WRONG.
>This is true for qmail-local/qmail-remote, but not for the queue manager
>qmail-send.
>
> > and in future, please write text/plain and not text/html
>
>ACK.
>
>And you... well, I'd not answer questions here if I am not sure. No offense
>intended, it just confuses.

yes, i didn't think that far, now, i know something, thanks to you
iam really worried about misleading Daniel Bodea
i hope that this won't happen again

>For the original question:
>1 qmail-send -> 1 queue
>
>You can install more than one qmail instace per machine, e. g. in
>/var/qmail/1/, 2/ and so on. Change conf-home and make setup check for each
>instance. You have multiple queues then and must find a solution to balance
>the load between them.
>
>--
>* Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de *
>* Roedingsmarkt 14, 20459 Hamburg, Germany   *
>Unix is very simple, but it takes a genius to understand the simplicity.
>(Dennis Ritchie)

-- 
Lukas "Maverick" Beeler / Telematiker
Project: D.R.E.A.M / every.de - Your Community
Web: http://www.projectdream.org
Mail: [EMAIL PROTECTED]




Re: multiple qmail-send

2001-07-18 Thread Daniel BODEA

thanks

it's how I actually expected it to function
too bad it's the misleading responses the ones that come up first

dan

- Original Message -
From: "Henning Brauer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 18, 2001 10:09 PM
Subject: Re: multiple qmail-send


> On Wed, Jul 18, 2001 at 09:52:06PM +0200, Lukas Beeler wrote:
> > At 21:40 18.07.2001 +0200, Daniel BODEA wrote:
> > >Can there be, in the normal flow of qmail, multiple instances of
> > >qmail-send running at the same time (?)
> > yes of course... what do you think is the concurrency limit for ?
> > exactly that
>
> WRONG. There is always _one_ qmail-send.
> concurrencylocal   -> max concurrent qmail-local processes
> concurrencyremote  -> max concurrent qmail-remote processes
> 1  -> qmail-send process
>
> > >  because multithreaded it's not, and I haven't seen any locking
> > > mechanisms for the ressources qmail-send accesses directly.
> > each of those processes send ONE individual message.. so there isn't any
> > locking machanism needed
>
> WRONG.
> This is true for qmail-local/qmail-remote, but not for the queue manager
> qmail-send.
>
> > and in future, please write text/plain and not text/html
>
> ACK.
>
> And you... well, I'd not answer questions here if I am not sure. No
offense
> intended, it just confuses.
>
> For the original question:
> 1 qmail-send -> 1 queue
>
> You can install more than one qmail instace per machine, e. g. in
> /var/qmail/1/, 2/ and so on. Change conf-home and make setup check for
each
> instance. You have multiple queues then and must find a solution to
balance
> the load between them.
>
> --
> * Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de *
> * Roedingsmarkt 14, 20459 Hamburg, Germany   *
> Unix is very simple, but it takes a genius to understand the simplicity.
> (Dennis Ritchie)
>




Re: multiple qmail-send

2001-07-18 Thread Daniel BODEA

Please excuse my HTML side of the email. Won't happen again.

I wasn't asking about qmail-remote or qmail-local. What I was asking is
"Could I EVER see more than 1 qmail-send process running on my system ?". If
I'm not mistaken, it's the qmail-send process the one that adds bounce
addresses to the bounce directory and it's there that I haven't seen any
locking system. Plus qmail-send relies on the good old select method to poll
its inputs so the flow is synchronous.

Dan

- Original Message -
From: "Lukas Beeler" <[EMAIL PROTECTED]>
To: "Daniel BODEA" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, July 18, 2001 9:52 PM
Subject: Re: multiple qmail-send


> At 21:40 18.07.2001 +0200, Daniel BODEA wrote:
> >Can there be, in the normal flow of qmail, multiple instances of
> >qmail-send running at the same time (?)
>
> yes of course... what do you think is the concurrency limit for ?
> exactly that
>
> >  because multithreaded it's not, and I haven't seen any locking
> > mechanisms for the ressources qmail-send accesses directly.
>
> each of those processes send ONE individual message.. so there isn't any
> locking machanism needed
>
> >
> >Thanks,
> >Dan
>
> and in future, please write text/plain and not text/html
>
> --
> Lukas "Maverick" Beeler / Telematiker
> Project: D.R.E.A.M / every.de - Your Community
> Web: http://www.projectdream.org
> Mail: [EMAIL PROTECTED]
>




Re: multiple qmail-send

2001-07-18 Thread Henning Brauer

On Wed, Jul 18, 2001 at 09:52:06PM +0200, Lukas Beeler wrote:
> At 21:40 18.07.2001 +0200, Daniel BODEA wrote:
> >Can there be, in the normal flow of qmail, multiple instances of 
> >qmail-send running at the same time (?) 
> yes of course... what do you think is the concurrency limit for ?
> exactly that

WRONG. There is always _one_ qmail-send. 
concurrencylocal   -> max concurrent qmail-local processes
concurrencyremote  -> max concurrent qmail-remote processes
1  -> qmail-send process

> >  because multithreaded it's not, and I haven't seen any locking 
> > mechanisms for the ressources qmail-send accesses directly.
> each of those processes send ONE individual message.. so there isn't any 
> locking machanism needed

WRONG.
This is true for qmail-local/qmail-remote, but not for the queue manager
qmail-send.

> and in future, please write text/plain and not text/html

ACK.

And you... well, I'd not answer questions here if I am not sure. No offense
intended, it just confuses.

For the original question:
1 qmail-send -> 1 queue

You can install more than one qmail instace per machine, e. g. in
/var/qmail/1/, 2/ and so on. Change conf-home and make setup check for each
instance. You have multiple queues then and must find a solution to balance
the load between them.

-- 
* Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de *
* Roedingsmarkt 14, 20459 Hamburg, Germany   *
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)



Re: multiple qmail-send

2001-07-18 Thread Dave Sill

"Daniel BODEA" <[EMAIL PROTECTED]> wrote:

>Can there be, in the normal flow of qmail, multiple instances of
>qmail-send running at the same time (?) because multithreaded it's
>not, and I haven't seen any locking mechanisms for the ressources
>qmail-send accesses directly. 

one queue == one qmail-send

You can have multiple qmail-send's on system *only* if you have
multiple queues.

-Dave



Re: multiple qmail-send

2001-07-18 Thread Lukas Beeler

At 21:40 18.07.2001 +0200, Daniel BODEA wrote:
>Can there be, in the normal flow of qmail, multiple instances of 
>qmail-send running at the same time (?)

yes of course... what do you think is the concurrency limit for ?
exactly that

>  because multithreaded it's not, and I haven't seen any locking 
> mechanisms for the ressources qmail-send accesses directly.

each of those processes send ONE individual message.. so there isn't any 
locking machanism needed

>
>Thanks,
>Dan

and in future, please write text/plain and not text/html

-- 
Lukas "Maverick" Beeler / Telematiker
Project: D.R.E.A.M / every.de - Your Community
Web: http://www.projectdream.org
Mail: [EMAIL PROTECTED]