[Rio-pm] Out of memory!

Marco A P D'Andrade mdacwb em gmail.com
Quinta Abril 7 16:39:25 PDT 2011


Seu SO é 32 ou 64 bits?

Envia os comandos basicos:

free
swapon -s
ps auxw | wc -l

Você pode instalar as libs em area isolada, lembrando apenas de colocar a
indicação dentro de seu script para o local a buscar.

Ex:

  use lib qw( /usr/local/lib );


Sds,
Marco Antonio

2011/4/7 Manoel Domingues Junior <manoel.domingues.junior em gmail.com>

> Olá galera!
>
> Então, estou programando em perl usando o framework Mojolicius. Até aí tudo
> bem, mas acredito que tenho que instalar o Mojolicius no servidor web para
> poder fazer meu script funcionar... estou instalando com o local::lib e ele
> pede para que eu atualize o CPAN...
>
> Antes que sugiram, já coloquei quase toda RAM para meu usuário via
> ulimit...
>
>
> [20:00:24]:~$ cpan
> Constant subroutine __USE_POSIX undefined at /usr/lib/perl/5.10/
> features.ph line 9.
> Constant subroutine __USE_POSIX2 undefined at /usr/lib/perl/5.10/
> features.ph line 10.
> Constant subroutine __USE_POSIX199309 undefined at /usr/lib/perl/5.10/
> features.ph line 11.
> Constant subroutine __USE_POSIX199506 undefined at /usr/lib/perl/5.10/
> features.ph line 12.
> Constant subroutine __USE_XOPEN undefined at /usr/lib/perl/5.10/
> features.ph line 13.
> Constant subroutine __USE_XOPEN_EXTENDED undefined at /usr/lib/perl/5.10/
> features.ph line 14.
> Constant subroutine __USE_UNIX98 undefined at /usr/lib/perl/5.10/
> features.ph line 15.
> Constant subroutine __USE_LARGEFILE undefined at /usr/lib/perl/5.10/
> features.ph line 17.
> Constant subroutine __USE_LARGEFILE64 undefined at /usr/lib/perl/5.10/
> features.ph line 18.
> Constant subroutine __USE_FILE_OFFSET64 undefined at /usr/lib/perl/5.10/
> features.ph line 19.
> Constant subroutine __USE_BSD undefined at /usr/lib/perl/5.10/features.phline 20.
> Constant subroutine __USE_SVID undefined at /usr/lib/perl/5.10/features.phline 21.
> Constant subroutine __USE_MISC undefined at /usr/lib/perl/5.10/features.phline 22.
> Constant subroutine __USE_GNU undefined at /usr/lib/perl/5.10/features.phline 24.
> Constant subroutine __USE_REENTRANT undefined at /usr/lib/perl/5.10/
> features.ph line 25.
> Constant subroutine _POSIX_SOURCE undefined at /usr/lib/perl/5.10/
> features.ph line 50.
> Constant subroutine _POSIX_C_SOURCE undefined at /usr/lib/perl/5.10/
> features.ph line 52.
> Constant subroutine _XOPEN_SOURCE undefined at /usr/lib/perl/5.10/
> features.ph line 54.
> Constant subroutine _XOPEN_SOURCE_EXTENDED undefined at /usr/lib/perl/5.10/
> features.ph line 56.
> Constant subroutine _LARGEFILE64_SOURCE undefined at /usr/lib/perl/5.10/
> features.ph line 58.
> Constant subroutine _LARGEFILE_SOURCE undefined at /usr/lib/perl/5.10/
> features.ph line 108.
> Constant subroutine __USE_ISOC99 undefined at /usr/lib/perl/5.10/
> features.ph line 112.
> Constant subroutine __GNU_LIBRARY__ undefined at /usr/lib/perl/5.10/
> features.ph line 160.
> Operator or semicolon missing before &__inline at (eval 110) line 1.
> Ambiguous use of & resolved as operator & at (eval 110) line 1.
>
> cpan shell -- CPAN exploration and modules installation (v1.9600)
> Enter 'h' for help.
>
>
>                                                                   Can't
> ioctl TIOCGETP: Invalid argument
> Consider installing Term::ReadKey from CPAN site nearby
> at http://www.perl.com/CPAN
> Or use
>  perl -MCPAN -e shell
> to reach CPAN. Falling back to 'stty'.
> If you do not want to see this warning, set PERL_READLINE_NOWARN
> in your environment.
> cpan[1]> install CPAN
> CPAN: Storable loaded ok (v2.18)
> Going to read '/home/beta/manoel/.cpan/sources/authors/01mailrc.txt.gz'
> CPAN: Compress::Zlib loaded ok (v2.008)
> CPAN: YAML loaded ok (v0.72)
> Build_dir empty, nothing to restore
>
> ............................................................................DONE
> Going to read
> '/home/beta/manoel/.cpan/sources/modules/02packages.details.txt.gz'
>   Database was generated on Thu, 07 Apr 2011 03:27:10 GMT
> CPAN: HTTP::Date loaded ok (v5.810)
> ........................Out of memory!
>
>
> Abraços,
> --
> --
> Manoel Domingues Junior
> "Coletar dados é o primeiro passo para a sabedoria, mas compartilhar dados
> é o primeiro passo para a comunidade."
> IBM - Prodigy Linux
>
>
> _______________________________________________
> Rio-pm mailing list
> Rio-pm em pm.org
> http://mail.pm.org/mailman/listinfo/rio-pm
>
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: <http://mail.pm.org/pipermail/rio-pm/attachments/20110407/f19c01f3/attachment.html>


Mais detalhes sobre a lista de discussão Rio-pm