Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jul 2001 14:28:53 +0400
From:      "Andrey Simonenko" <simon@comsys.ntu-kpi.kiev.ua>
To:        <vuk@ucs.co.za>
Cc:        <freebsd-questions@freebsd.org>
Subject:   Re: Sendmail & /var
Message-ID:  <005801c102e1$cbf7db00$6d36120a@comsys.ntukpi.kiev.ua>
References:  <XFMail.20010702191804.vuk@ucs.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help

----- Original Message -----
From: <vuk@ucs.co.za>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?005801c102e1$cbf7db00$6d36120a>