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

Re: выравнивание раздела: кому верить, fdisk или parted?



В Sat, 7 Dec 2019 12:40:23 +0300
Eugene Berdnikov <bd4@protva.ru> пишет:


> > > By default, Linux follows an optimistic memory allocation
> > > strategy. This means that when malloc() returns non-NULL there is
> > > no guarantee that the memory really is available. In case it
> > > turns out that the system is out of memory, one or more processes
> > > will be killed by the OOM killer.  
> 
>  Мне что-то подсказывает, что выставление лимитов на память для
> процесса и лимитов на количество процессов позволяют свести оптимизм
> к величине, соответствующей объёму физической памяти.

может проще сказать

sysctl vm.overcommit_memory=1

?


-- 
                                   Victor Wagner <vitus@wagner.pp.ru>


Reply to: