[Catalyst] Apache hangs?
Sebastian Riedel
sri at oook.de
Sun Jul 3 22:05:37 CEST 2005
Am 03.07.2005 um 21:08 schrieb Andy Grundman:
> James Tolley wrote:
>
>> On 7/3/05, Will Hawes <info at whawes.co.uk> wrote:
>>
>>> ... Apache on Win32 will often hang if large quantities of data
>>> are written to the error log
>>> Turning off debugging under Catalyst is a workaround.
>>>
>> This was the issue. I haven't tested it under Linux yet, though...
>>
>
> Good to know. Linux shouldn't have any problems, although keep in
> mind that if using -Debug, there is a small memory leak in
> Catalyst. You should not run production sites under Apache with -
> Debug.
>
> You can use code like this to run -Debug when in development mode
> and non-debug under Apache (production):
>
> use Catalyst;
> ...
> my @plugins = qw/FormValidator Session::FastMmap other plugins here/;
> push @plugins, '-Debug' if ( $ENV{USER} );
>
> MyApp->setup( @plugins );
Note that this only works in the next release (actually available in
trunk).
--
sebastian
More information about the Catalyst
mailing list