Bug#377692: It a known bug

2006-07-10 Thread Matt Brown
Julien Louis wrote:

> it's a known and documented bug in the README.Debian
> gere is part of the README.Debian regarding this bug:


That's a similar set of symptoms, but at this stage I don't think there
is enough informatino to link it directly to this bug report.

The reason for PHPwiki running out of memory when loading pages seems
to be due to it loading in the source for each page from disk and not
freeing the memory after it has been loaded into the database. I don't
expect that PHPwiki is loading in the source for each page every time
you try and edit a single page.

There may be a common underlying cause of course, but this could also be
a separate problem.

Cheers

-- 
Matt Brown
[EMAIL PROTECTED]
Mob +64 21 611 544 www.mattb.net.nz



signature.asc
Description: OpenPGP digital signature


Bug#377692: It a known bug

2006-07-10 Thread Julien Louis
Package: phpwiki
Version: 1.3.12p2-1
Followup-For: Bug #377692

Hi,

it's a known and documented bug in the README.Debian
gere is part of the README.Debian regarding this bug:

Known Bugs / Limitations


There appears to be a bug in PHPWiki's page loading functions that causes it
to consume far too much memory. This bug is most obvious when loading a 
"virgin wiki" immediately after installing the Debian package. PHPWiki will
get halfway through loading the initial pages and stop, in your apache error
log you will find an error about the PHP4 memory limit being reached. 

You can work around this bug by simply reloading the page several times, it
will eventually successfully load all the pages. Alternatively you can raise
the memory limit in your php.ini to 16MB.

This bug also exhibits itself as an infinite memory allocation loop on AMD64.

Raising the memory limit solved this bug for me, maybe you can do the same thing
as a workaround.

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-3-k7
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages phpwiki depends on:
ii  apache2  2.0.54-5next generation, scalable, extenda
ii  apache2-mpm-prefork [httpd]  2.0.54-5traditional model for Apache2
ii  debconf  1.4.30.13   Debian configuration management sy
ii  libapache2-mod-php4  4:4.3.10-16 server-side, HTML-embedded scripti
ii  lighttpd [httpd] 1.4.11-3A fast webserver with minimal memo
ii  php4 4:4.3.10-16 server-side, HTML-embedded scripti
ii  php4-pear4:4.3.10-16 PEAR - PHP Extension and Applicati
ii  php4-sqlite  1.0.2-7 PHP4 bindings to SQLite, a file-ba
ii  sqlite   2.8.16-1command line interface for SQLite
ii  ucf  1.17Update Configuration File: preserv

-- debconf information excluded

-- 
Never give an inch!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]