[Catalyst] assessing memory usage with fcgi

2007-08-18 Thread Daniel McBrearty
Hi I'm trying to get a grip on this right now. At the moment I am using pmap -d to see what's happening. I see mapped: 49MB writeable/private: 37MB shared: 5.7MB (which seems to be session data) why is mapped != writeable + shared ? which figure do I take per process - mapped or writeable?

Re: [Catalyst] Rate limiting password attacks

2007-08-18 Thread Bill Moseley
On Fri, Aug 17, 2007 at 09:48:33PM -0500, Jonathan Rockway wrote: Bill Moseley wrote: What's the status of the Cache plugin(s) wrt. backends? I want to be able to swap between FastMmap and Memcached via a config option As per the docs: # configure a backend or use a store plugin

Re: [Catalyst] Rate limiting password attacks

2007-08-18 Thread Antano Solar
I'm looking for ideas on how to implement a way to detect and block dictionary attacks. This is not a question of how to implement strong passwords, but rather the act of limiting logins when too many failed passwords have been attempted in some period of time. I was just wondering why can't

Re: [Catalyst] Rate limiting password attacks

2007-08-18 Thread Jonathan Rockway
Antano Solar wrote: I was just wondering why can't the form fields for username and password be changed after every x attempts. And the post data checked for the new fields. This is a good approach, and is automatic if you use the FormCanary or RequestToken plugins. Regards, Jonathan Rockway

Re: [Catalyst] improving usability / doc

2007-08-18 Thread Antano Solar
On 8/16/07, Adam Bartosik [EMAIL PROTECTED] wrote: I wonder how much better Catalyst doc would looks if the top doc page, http://search.cpan.org/dist/Catalyst-Manual/ (linked from top catalyst page) had tutos in 1..9 order, not alphabetical? Is such change in naming eg:

Re: [Catalyst] Template directive failing?

2007-08-18 Thread Antano Solar
On 8/17/07, Michael Higgins [EMAIL PROTECTED] wrote: New problem with my code: Error message is: Couldn't render template file error - shipments/form_create_do: not found action = shipments/form_create_do and in my Shipments.pm sub form_create_do : Local { # Set the

Re: [Catalyst] FCGI automatic restart / memory leaks

2007-08-18 Thread Antano Solar
On 8/16/07, Tobias Kremer [EMAIL PROTECTED] wrote: I just deployed our quite large Catalyst app and I'm seeing a constant increase in memory usage. Here's a current snapshop from top: PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 29342 www 16 0 67156 60m 3180 S1

Re: [Catalyst] Catalyst::View::Templated

2007-08-18 Thread Jonathan Rockway
Jonathan Rockway wrote: and I'll probably convert ClearSilver over tonight also. The uploaded file Catalyst-View-ClearSilver-0.02.tar.gz has entered CPAN as file: $CPAN/authors/id/J/JR/JROCKWAY/Catalyst-View-ClearSilver-0.02.tar.gz size: 4815 bytes md5:

Re: [Catalyst] Catalyst::View::Templated

2007-08-18 Thread Ashley
I think, but not positive, you can still install from the shell thusly (once it hits your mirrors): install J/JR/JROCKWAY/Catalyst-View-ClearSilver-0.02.tar.gz Just won't index as the current/default. -Ashley On Aug 18, 2007, at 10:35 PM, Jonathan Rockway wrote: