ANNOUNCE: Apache::SMTP

2004-02-23 Thread mock
A while ago I attended an interesting talk by Stas at the Vancouver pm. The idea of building an SMTP server using mod_perl was mentioned and the task kind of appealed to me, so here's my first attempt at it. Note that it uses Apache::TieBucketBrigade, which is my attempt at making bucket

Re: [OT-ish] Good name for generic wrapper around Apache::Session?

2004-02-23 Thread Jean-Michel Hiver
Dave Rolsky wrote: I'd like to create a wrapper around Apache::Session that would Well if you write 'a wrapper around Apache::Session', then I think you should call it Apache::Session::Wrapper since that's what you say it is... automatically create the session based on either a query/POST

Re: MPM worker and ithreads

2004-02-23 Thread Richard F. Rebel
Hello, I am using ap2 + mp2 with the worker mpm and ithreads to serve about 12 million dynamically generated pages per day. This includes RPC calls via HTTP and database queries. I am currently experimenting with creating pools of threads inside the perl interpreter for handling communicating

Re: MPM worker and ithreads

2004-02-23 Thread Ged Haywood
Hi there, On Mon, 23 Feb 2004, Richard F. Rebel wrote: I am using ap2 + mp2 with the worker mpm and ithreads to serve about 12 million dynamically generated pages per day. ... expense ... performance ... bugs ... ithreads ... snots on P5P Thanks very much for that report, it's really useful.

Re: [OT-ish] Good name for generic wrapper around Apache::Session?

2004-02-23 Thread Ged Haywood
Hi Dave, On Mon, 23 Feb 2004, Dave Rolsky wrote: On Mon, 23 Feb 2004, Jean-Michel Hiver wrote: Well if you write 'a wrapper around Apache::Session', then I think you should call it Apache::Session::Wrapper since that's what you say it is... True enough, I guess. But the original

ap2+ mp2 with FreeBSD

2004-02-23 Thread Stefan Cars
Hi! I got alot of good input on my question regarding ap2+mp2+worker now I have some questions on performance and problems using ap2+mp2 with FreeBSD and threads, is there any people that is doing this sucessfully and how is performance compared to Linux ? Kind Regards, Stefan Cars -- Report

Re: [OT-ish] Good name for generic wrapper around Apache::Session?

2004-02-23 Thread Perrin Harkins
I would suggest Apache::SessionGlue (problematic, since it doesn't belong under Apache) or CGI::SessionGlue. If you plan to expand it later to offer use of CGI::Session, or a different storage mechanism altogether, then the latter would be better. - Perrin -- Report problems:

Re: [mp2] Problem w/Set-Cookie header and Internet Explorer

2004-02-23 Thread Larry Leszczynski
Hi Scott - when I connect with Internet Explorer (6, on XP) I don't seem to be getting the Set-Cookie headers (I've turned on prompt for cookies, and deleted the entire list of allowed sites). Other headers, like the Location header, seem to be fine. For certain security settings, IE 6 uses

Re: MPM worker and ithreads

2004-02-23 Thread Stas Bekman
Ged Haywood wrote: Hi there, On Mon, 23 Feb 2004, Richard F. Rebel wrote: I am using ap2 + mp2 with the worker mpm and ithreads to serve about 12 million dynamically generated pages per day. ... expense ... performance ... bugs ... ithreads ... snots on P5P Thanks very much for that report,

Re: MPM worker and ithreads

2004-02-23 Thread Stas Bekman
Richard F. Rebel wrote: Hello, I am using ap2 + mp2 with the worker mpm and ithreads to serve about 12 million dynamically generated pages per day. This includes RPC calls via HTTP and database queries. I am currently experimenting with creating pools of threads inside the perl interpreter for

Re: MPM worker and ithreads

2004-02-23 Thread Richard F. Rebel
On Mon, 2004-02-23 at 14:05, Stas Bekman wrote: Ged Haywood wrote: I see your experience with the -er- people at P5P was similar to mine. That's very untrue, guys. p5p cares a lot for mod_perl and helps a lot to fix things so that mod_perl will be happy. Not once a major release was

Re: ANNOUNCE: Apache::SMTP

2004-02-23 Thread Stas Bekman
mock wrote: A while ago I attended an interesting talk by Stas at the Vancouver pm. The idea of building an SMTP server using mod_perl was mentioned and the task kind of appealed to me, so here's my first attempt at it. Note that it uses Apache::TieBucketBrigade, which is my attempt at making

Re: MPM worker and ithreads

2004-02-23 Thread Perrin Harkins
On Mon, 2004-02-23 at 10:03, Richard F. Rebel wrote: I am using ap2 + mp2 with the worker mpm and ithreads to serve about 12 million dynamically generated pages per day. This includes RPC calls via HTTP and database queries. I am currently experimenting with creating pools of threads inside

Re: ANNOUNCE: Apache::SMTP

2004-02-23 Thread mock
On Mon, Feb 23, 2004 at 11:27:33AM -0800, Stas Bekman wrote: Cool. It looks nice, but you shouldn't have rushed to release things on CPAN, IMHO. Why taking over the Apache::SMTP namespace if you don't implement a full SMTP protocol? It's usually a good idea to post a proposal here so we

Re: MPM worker and ithreads

2004-02-23 Thread Richard F. Rebel
On Mon, 2004-02-23 at 16:04, Perrin Harkins wrote: On Mon, 2004-02-23 at 10:03, Richard F. Rebel wrote: I am using ap2 + mp2 with the worker mpm and ithreads to serve about 12 million dynamically generated pages per day. This includes RPC calls via HTTP and database queries. I am

Re: MPM worker and ithreads

2004-02-23 Thread Nigel Hamilton
Umm, maybe we are talking about different things. If I run my application with 500+ httpd's in the process list using prefork, it uses a lot more memory than running 10 httpds with 64 threads each using worker. It also gets worse over time (as shared pages get altered). Hi Richard,

Re: ANNOUNCE: Apache::SMTP

2004-02-23 Thread Stas Bekman
mock wrote: On Mon, Feb 23, 2004 at 11:27:33AM -0800, Stas Bekman wrote: Cool. It looks nice, but you shouldn't have rushed to release things on CPAN, IMHO. Why taking over the Apache::SMTP namespace if you don't implement a full SMTP protocol? It's usually a good idea to post a proposal here

Re: ANNOUNCE: Apache::SMTP

2004-02-23 Thread Stas Bekman
Stas Bekman wrote: [...] I'm having a little difficulty figuring out how to create request which isn't HTTP. I'll move TestTieBucketBrigade and rerelease just as soon as I figure out how to make Apache::TestRequest do what I want. See:

embperl with Apache2 and mod_perl2

2004-02-23 Thread Collin Peters
I am new to the scene and am trying to get embperl to run with Apache2 and mod_perl2 on Windows XP (w/ activestate perl 5.8). I found the following posts: http://www.gossamer-threads.com/archive/mod_perl_C1/embperl_F6/how_to_install_Embperl_with_Apache2_P50329/

Re: MPM worker and ithreads

2004-02-23 Thread Perrin Harkins
On Mon, 2004-02-23 at 17:16, Richard F. Rebel wrote: Interesting. I just noticed documentation on the web site about these directives. Were these docs here about 1 year ago (when I wrote this app???). Those have been there for years. I remember that stuff being in Doug's slides before the

Re: ANNOUNCE: Apache::SMTP

2004-02-23 Thread Geoffrey Young
hey, you weren't quite as enthusiastic when I mentioned it ;) http://marc.theaimsgroup.com/?l=apache-modperl-devm=107514358415593w=2 That's a totally different thing. What I said above is that it's probably not the most urgent thing to do, if we ever want to get 2.0 released. eesh, I

Re: Wow. Uh. Heh. PerlRun and Seeming Caches...

2004-02-23 Thread Perrin Harkins
On Sat, 2004-02-21 at 20:43, Morbus Iff wrote: Well, without the BEGIN, running it as a normal CGI script failed entirely, with the scripts not being able to find the modules. Hmm. You must have some things inside a BEGIN or that are called from a use that need these libs to be in @INC during

Re: ANNOUNCE: Apache::SMTP

2004-02-23 Thread Stas Bekman
Geoffrey Young wrote: By commenting on Apache::TieBucketBrigade I was trying to reserve that or a similar namespace for the modperl core. So later there would be no collision/confusion. oh, I didn't get that from your comment. anyway, if something like that ever makes it into core it probably

Re: MPM worker and ithreads

2004-02-23 Thread Richard F. Rebel
On Mon, 2004-02-23 at 18:01, Perrin Harkins wrote: On Mon, 2004-02-23 at 17:16, Richard F. Rebel wrote: Interesting. I just noticed documentation on the web site about these directives. Were these docs here about 1 year ago (when I wrote this app???). Those have been there for years.

Re: MPM worker and ithreads

2004-02-23 Thread Perrin Harkins
On Mon, 2004-02-23 at 19:37, Richard F. Rebel wrote: Eh well, do I get points for making a prod system run with mp2 and mpm-worker? Certainly. We are all eager for this kind of info. Most of our clients are *slow*, so perhaps this is why things seem to work so well. Actually, if your

[ANNOUNCE] Apache::Test 1.08 RC1

2004-02-23 Thread Stas Bekman
We would like to release Apache::Test 1.08. It includes multiple changes and improvements, therefore we need your help to test it and report any problems you may have noticed. http://apache.org/~stas/Apache-Test-1.08-dev.tar.gz Thanks. Changes so far: Instead of hard-coding listen directive

Re: MPM worker and ithreads

2004-02-23 Thread Richard F. Rebel
On Mon, 2004-02-23 at 19:48, Perrin Harkins wrote: On Mon, 2004-02-23 at 19:37, Richard F. Rebel wrote: Eh well, do I get points for making a prod system run with mp2 and mpm-worker? Certainly. We are all eager for this kind of info. Yay, points. Most of our clients are *slow*, so

Re: MPM worker and ithreads

2004-02-23 Thread modperl
Somehow a high volume site for your reference: System: P4 1.6G, 1G memory, Linux 7.2, Perl 5.6, customized kernel. Front-end plain apache, and backend mod_perl, + a local mysql database(!). The system currently handles 130K unique IP per day. At the peak time, the proxy serves typically 500

Re: MPM worker and ithreads

2004-02-23 Thread Stas Bekman
Richard F. Rebel wrote: Speaking of, does anyone know of a way to tell exactly how many interpreters are running in a given process? Sounds like a job for Apache::Status. Though it will need an API to query the interpreter pools which AFAIK don't exist yet. Or may be it'll better suite

[patch] new AuthCookie feature: custom cookie names

2004-02-23 Thread Adi Fairbank
Hi, The attached patch adds a new feature to Apache::AuthCookie to allow customization of the access cookie name. I needed to be able to have a different cookie name than AuthType_AuthName. Includes the following documentation section addition: =item 5 You can optionally specify the name of

cvs commit: modperl-2.0/lib/ModPerl TestRun.pm

2004-02-23 Thread stas
stas2004/02/23 18:28:52 Modified:lib/ModPerl TestRun.pm Log: my smoke keeps on timing out on startup with worker :( bump up the default to 5 minutes. Revision ChangesPath 1.18 +1 -1 modperl-2.0/lib/ModPerl/TestRun.pm Index: TestRun.pm