From owner-freebsd-questions Mon Jul 2 4:37:32 2001 Delivered-To: freebsd-questions@freebsd.org Received: from relay1.ntu-kpi.kiev.ua (www.ntu-kpi.kiev.ua [212.111.192.161]) by hub.freebsd.org (Postfix) with ESMTP id B2E0737B406 for ; Mon, 2 Jul 2001 04:37:21 -0700 (PDT) (envelope-from simon@comsys.ntu-kpi.kiev.ua) Received: from comsys.ntu-kpi.kiev.ua (eth0.comsys.ntu-kpi.kiev.ua [10.0.1.184]) by relay1.ntu-kpi.kiev.ua (Postfix) with ESMTP id AB5C52F352; Mon, 2 Jul 2001 14:37:16 +0300 (EEST) Received: from pm5149 (pm514-9.comsys.ntu-kpi.kiev.ua [10.18.54.109]) by comsys.ntu-kpi.kiev.ua (8.11.3/8.11.3) with SMTP id f62BVt301765; Mon, 2 Jul 2001 14:31:56 +0300 (EEST) Message-ID: <005801c102e1$cbf7db00$6d36120a@comsys.ntukpi.kiev.ua> From: "Andrey Simonenko" To: Cc: References: Subject: Re: Sendmail & /var Date: Mon, 2 Jul 2001 14:28:53 +0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ----- Original Message ----- From: Newsgroups: lucky.freebsd.questions Sent: Monday, July 02, 2001 3:16 PM Subject: Sendmail & /var > I think the problem is /var/spool/mqueue, so i checked the > permissions(copied these from a linux box): > > grock:/var/spool/mqueue# ls -latr > total 4 > drwxr-xr-x 9 root wheel 512 Jun 27 17:39 .. > drwxrwxr-x 2 root mail 512 Jul 2 03:08 . > > i tried making it all 777, root.wheel and other stupid things. Hmmm....maybe > that's not the problem directory. What else should i look at? > There shoudln't be any problems with permissions, because sendmail is run with root provileges. > > (possible) problem origin: > > A while ago, i had a problem where my /var was 108% full. So, I decided to > shuffle things around, and moved my /var/spool/mqueue to /usr/var.... > and made a link to /var. That didn't free up any space, so i moved a whole > bunch of stuff over to /usr. > Nope, didnt' help. So i just rebooted, and var came down to 1%. Some process opened some file in /var file system and until it release a descriptor for that opened file, you aren't able to free disk space of opened file. > So that probably means it's some kind of virtual fs/ramdrive or something? > Where can i read up some more about that, as i see that /var is growing > again.... > > Filesystem 512-blocks Used Avail Capacity Mounted on > /dev/ad0s1a 1984478 55474 1770246 3% / > /dev/ad0s1h 25387406 16237624 7118790 70% /home > /dev/ad0s1e 496094 646 455762 0% /tmp > /dev/ad0s1g 9923450 2619084 6510490 29% /usr > /dev/ad0s1f 496094 29414 426994 6% /var > /dev/ad1s1 39246312 23862024 13390632 64% /backup > procfs 8 8 0 100% /proc > Probably some process sends to much log information to some log file, check /var/log directory. > Anyway, i think the sendmail problem came with the shuffling of the directories. > Can someone please point me in the right direction? Tell us exact directories structure you did, when you created /usr/spool/mqueue as a link to another directory. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message