info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting LockDir to RAM Drive


From: Norberto Meijome
Subject: Re: Setting LockDir to RAM Drive
Date: Tue, 07 May 2002 09:45:24 +1000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0rc2) Gecko/20020430 Netscape7/7.0b1

:-) Excellent.
The only other thing to watch out for is for the existence of the /dev/shm/repos_n folders, as they would be gone when (if) the box is bounced. All handled from my bash script invoked via xinetd & working nicely.
Cheers,
Beto

Larry Jones wrote:

Norberto Meijome writes:
In this server box, I've got setup /dev/shm --a shared memory drive (aka RAM Drive). Is there any reason why setting

LockDir=/dev/shm/

in my config files is a bad idea? All users can read/write to this area.

No, as you suspected, it's a *good* idea.  But I'd loose the trailing
slash.

Also, is there any problem if I use the same LockDir entry for several repositories? (all running on the same box)

There's certainly a potential problem.  I'd suggest using separate
directories in the same file system.  For example, /dev/shm/repos1 and
/dev/shm/repos2.

-Larry Jones

It's going to be a long year. -- Calvin






reply via email to

[Prev in Thread] Current Thread [Next in Thread]