Re: memory leak server stalls
| From: | netbsd alpha | Date: | Sat, 21 Oct 2000 20:35:37 +0000 |
| Subject: | Re: memory leak server stalls | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-21586@lists.php.net to get a copy of this message | ||
no there were additional problems related to the
MIT-Pthreads. In the process, discovered that
MIT-Pthreads will work with Unix socket with very
minor patching. so that's a plus. Monty has been
notified.
However, there are still memory leaks related to other
issues with MIT-Pthreads which causes PHP to leak
starting with php_mysql.c in the server logs.
Right now i'm trying to link it against PTL2 thread
library instead and encountering a different set of
problems.
--- "Thies C. Arntzen" <thies@thieso.net> wrote:
> On Thu, Oct 19, 2000 at 02:57:25PM -0700, netbsd
> alpha wrote:
> > this still does exist in 4.0.3pl1. the error
> always
> > starts out with php_mysql.c in httpd's error_log.
> it
> > has since disappeared after i've successfully
> compiled
> > mysql with zlib for compress and uncompress
> > communication.
>
> hmmm - weird. so you problem is solved now?
>
> tc
> >
> > --- "Thies C. Arntzen" <thies@thieso.net> wrote:
> > > On Mon, Oct 16, 2000 at 11:12:57PM -0700, netbsd
> > > alpha wrote:
> > > > netbsd/alpha 1.5-current
> > > > php v4.0 RC2 / apache module
> > >
> > > v4.0 RC2 -> please upgrade and report back
> if
> > > the problem
> > > still exists in the latest PHP version.
> > >
> > > tc
> > >
> > > > apached 1.3.12
> > > >
> > > > my php scripts have been running just fine,
> 'til i
> > > > installed PHPAdsNew. now if i load a page that
> > > uses
> > > > phpadsnew about 3 to 4 times, the web server
> > > doesn't
> > > > seem to stop responding. if i do "apachectl
> > > graceful"
> > > > then it responds again. checking my error_log
> > > yields
> > > > these errors:
> > > > ---cut---
> > > > ./zend_execute.c(1572) : Freeing 0x120347740
> (24
> > > > bytes),
> > > >
> > >
> script=/home/staffs/t/tom/public_html/ads/client.php
> > > > php_mysql.c(381) : Freeing 0x1202F71C0 (33
> > > bytes),
> > > >
> > >
> script=/home/staffs/t/tom/public_html/ads/client.php
> > > > php_mysql.c(515) : Freeing 0x120201840 (576
> > > bytes),
> > > >
> > >
> script=/usr/local/web/.../htdocs/phpweblog/index.php
> > > > ./zend_execute.c(1572) : Freeing 0x120352440
> (24
> > > > bytes),
> > > >
> > >
> script=/usr/local/web/.../htdocs/phpweblog/index.php
> > > > ./zend_execute.c(405) : Freeing 0x120334DC0
> (12
> > > > bytes),
> > > >
> > >
> script=/usr/local/web/.../htdocs/phpweblog/index.php
> > > > zend_variables.c(126) : Actual location
> (location
> > > was
> > > > relayed)
> > > > Last leak repeated 2 times
> > > > ./zend_execute.c(402) : Freeing 0x120334D40
> (24
> > > > bytes),
> > > >
> > >
> script=/usr/local/web/.../htdocs/phpweblog/index.php
> > > > Last leak repeated 2 times
> > > > ./zend-scanner.l(1337) : Freeing 0x1203348C0
> (10
> > > > bytes),
> > > >
> > >
> script=/usr/local/web/.../htdocs/phpweblog/index.php
> > > > Last leak repeated 20 times
> > > > ./zend-scanner.l(1250) : Freeing 0x1203347C0
> (5
> > > > bytes),
> > > >
> > >
> script=/usr/local/web/.../htdocs/phpweblog/index.php
> > > > Last leak repeated 49 times
> > > > ./zend-scanner.l(1258) : Freeing 0x1203346C0
> (4
> > > > bytes),
> > > >
> > >
> script=/usr/local/web/.../htdocs/phpweblog/index.php
> > > > Last leak repeated 7 times
> > > >
> > > > ...more errors like it...
> > > > ---cut---
> > > >
> > > >
> __________________________________________________
> > > > Do You Yahoo!?
> > > > Yahoo! Messenger - Talk while you surf! It's
> > > FREE.
> > > > http://im.yahoo.com/
> > > >
> > > > --
> > > > PHP General Mailing List (http://www.php.net/)
> > > > To unsubscribe, e-mail:
> > > php-general-unsubscribe@lists.php.net
> > > > For additional commands, e-mail:
> > > php-general-help@lists.php.net
> > > > To contact the list administrators, e-mail:
> > > php-list-admin@lists.php.net
> > > >
> > > >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Messenger - Talk while you surf! It's
> FREE.
> > http://im.yahoo.com/
> >
__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf! It's FREE.
http://im.yahoo.com/