Can several servers use the same file?
Can several servers use the same file?
I run 16 UT-servers for the fun of it since years back on a high-end machine and each UT-server is about 15-17 Gig, my question is can I merge for example all textures to 1 folder for all 16 servers, I know how to do it but will it work if 2 servers want to use the same file?
Re: Can several servers use the same file?
You got a few possibilities there yes.
Most known option is making copies of your \System folder, so you atleast got 15 ucc instances.
With all their specific server *.ini's ofcourse.
And if all the servers you host, got the same files.
They can atleast find the required files in the other folders.
So instead of having 15 the same \Textures folders etc, you got only 1.
But you do got 15 \System folders.
Iam not sure what happens when you got for example 2 instances on the same map.
Theoretically they only read and should work i would say.
Most known option is making copies of your \System folder, so you atleast got 15 ucc instances.
With all their specific server *.ini's ofcourse.
And if all the servers you host, got the same files.
They can atleast find the required files in the other folders.
So instead of having 15 the same \Textures folders etc, you got only 1.
But you do got 15 \System folders.
Iam not sure what happens when you got for example 2 instances on the same map.
Theoretically they only read and should work i would say.
Re: Can several servers use the same file?
Yes, they can. They use shared lock on windows and linux.
Re: Can several servers use the same file?
Sounds good I will give it a try, will be saving 100 Gig space and avoid a lot off mismatches
Re: Can several servers use the same file?
I have been using a symlinks for a long time, everything worked fine.
Had to create custom path for *.u files, though...
Had to create custom path for *.u files, though...
Re: Can several servers use the same file?
I use hardlinks; "rdfind" helps me with that:
Ofc softlinks are supported, too.Usage: rdfind [options] FILE ...
Finds duplicate files recursively in the given FILEs (directories),
and takes appropriate action (by default, nothing).
...
-makehardlinks true |(false) replace duplicate files with hard links
"If Origin not in center it be not in center." --Buggie
Re: Can several servers use the same file?
NFO servers use it widely for almost all game files. Even for mention above .u files IIRC.
- sektor2111
- Godlike
- Posts: 6420
- Joined: Sun May 09, 2010 6:15 pm
- Location: On the roof.