Re: Installing Perl6 on shared server

2018-09-26 Thread Parrot Raiser
P.S. By today's standards, that's a pretty chintzy service; are their
limits aimed at IoT thingies?


Re: Installing Perl6 on shared server

2018-09-26 Thread Parrot Raiser
> I'm not sure which of these is limiting the compilation of rakudo.

2 out of 3 ain’t bad?  :-(


Unfortunately, they're && not ||. :-)*

On 9/26/18, Elizabeth Mattijsen  wrote:
>> On 26 Sep 2018, at 06:03, Richard Hainsworth 
>> wrote:
>>
>> Further to this question. Support staff at hosting company just informed
>> me that for the plan I have at present, the following limits are in
>> place:
>>
>> 60 seconds CPU execution time per process
>
> Build time on my MBP is around 75 seconds on my MBP.
>
>
>> 195MB of RAM per process
>
> Building rakudo *at the moment* takes about 1.2G of RAM.  This is about to
> get a whole lot less, but no where near 195MB.
>
>
>> 20 simultaneous processes
>
> That should be ok.
>
>
>> I'm not sure which of these is limiting the compilation of rakudo.
>
> 2 out of 3 ain’t bad?  :-(
>
>
> Liz


Re: Installing Perl6 on shared server

2018-09-26 Thread Elizabeth Mattijsen
> On 26 Sep 2018, at 06:03, Richard Hainsworth  wrote:
> 
> Further to this question. Support staff at hosting company just informed me 
> that for the plan I have at present, the following limits are in place:
> 
> 60 seconds CPU execution time per process

Build time on my MBP is around 75 seconds on my MBP.


> 195MB of RAM per process

Building rakudo *at the moment* takes about 1.2G of RAM.  This is about to get 
a whole lot less, but no where near 195MB.


> 20 simultaneous processes

That should be ok.


> I'm not sure which of these is limiting the compilation of rakudo.

2 out of 3 ain’t bad?  :-(


Liz

Re: Installing Perl6 on shared server

2018-09-26 Thread Patrick Spek via perl6-users
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On Wed, 26 Sep 2018 11:20:49 +0800
Richard Hainsworth  wrote:

> a) Is there a rakudo package for debian Stretch I can install? (I'm
> just asking, but I doubt it).

https://github.com/nxadm/rakudo-pkg/releases

I believe Stretch is Debian 9, so you would want to try out
https://github.com/nxadm/rakudo-pkg/releases/download/v2018.09/rakudo-pkg-Debian9_2018.09-01_amd64.deb
as the deb of your choice. You should be able to install it with `dpkg
- -i`, however, I believe it requires root powers in order to do so.

If you have Docker as an option, there's the `rakudo-star` image
available as well.

When all else fails, remember that a VPS nowadays ranges from 1 to 10
euro a month, and then you get root access to the machine. This might
be the least effort to get you going.

- -- 
With kind regards,

Patrick Spek


www:  https://www.tyil.work/
mail: p.s...@tyil.nl
pgp:  EB9E A484 1672 2D37 16F5  A799 9ACF E193 FFBC 1F50

mastodon: @tyil@mastodon.social
github:   @Tyil
gitlab:   @tyil

-BEGIN PGP SIGNATURE-

iQEzBAEBCgAdFiEEtvaXdC78r18jzlHVAx1lkC6ECCEFAlurKggACgkQAx1lkC6E
CCEYFggAoFaCJVhHTNRQWH0vZ4Dr47RSIqkS8hwGBguoOQSxdNtAYDhEj3Nn+Or9
5IisdNMW2EGfRniD7AR6szlFv3Ti+J0+GL473CIgPlYlx98WTATDxsDpn6FKoOWu
vG9BGVN9mnBE5w7d82k9rRJBe7g9XlUoWEgKoFYQ3MI5y3cL1HX9x42+WBxGbfgq
/4lAlVmMhyC28lFhr5Bb0hQbo3VG7XVcZnF0yrFm40hhGyUR1Ql/jv3qn5B8qBxm
U7B0itZUeJfsRacUBHyUWdmHqONLqU16mcGus4mQRLfSbmWkQJGWvK5Vh3CY93L4
9ZO+UTKkjGMzUmBtJzengKis3WiTZw==
=bHzt
-END PGP SIGNATURE-


Re: Installing Perl6 on shared server

2018-09-25 Thread Richard Hainsworth
Further to this question. Support staff at hosting company just informed 
me that for the plan I have at present, the following limits are in place:


60 seconds CPU execution time per process
195MB of RAM per process
20 simultaneous processes

I'm not sure which of these is limiting the compilation of rakudo.



On 26/09/18 11:32, yary wrote:

c) Any other suggestions?

csh
unlimit
unlimit -h
make

-y





Re: Installing Perl6 on shared server

2018-09-25 Thread Richard Hainsworth

csh => OS accepted

unlimit => OS accepted

unlimit -h => several messages about not releasing hard limits

make => same problem as before, failure to allocate during parse stage.


On 26/09/18 11:32, yary wrote:

c) Any other suggestions?

csh
unlimit
unlimit -h
make

-y





Re: Installing Perl6 on shared server

2018-09-25 Thread yary
c) Any other suggestions?

csh
unlimit
unlimit -h
make

-y


Installing Perl6 on shared server

2018-09-25 Thread Richard Hainsworth

Hi,

I'm trying to install perl6 on a commercial server. The OS is Debian 
Stretch. The hosting service does not allow root access, so everything 
must be done with user permission. I do not have access to apt. Snap 
package cannot be installed.


My intention is also to set up CRO and develop a web site there.

I have uploaded rakudo-star, and run the Configure.pl routine 
successfully. However, during the make phase, during the long PARSE 
stage, I get a persistent error: MOAR panic  unable to allocate xxx bytes.


On each occasion I have tried this, I get a different value of xxx, from 
15,000 to 48bytes. The assumption is that memory depends on other 
users/processes on the server.


The support staff is not being helpful (they claim userspace is 32-bit, 
but uname indicates a 64-bit OS is being used, so I don't understand 
their 32-bit concern).


Some questions:

a) Is there a rakudo package for debian Stretch I can install? (I'm just 
asking, but I doubt it).


b) Is there a way to reduce the memory demands of MOAR during the Parse 
phase?


c) Any other suggestions?


Richard