2009/3/19 Tomek Wałaszek <tmwalas...@gmail.com>
> In my error_log i get this:
> Loading CGI at runtime. You could increase shared memory between Apache
> processes by preloading it in your httpd.conf or handler.pl file
>
> I think this is the problem, syntax declaration of array variable was ok
> but apache doesnt have memory so he said i cant use it becase it was
> undefined. What do you think about this?
>
Witamy Tomek,
The message that you posted below is not related to your @tab array.
This message is not an error. It's not telling you that Apache is out of
memory. Google says that this message may be a recommendation that comes
from HTML::Mason::ApacheHandler2. It's telling you that it is loading the
CGI module every time your code runs. This means that each Apache process
needs to have it's own copy of the CGI code in memory. It's recommending a
different configuration. If you add code in your your Apache configuration
or your Mason handler CGI will be loaded once when Apache starts and all of
the apache processes will be able to use the same copy.
The documentation for HTML::Mason::ApacheHandler2 includes some suggestions
for configuring Apache:
http://search.cpan.org/~beau/HTML-Mason-ApacheHandler2-0.01/lib/HTML/Mason/Mason-with-mod_perl2.pod
.
The documentation also says that it's an experimental alpha project and
should not be used in production: However, it looks like it's been in use
since 2004 so you might contact the maintainer to see if they have any
recommendations.
--
Ben
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users