Swap file location

2001-03-16 Thread Michael J. Micek
If you needed to create a swap file, where would you put it?
/var/local/swap0?

-- 
Michael J. Micek, CyberStrategies, Inc. sysadmin.   [EMAIL PROTECTED]



Re: Exim Errors

2001-03-13 Thread Michael J. Micek
On Mon, Mar 12, 2001 at 06:29:08PM -0800, Eric G. Miller wrote:
> On Mon, Mar 12, 2001 at 06:21:51PM -0500, Matt Kopishke wrote:
> > Hi, I keep getting errors like this:
> > 
> > Mar 12 09:42:56 Jekyll exim[7309]: 2001-03-12 09:42:56 14cTXE-0001tt-00
> > Cannot open main log file "/var/log/exim/mainlog": Too many open files in
> > system: euid=8 egid=8
> > 
> > This is on our main email server, which gets hit pretty hard.  Does 2.4 up
> > the open file limit?
> 
> I think the number of file handles is configurable.  Maybe have a look
> at linux/Documentation/sysctl/fs.txt and /proc/sys/file-max.
> 
> Maybe, echo "8096" > /proc/sys/file-max ??  Don't know, never played
> with it...

Actually, /proc/sys/fs/file-max in 2.2.  (And Eric probably
meant 8192, though I don't know that even numbers matter.)

More critically, you may also have to increase the file
handle resource limit (ulimit -n 2048, or so) before the
mail server gets executed, perhaps in /etc/init.d/exim.

(Pray report what works?)

-- 
Michael J. Micek, CyberStrategies, Inc. sysadmin.   [EMAIL PROTECTED]



Re: apt-get source -b build directory

2001-03-09 Thread Michael J. Micek
On Fri, Mar 09, 2001 at 02:33:25PM -0800, Bill Wohler wrote:
>   I just tried `apt-get source -b xmms' and the package was downloaded
>   and built in /etc. Why there?

pwd

> Wouldn't it be better to do it in /usr/src?
> 
>   If I can't change Debian policy, how can I configure apt-get to
>   download and build in /usr/src? Assuming, of course, that someone
>   convinces me I don't want to do that ;-).

cd /usr/src

or /usr/local/src, or wherever (/var/local/src?) before
running apt-get.

-- 
Michael J. Micek, CyberStrategies, Inc. sysadmin.   [EMAIL PROTECTED]