From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <10034.127.0.0.1.1158576470.squirrel@mojo.unsafe.ru> In-Reply-To: <20060918094811.GG18615@immo.ru> References: <20060918093357.GE18615@immo.ru> <20060918094305.GF18615@immo.ru> <20060918094811.GG18615@immo.ru> Date: Mon, 18 Sep 2006 14:47:50 +0400 (MSD) From: "Konstantin A. Lepikhov" To: sisyphus@lists.altlinux.org User-Agent: SquirrelMail/1.4.9 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-AV-Checked: ClamAV using ClamSMTP Subject: Re: [sisyphus] OpenVZ + ntpd = ? X-BeenThere: sisyphus@lists.altlinux.org X-Mailman-Version: 2.1.9rc1 Precedence: list Reply-To: ALT Linux Sisyphus discussion list List-Id: ALT Linux Sisyphus discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Sep 2006 10:48:16 -0000 Archived-At: List-Archive: List-Post: <цитата от="Alexey I. Froloff"> > * Alexey I. Froloff [060918 13:44]: >> * Alexey I. Froloff [060918 13:35]: >> > Свежесозданый OVZ контейнер с последним сизифом и ntpd внутри: >> # strace -fFkvs 256 ntpd -T /var/lib/ntpd/ > Сравниваем strace id и strace ntpd: > > # strace id ntpd > ... > open("/lib/libnss_files.so.2", O_RDONLY) = 3 > ... > mmap2(NULL, 37512, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = > 0xe5f000 > mmap2(0xe67000, 8192, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7) = 0xe67000 > close(3) = 0 > > # strace ntpd -T /var/lib/ntpd > ... > open("/lib/libnss_files.so.2", O_RDONLY) = 6 > ... > mmap2(NULL, 37512, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 6, 0) = > -1 ENOMEM (Cannot allocate memory) > close(6) = 0 а лимиты в /proc/user_beancounters смотрел? -- WBR et al.