Re: [Catalyst] Re: memory usage of mod_perl process

2007-02-13 Thread Carl Johnstone
Just a couple of comments on this topic. If you're using apache2.2 then mod_cache is available. This can be used to cache the result of a request either in memory or disk. Ideal for the situations where you want to cache the front page of your site every minute.

RE: [Catalyst] Re: memory usage of mod_perl process

2007-02-10 Thread Peter Edwards
Jeffrey Ng wrote: so are you saying in general catalyst is pretty heavy, and its not for site with many concurrent users?... No, not at all. It all depends on what your application does, how many web screens, how many peak concurrent users and equivalent requests/second, how many discrete users,

[Catalyst] Re: memory usage of mod_perl process

2007-02-09 Thread Peter Edwards
Are you hitting the database very hard? Complex joins? Are your pages very complex? No, it's a fairly simple backend processor that mostly handles XML transactions for a Flash frontend. There are some XHTML admin pages generated with Template::Toolkit (and so are slower) but they are rarely hit.

Re: [Catalyst] Re: memory usage of mod_perl process

2007-02-09 Thread Jeffrey Ng
On 2/9/07, Peter Edwards [EMAIL PROTECTED] wrote: Are you hitting the database very hard? Complex joins? Are your pages very complex? No, it's a fairly simple backend processor that mostly handles XML transactions for a Flash frontend. There are some XHTML admin pages generated with

Re: [Catalyst] Re: memory usage of mod_perl process

2007-02-09 Thread Jeffrey Ng
On 2/9/07, Oliver Gorwits [EMAIL PROTECTED] wrote: Jeffrey Ng wrote: I am the coworker of Fayland who posted the topic memory usage of mod_perl process. Our company has invested quite some time on migrating our perl code to catalyst (more than half year of time by 7 programmers). However,

Re: [Catalyst] Re: memory usage of mod_perl process

2007-02-09 Thread Perrin Harkins
On 2/9/07, Jeffrey Ng [EMAIL PROTECTED] wrote: here's the result on a live server: total used free sharedbuffers cached Mem: 415097226540161496956 0 275481313344 -/+ buffers/cache:13131242837848 Swap: 8385912

Re: [Catalyst] Re: memory usage of mod_perl process

2007-02-09 Thread Tony Losey
On Fri February 9 2007 12:53 pm, Jeffrey Ng wrote: On 2/9/07, Oliver Gorwits [EMAIL PROTECTED] wrote: Jeffrey Ng wrote: I am the coworker of Fayland who posted the topic memory usage of mod_perl process. Our company has invested quite some time on migrating our perl code to

Re: [Catalyst] Re: memory usage of mod_perl process

2007-02-09 Thread Wade . Stuart
Tony Losey [EMAIL PROTECTED] wrote on 02/09/2007 04:05:17 PM: On Fri February 9 2007 12:53 pm, Jeffrey Ng wrote: On 2/9/07, Oliver Gorwits [EMAIL PROTECTED] wrote: Jeffrey Ng wrote: I am the coworker of Fayland who posted the topic memory usage of mod_perl process. Our

Re: [Catalyst] Re: memory usage of mod_perl process

2007-02-09 Thread Jeffrey Ng
On 2/10/07, Tony Losey [EMAIL PROTECTED] wrote: On Fri February 9 2007 12:53 pm, Jeffrey Ng wrote: On 2/9/07, Oliver Gorwits [EMAIL PROTECTED] wrote: Jeffrey Ng wrote: I am the coworker of Fayland who posted the topic memory usage of mod_perl process. Our company has invested

[Catalyst] Re: memory usage of mod_perl process

2007-02-08 Thread Jeffrey Ng
I am the coworker of Fayland who posted the topic memory usage of mod_perl process. Our company has invested quite some time on migrating our perl code to catalyst (more than half year of time by 7 programmers). However, I am starting to worry that moving to catalyst is causing too much overhead

Re: [Catalyst] Re: memory usage of mod_perl process

2007-02-08 Thread Perrin Harkins
On 2/8/07, Jeffrey Ng [EMAIL PROTECTED] wrote: I have read practical mod_perl. I tried to preload many of our modules in startup.pl. But the shared memory value doesnt change at all. Also, doesnt 5.7M shared memory usage sound too small comparing to the 92.6M total size? You're not looking at

Re: [Catalyst] Re: memory usage of mod_perl process

2007-02-08 Thread Brian Kirkbride
Jeffrey Ng wrote: I am the coworker of Fayland who posted the topic memory usage of mod_perl process. Our company has invested quite some time on migrating our perl code to catalyst (more than half year of time by 7 programmers). However, I am starting to worry that moving to catalyst is

Re: [Catalyst] Re: memory usage of mod_perl process

2007-02-08 Thread Jeffrey Ng
On 2/9/07, Perrin Harkins [EMAIL PROTECTED] wrote: On 2/8/07, Jeffrey Ng [EMAIL PROTECTED] wrote: I have read practical mod_perl. I tried to preload many of our modules in startup.pl. But the shared memory value doesnt change at all. Also, doesnt 5.7M shared memory usage sound too small

Re: [Catalyst] Re: memory usage of mod_perl process

2007-02-08 Thread Oliver Gorwits
Jeffrey Ng wrote: I am the coworker of Fayland who posted the topic memory usage of mod_perl process. Our company has invested quite some time on migrating our perl code to catalyst (more than half year of time by 7 programmers). However, I am starting to worry that moving to catalyst is

Re: [Catalyst] Re: memory usage of mod_perl process

2007-02-08 Thread Perrin Harkins
On 2/8/07, Jeffrey Ng [EMAIL PROTECTED] wrote: when i run this free test, should i run it on the live server, or on a test server with single process apache mode? I wouldn't mess with things on your live server, but you want to run in normal mode, not single-process. here's the result on a

[Catalyst] Re: memory usage of mod_perl process

2007-02-08 Thread Peter Edwards
There are a lot of good tuning tips in the Apache docs, as Perrin says. I presume you've tried things like using a lightweight front end proxy (to serve images/static files) and building a custom backend mod_perl Apache that includes *only* the modules you need. If you use the stock Fedora/Redhat

Re: [Catalyst] Re: memory usage of mod_perl process

2007-02-08 Thread Bill Moseley
On Thu, Feb 08, 2007 at 10:37:24PM -, Peter Edwards wrote: For comparison, I'm using DBIx::Class across 15 tables and a really simple hand-rolled MVC (not Cat) for a medium volume site. It gives 'top' lines like: PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 21495