pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Re: "Allowed memory size of 8388608 bytes exhausted" installing www/php4



On Sat, Mar 04 2006 - 18:44, Quentin Garnier wrote:
> On Sat, Mar 04, 2006 at 06:28:07PM +0100, Joel CARNAT wrote:
> > Hi,
> > 
> > on my way to update www/php4 (on NetBSD/sparc64 3.0), I ended there :
> > ############################################################################
> > Build complete.
> > (It is safe to ignore warnings about tempnam and tmpnam).
> > 
> > => Unwrapping files-to-be-installed.
> > ===> Installing for php-4.4.2
> > ===> Becoming root%thundera.tumfatig.net@localhost to install php.
> > /usr/pkg/bin/sudo Installing PHP SAPI module:       cgi
> > Installing PHP CGI into: /usr/pkg/bin/
> > Installing PEAR environment:      /usr/pkg/lib/php/
> > warning : bad md5sum for file /usr/pkg/lib/php/Archive/Tar.php
> > 
> > Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
> > allocate 92160 bytes) in
> > /tmp/pkgwork/www/php4/work/php-4.4.2/pear/PEAR/PackageFile/Generator/v1.php
> > on line 604
> [...]
> > any clue on this ?
> > memory trouble, php compilation issue ?
> 
> Try cranking up the data size limit (ulimit, limit, sysctl, login class,
> whichever method you prefer).
> 

I tried to change as much as possible (with ulimit and sysctl) but the
issue is still there :(

Which value did you thought might solve my problem (I can't have
stacksize.* to change).

# sysctl proc.curproc.rlimit
proc.curproc.rlimit.cputime.soft = unlimited
proc.curproc.rlimit.cputime.hard = unlimited
proc.curproc.rlimit.filesize.soft = unlimited
proc.curproc.rlimit.filesize.hard = unlimited
proc.curproc.rlimit.datasize.soft = 1073741824
proc.curproc.rlimit.datasize.hard = 1073741824
proc.curproc.rlimit.stacksize.soft = 8388608
proc.curproc.rlimit.stacksize.hard = 8388608
proc.curproc.rlimit.coredumpsize.soft = unlimited
proc.curproc.rlimit.coredumpsize.hard = unlimited
proc.curproc.rlimit.memoryuse.soft = unlimited
proc.curproc.rlimit.memoryuse.hard = unlimited
proc.curproc.rlimit.memorylocked.soft = unlimited
proc.curproc.rlimit.memorylocked.hard = unlimited
proc.curproc.rlimit.maxproc.soft = 1044
proc.curproc.rlimit.maxproc.hard = 1044
proc.curproc.rlimit.descriptors.soft = 3404
proc.curproc.rlimit.descriptors.hard = 3404
proc.curproc.rlimit.sbsize.soft = unlimited
proc.curproc.rlimit.sbsize.hard = unlimited

Attachment: pgpF2hnVVIrgg.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index