Re: malloc() failure - single function document
| From: | Curt Zirzow | Date: | Thu, 24 Jun 2004 19:04:53 +0000 |
| Subject: | Re: malloc() failure - single function document | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-188993@lists.php.net to get a copy of this message | ||
* Thus wrote Joe Lewis:
> Hello, all.
>
> I've got a problem, and this is the best place I know of to find the
> solution.
>
> Those log messages are not what I call good. On the phpinfo.php script,
> the memory usage on the server goes through the roof before the messages
> get printed to the log file. I'm using FreeBSD5.2-RELEASE, and PHP
> 4.3.6 running under Apache 2.0.49. I've compiled both apache and
> mod_php from ports (similar to "rpm -i"), and also directly from the
> source code, to no avail. Does anyone have any ideas as to what is
> actually occuring?
first:
does this happen if you run the script from the command line?
second:
How is php configured? You can get the configure line if you
isue:
php -i
And Finally try this:
apachectl stop
Run:
> gdb /usr/local/apache/bin/httpd
When your at the prompt:
(gdb) run -X -d /usr/local/apache
Then access your phpinfo page via you're browser.
Back at the (gdb) prompt, if apache crashed you will be able to
issue:
{gdb) bt
Whats the contents of that?
Curt
--
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about. No, sir. Our model is the trapezoid!