poor man's interpreter accounting (Was Re: MPM worker and ithreads)

2004-02-24 Thread Stas Bekman
Stas Bekman wrote: [...] Great hack Stas, but alas, I suspect(all right, I *know*) that there are interpreters that are getting reaped in my situation. Is there a similar magic BLOCK for gc like the 'CLONE' convention? I think the END block is run for every clone, I'll write a test later. I was

Re: MPM worker and ithreads

2004-02-23 Thread Stas Bekman
Richard F. Rebel wrote: On Mon, 2004-02-23 at 20:34, Stas Bekman wrote: 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

Re: MPM worker and ithreads

2004-02-23 Thread Richard F. Rebel
On Mon, 2004-02-23 at 20:34, Stas Bekman wrote: > 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 w

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 Apache::VM

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 clie

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*

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 cl

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

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: MPM worker and ithreads

2004-02-23 Thread Richard F. Rebel
On Mon, 2004-02-23 at 16:49, Perrin Harkins wrote: > On Mon, 2004-02-23 at 16:40, Richard F. Rebel wrote: > > 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

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: MPM worker and ithreads

2004-02-23 Thread Perrin Harkins
On Mon, 2004-02-23 at 16:40, Richard F. Rebel wrote: > 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 t

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 cu

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 insi

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

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 h

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, it

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 usefu

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 wi

Re: MPM worker and ithreads

2004-02-21 Thread Stefan Cars
Hi! I don't have any problems, I'm just interested in what people think of the performance vs. preforking and if there is any problems using worker and ithreads ? On Fri, 20 Feb 2004, Stas Bekman wrote: > Stefan Cars wrote: > > Hi! > > > > Anyone that has any good links or any good input on usin

Re: MPM worker and ithreads

2004-02-20 Thread Stas Bekman
Stefan Cars wrote: Hi! Anyone that has any good links or any good input on using the worker MPM and ithreads with mod_perl 2 and Apache 2 You could be a bit more specific, Stafan. What kind of problems do you have? You also have to tell us more about your environment, which is done the best by c

MPM worker and ithreads

2004-02-20 Thread Stefan Cars
Hi! Anyone that has any good links or any good input on using the worker MPM and ithreads with mod_perl 2 and Apache 2 Kind Regards, Stefan Cars -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/m