Saturday, February 27, 2010

Re: Website shuts down???

I stand under correction, but you can specify the amount of memory PHP
is allowed to use in your web server config, or alternatively in your
php.ini file (I think its the latter). I've had problems with out of
memory exceptions when doing multiple image transformations. If you're
using images, or other things that require lots of memory (any file
handling really) make sure you close the files appropriately and free
the used memory if applicable.

Cake uses log files. Have a look at http://book.cakephp.org/view/157/Logging
to make use of them. This is part of the programming api, so you'll
need to define your own log statements. If you put them in the right
places, you'll probably be able to isolate the problem fairly quickly.

On Feb 26, 12:44 pm, SeeVik <vikramvmalhotra1...@gmail.com> wrote:
> Hello all
>
> At my workplace, I have a web application created using cakephp 1.1.
> Its running on Windows Server 2003 on xampp (Apache, MySQL,
> phpmyAdmin) bundle. The problem is that it regularly goes down during
> peak times.
>
> It seems that the problem is in my web application since when the site
> goes down the phpmyadmin control panel runs fine. So, the problem does
> not seem to be in Apache. How can I find out the problem? Can I make
> use of some logs or error messages in cakephp or apache to figure what
> goes wrong?
>
> Sometime back I also used to get the Fatal Error: Out of memory error.
>
> Can somebody throw some light on this?
>
> Thanks and Regards
> ShiVik

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: