Port-sparc archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: svn - cannot allocate mem
On Thu, 13 Oct 2022 at 17:48, Riccardo Mottola
<riccardo.mottola%libero.it@localhost> wrote:
>
> Hi,
>
> I just launch svn, on an idle machine, which is on since some time and
> yesterday compiled soem stuff
>
> legolas$ uptime
> 3:47PM up 15 hrs, 3 users, load averages: 0.00, 0.00, 0.00
>
> I get this:
>
> legolas$ svn
> svn: _lwp_ctl: Cannot allocate mem
>
> what's up?
>
> legolas$ vmstat
> procs memory page disks faults cpu
> r b avm fre flt re pi po fr sr f0 s0 in sy cs us
> sy id
> 1 0 110400 102012 341 0 0 0 3 3 0 1 314 228 57 18
> 6 76
>
>
> lot's of free mem! I see no late messages in dmesg.
>
> If I launch git... doh!
> legolas$ git
> git: _lwp_ctl: Cannot allocate memory
>
> ... I do a reboot, abd both git and svn start again.
What does the following return?
sysctl proc.$$.rlimit.maxlwp.soft proc.$$.rlimit.maxlwp.hard
Also does the following help when its in that state (replace "doas"
with your preferred run as root command, but note that $$ needs to be
the pid of the shell in which you are trying to run svn/git :)
doas /sbin/sysctl -w proc.$$.rlimit.maxlwp.soft=2048
proc.$$.rlimit.maxlwp.hard=4096
David
Home |
Main Index |
Thread Index |
Old Index