Re: MIME::Lite / mod_perl2 segfault

2005-12-21 Thread Chase Venters
On Wed, 21 Dec 2005, Peter Mogensen wrote: Yes. But the above version is what ships with Sarge (unfortunately) due to the API change, and I would need a very good reason to upgrade to the new API at present. So if there was a simple explanation, which I could solve by a slight modifictation to

Re: what is difference with static and DSO mod_perl ?

2005-12-20 Thread Chase Venters
On Tuesday 20 December 2005 01:17 am, LUKE wrote: Will i need recomplie apache when i modify my (perl)code , when using non-DSO mod_perl? No. Static mod_perl simply means that the mod_perl module that runs your Perl code is compiled in as part of Apache itself, rather than being a runtime

Re: go crazy with me

2005-12-19 Thread Chase Venters
On Mon, 19 Dec 2005, Perrin Harkins wrote: processes free for accepting jobs (as opposed to processing jobs). If there are not, it adds the job to the queue and goes back to listening for requests. If there are, it processes the job. This ensures that processing jobs does not starve the

Re: go crazy with me

2005-12-19 Thread Chase Venters
On Mon, 19 Dec 2005, Perrin Harkins wrote: On Mon, 2005-12-19 at 13:43 -0600, Chase Venters wrote: What was happening? The application had been taking messages into the queue, promising the call generator to handle them. Thus the queue kept growing, and growing, and growing... That is what

Re: Circular References

2005-12-19 Thread Chase Venters
On Mon, 19 Dec 2005, Perrin Harkins wrote: Usually circular references like this are not a problem in Perl. The only issue I know of is when you try to use imported subs or variables at compile time. Generally, this is true. Do beware though of code that may lean on perl's grammar a bit

Re: Questions about optimizing memory usage

2005-12-16 Thread Chase Venters
On Thursday 15 December 2005 03:35 pm, Perrin Harkins wrote: Not a great way to start your post. Please read this: http://modperlbook.org/html/ch10_01.html My apologies. I do own the book and I have read it, but it was some time ago and I didn't remember that some of my questions were

Re: Questions about optimizing memory usage

2005-12-16 Thread Chase Venters
On Fri, 16 Dec 2005, Perrin Harkins wrote: It will probably be big. Perl structures tend to use several times the size of the actual data they store. That's what I'm worried about then I suppose. is this root hash, its keys / values / etc stored along with variables, or is it in the op

Questions about optimizing memory usage

2005-12-14 Thread Chase Venters
the _get_Big_Data_Structure call would take. Thoughts? Thanks, Chase Venters