[Orca-users] Threads
Blair Zajac
blair at orcaware.com
Sun Aug 30 19:05:13 PDT 2009
I don't think we need threads for this. The main loop in Orca is
single threaded, so when it goes to read from a data file, it'll use
use the Compress::Bzip2 instance for that file.
Plus, we probably don't want as many threads as there are hosts being
monitored, that would easily kill a box.
Regards,
Blair
On Aug 30, 2009, at 6:55 PM, Hudes, Dana wrote:
> Blair: I will work on that this week
> Note that threads all share common stack so you need a lot more
> stack space than default. I'll put in some code to check for / deal
> with that
>
>
>
> ----- Original Message -----
> From: Blair Zajac <blair at orcaware.com>
> To: Hudes, Dana
> Cc: orca-users at orcaware.com <orca-users at orcaware.com>
> Sent: Sun Aug 30 21:28:18 2009
> Subject: Re: [Orca-users] Threads
>
>
> On Aug 30, 2009, at 6:14 PM, Hudes, Dana wrote:
>
> > Has anyone tried replacing the spawning of bunzip2 processes with
> > threads using Compress::Bzip2?
> > If so any feedback?
> >
> > Blair: you probably chose not to do this because the solaris-
> > distributed Perl is not threaded. Is that correct?
> >
>
> IIRC, at the time there wasn't a Compress::Bzip2 module. Having patch
> to use it would be nice instead of forking bzunip2's.
>
> Blair
>
>
> _______________________________________________
> Orca-users mailing list
> Orca-users at orcaware.com
> http://www.orcaware.com/mailman/listinfo/orca-users
More information about the Orca-users
mailing list