ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Ilya Kurdyukov <ilyakurdyukov@basealt.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] rpm-build, AddressSanitizer failed to allocate 0xdfff0001000
Date: Fri, 12 Apr 2024 12:05:49 +0700
Message-ID: <906d434b-8ce3-494c-bc7b-3bb58e456b2d@basealt.ru> (raw)
In-Reply-To: <d0b66c52-2ea2-4adb-8bc9-8251805a18f8@basealt.ru>

И пусть тот, кто вводил эти лимиты, объяснит мне, как ограничение 
размера выделенной ВИРТУАЛЬНОЙ памяти влияет на безопасность или 
стабильность?

$ ulimit -a | grep memory
max locked memory           (kbytes, -l) 8192
max memory size             (kbytes, -m) unlimited
virtual memory              (kbytes, -v) 67108864

Я считаю что не влияет никак, если хочется ограничить использование 
памяти, то для этого есть "max memory size (-m)".


On 4/12/24 11:39, Ilya Kurdyukov wrote:
> Лимиты для hasher позарезали, даже rooter их вернуть не может:
>
> $ ulimit -v
> unlimited
> $ hsh-shell --rooter --mountpoints=/proc $TMP
> [root@localhost .in]# ulimit -v
> 67108864
> [root@localhost .in]# ulimit -v unlimited
> -bash: ulimit: virtual memory: cannot modify limit: Operation not 
> permitted
>
> А метод снятия ограничений сделали?
>
>


      reply	other threads:[~2024-04-12  5:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-12  4:14 Ilya Kurdyukov
2024-04-12  4:39 ` Ilya Kurdyukov
2024-04-12  5:05   ` Ilya Kurdyukov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=906d434b-8ce3-494c-bc7b-3bb58e456b2d@basealt.ru \
    --to=ilyakurdyukov@basealt.ru \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git