Re: too many file handles

2021-03-18 Thread Elizabeth Mattijsen
> On 17 Mar 2021, at 22:02, Richard Hainsworth wrote: > > After working at this, I finally found where it was happening, and a > work-around. > > I was checking all 517 http/s links in the documentation to see whether they > are all live (not 404 and host found). For this I was using LibCurl::

Re: too many file handles

2021-03-17 Thread David Emanuel da Costa Santiago
Now my question is this: Is this a problem with the LibCurl::Easy module, where I can raise an issue. Here: https://github.com/CurtTilmes/raku-libcurl Regards, David Santiago

Re: too many file handles

2021-03-17 Thread Richard Hainsworth
After working at this, I finally found where it was happening, and a work-around. I was checking all 517 http/s links in the documentation to see whether they are all live (not 404 and host found). For this I was using LibCurl::Easy. The relevant bits of code was something like for @links -

RE: too many file handles

2021-03-17 Thread Mark Devine
Richard, If a quick workaround is fitting, the problem can be dodged at the system level. I'll pick 8192 open files on Linux for example: /etc/security/limits.conf myuser hard nofile 8192 myuser soft nofile 8192 This doesn't address the open file count within Raku, but somet

Re: too many file handles

2021-03-17 Thread JJ Merelo
Is it possible that is't got its origin in the operating system, and not in Raku itself? El mié, 17 mar 2021 a las 18:56, Elizabeth Mattijsen () escribió: > > On 17 Mar 2021, at 18:45, Richard Hainsworth > wrote: > > > > I have been running into this error: "Too many open files" > > > > Sorry fo

Re: too many file handles

2021-03-17 Thread Elizabeth Mattijsen
> On 17 Mar 2021, at 18:45, Richard Hainsworth wrote: > > I have been running into this error: "Too many open files" > > Sorry for the lack of detail. The problem is that the error comes up in odd > places, so I have found it difficult to golf down into Raku program that > always fails with th