Dennis Posted August 30, 2013 Share Posted August 30, 2013 I know there's a way to limit the disk space per service, but I don't know how to do so. Can anyone tell me how to do so? I'm running Debian 7.1 Shouldn't I just enable Linux Quotas? Thanks in advance Link to comment Share on other sites More sharing options...
Dennis Posted September 12, 2013 Author Share Posted September 12, 2013 Anyone? Link to comment Share on other sites More sharing options...
Duvy Posted September 12, 2013 Share Posted September 12, 2013 As far as i know the Linux Quota system uses Linux users / ldap. Here we have the same userid for all the service files, so in OS level you have only 1 ( or two ) user (The owner of the files). Your clients data are in database, so it's only possible if tcadmin developers implement it, but it's more difficult than the fast-dl sync. My first idea would be a scheduled time, when your server checks everyones disk space. But it would take a lot io process for it. You can make that for yourself without mono, so you gain performance: Write a shell script calculating the usage per clients, and take it to cronjob. Link to comment Share on other sites More sharing options...
Dennis Posted September 12, 2013 Author Share Posted September 12, 2013 Are you saying that all TCAdmin services are running as the same user? If so, you're not correct. You can setup each game to start as a new user. Link to comment Share on other sites More sharing options...
LFA Posted September 13, 2013 Share Posted September 13, 2013 I have never tried it but you should be able to do this: - configure quotas on the partition where the game servers are created. - configure your games with run as = user per service - Create a script for the after created event that adds a quota for the user tcagame__svc${ThisService_ServiceId} - You can create custom icons/actions to manage/view the quota from the control panel. http://help.tcadmin.com/Custom_Scripts Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now