From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Wilson Subject: Re: bo problem, file-max limit reached within two days Date: Mon, 02 Apr 2012 09:44:47 +0100 Message-ID: <1333356312_198045@CP5-2952> References: <4F79651C.7050407@t-online.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from fireflyinternet.com (smtp.fireflyinternet.com [109.228.6.236]) by gabe.freedesktop.org (Postfix) with ESMTP id 902099E8DD for ; Mon, 2 Apr 2012 01:45:14 -0700 (PDT) In-Reply-To: <4F79651C.7050407@t-online.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Knut Petersen , intel-gfx List-Id: intel-gfx@lists.freedesktop.org On Mon, 02 Apr 2012 10:36:44 +0200, Knut Petersen wrote: > After a few unattended hours Xorg was still running, > but only a terminal window had survived the night :-( > > Xorg: git, a few days old, kernel: 3.3. > > Xorg.0.log: Nothing unusual > > dmesg: > > [156859.078080] [drm:drm_gem_create_mmap_offset] *ERROR* failed to allocate offset for bo 0 > [179417.374016] VFS: file-max limit 204863 reached > > I built a new X server and tried kernel 3.2.12 - that does not seem to help as > both the number of open files and the number of gem objects still grow without > obvious reasons. It's the EFILE that is truly worrying. We have a patch in the queue to help ease the ENOSPC issue, but the EFILE implies a bo reference leak. And that I have not found yet. Happy hunting, -Chris -- Chris Wilson, Intel Open Source Technology Centre