Limiting Inodes
Oct 8, 2007
I am just playing around with a server of mine, and I wanted to know is there anyway to limit the amount of inodes ( files and folders) a user can have? I am using cpanel/whm. Or is there a way I can receive an " alert" once a user has reached the specified limit?
View 3 Replies
ADVERTISEMENT
Apr 27, 2009
We need at least 30-40 gig space, to be on a 100 mbps uplink, SSH, MySQL with very high limit of mysql connections... unix based, for a site that now has ZERO visitors but with time should become very large in terms of traffic. We would like to host 4-5 different sites on this account, each on an IP with a different C class.
View 14 Replies
View Related
Oct 21, 2009
I have a VPS that has hard limits for Disk Inodes at 500,000. I am currently over 430,000.
I am only using 24GB of 40GB of disk space.
How do I find what is gobbling up disk inodes? How can I find unused, abusive or unnecessary disk inodes and remove them?
# df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/vzfs 500000 430553 69447 87% /
/dev/simfs 500000 430553 69447 87% /tmp
/dev/simfs 500000 430553 69447 87% /var/tmp
none 2049640 95 2049545 1% /dev
View 6 Replies
View Related
Jan 19, 2008
How to list how many inodes is using some user or all users for a Linix system?
View 4 Replies
View Related
Apr 18, 2008
How do I decrease my disk inodes usage?
View 6 Replies
View Related
Jul 20, 2008
I just noticed something weird on my FreeBSD server
FreeBSD Disklabel Editor shows:
twed0s1e /home 108GB *
df -h shows:
/dev/twed0s1d 105G 4.0K 96G 0% /home
so... 108 GBs become 105 GB that become 96 GBs usable?
that's 11,11% loss
pretty big IMO
(this has nothing to do with "real space"... it's really GBs (1024^3, not 1000^3)
View 5 Replies
View Related
Dec 18, 2008
I got this resource shortage in my VPS
Disk Inodes 100.0% (Red Zone)
and when i ebter the ssh i got
/tmp/RsBfUSnM: Disk quota exceeded
-bash: echo: write error: Broken pipe
What is cause this and how can i solve this issue?
View 11 Replies
View Related
Jul 31, 2007
Code:
Installing package webmin-1.350-1 needs 1 inodes on the / filesystem
Hmm, this is the first time I've encountered this error when installing Webmin and I have no idea what it means. My other servers doesnn't output this error.
What does it means by it needs 1 inodes on the filesystem?
View 2 Replies
View Related
Oct 29, 2008
We have a questions for everyone and any help would be greatfull, we are looking to limit disk inodes on a per user basis or server wide. we would like to know if anyone ca referance us as to how this is accomplished.
View 3 Replies
View Related
Oct 6, 2009
I have a vps at VPSVille, which I use for tunneling out onto the internet (behind a nazi firewall). Unfortunately, my vps keeps getting disabled because I cross the "20GB of traffic per month" allowed to any vps for tunneling - even though I have 300 GBs of bandwidth.
I'm now looking for another cheap vps host ($20/mo or less) that will let me utilize all the bandwidth I paid for.
View 6 Replies
View Related
Apr 15, 2007
I've recently hired a new server with the aim of offering FTP backups.
I have Plesk CP but I don't want to use that to create the accounts for these users - i want to use the Plesk license for webhosting customers.
My box is running CentOS with ProFTPd.
The problem i'm having, is locking down SSH access to the Backup customers - if i add an account using "useradd", it is enabled in ProFTPd as I want, and I have set ProFTPd to only allow access to their home dir. However, the users can still log in via SSH and have full access to the box. Ideally, I want to be able to remove these users from SSH access, or if that's not easily possible, not allow them to "cd" above their home dir.
I know it's possible to add their usernames to the SSHd config file under Deny, but is there a more elegant solution (bearing in mind i'm planning to have quite a few of these users)?
View 4 Replies
View Related
Nov 10, 2007
bandwidth limiting on my home network, to some specified pc's, as they are taking up to much download bandwidth. Im leaning towards windows more but i am still unsure, would any one be able to guide me or give me a few tips on what type of program will do this, what operating system and maybe some tutorials if anyone knows any good ones?
View 6 Replies
View Related
Apr 4, 2007
IP limiting on switch port.
Where a switch is set to only allow a specific IPs to be streamed from the servers connected to it.
Any server set with another IP even with a same C class range will be dropped or ignored.
eg.
Switch : with a set IP of 111.111.111.1 - 10
Any server that tries to set an IP of 111.111.111.11 and above will not get connected.
Currently I am using 3com SuperStack III 3250 switches. but after reading the manual and also searching on the net, I am a little lost on ideas....
View 8 Replies
View Related
Jun 7, 2008
Is it possible to limit internationally traffic? National would be Australian bandwidth.
For example;
Offering Unmetered national bandwidth and 10 GB international bandwidth.
OR
Offering 50 GB national bandwidth and 5 GB international bandwidth.
How would you go about doing this, tracking it, managing it, etc. Is there any software that does it already? For example Xen or Virtuozzo?
View 5 Replies
View Related
Jul 29, 2009
On an cPanel + RHEL 5.3 box at WHM - Tweak Settings, I activated "The maximum each domain can send out per hour (0 is unlimited)" and set that value to "300".
But, it seems that this limit is only if the user is sending using webmail or an email client, right now a joomla website is sending much more than 300 mails per hour, but it's using php to send the mails.
My question, how can I limit emails per hour on each domain while sending from php?
Code:
29457 username 20 0 29724 13m 5848 R 10.2 0.2 0:00.10 /usr/bin/php /home/username/public_html/index.php
View 7 Replies
View Related
Jan 7, 2009
We have Linux and windows shared hosting on our dedicated servers using Plesk are we are interested in putting in connection limits and bandwidth limiting in place but not sure what to use - we don't want to set them to be too restrictive but we don't want it to be free reign either.
I was wondering if anyone else was doing this, and if so what their levels were.
Additionally, does anyone use anything for IIS 6 on 2003 that supports bandwidth throttling of dynamic content? I know there are things for IIS 7 in 2008 but that doesn't help much
View 4 Replies
View Related
Mar 30, 2008
Is it possible to setup ftp accounts that have the ability for the users to view files on the server and upload their own files, but not download anything from the server? If so, how would this be done, if not, then as a 2nd option, do most hosting companies provide the option to disallow downloads on an ftp account if you need to do so, but allow uploads?
View 4 Replies
View Related
Jan 11, 2008
Which brand / model would you recommend for those:
1 - bw limiting on specific port (like 3mbits/sec on port4)
2 - creating vlans by ports (like vlan1 = port1 + port2)
3 - creating vlans by ips (like vlan1 =x.x.x.1 to 8, vlan2 = x.x.x.9 to 27)
4 - managing the switch from GUI
View 5 Replies
View Related
Aug 28, 2007
I've been searching a while for a box that I can throw in front of my servers that will basically look at inbound connections and if there are more than X amount of connections from IP:XXX it will block it for X minutes.
I thought a standard load balancer would do it, but according to Barracuda, their load balancers don't. They do DDOS prevention, but that's based on packet inspection. What I'm looking for is something that will block legitimate traffic when there's just been too much in a short amount of time. Basically I've got people using autosurfing programs and refreshers on my site and I'm getting tired of analyzing log files to find them.
View 5 Replies
View Related
Jun 30, 2007
Is there any way to set max MySQL queries per hour to all MySQL users at once?
(lets say 20000 queries for each user?)
(cPanel/SuSE 10.0/MySQL 5.0.X).
View 2 Replies
View Related
Jul 29, 2007
I am interested in setup user activity limits to avoid peaks on the server load, I have readen a lot about PAM and limits.conf but still have no idea on how set this limits. Most of the examples are similar to this page http://www.seifried.org/lasg/users/ but they are still confusing to me
>> I would like to setup rules like this:
Customers may not use more than 2% CPU daily, 3% memory daily, run more than 10 simultaneous processes per user, allow any process to run for longer than 30 CPU seconds, run any process that consumes more than 20% of available CPU at any time, or run any process that consumes more than 16 MB of memory.
View 6 Replies
View Related
Jun 23, 2009
I may have this wrong, but I think it's possible. I have a friend who wants to run a process on one of my servers, now I don't particularly 'care' about this server, it's just used for a couple of unimportant things so I'm okay with him running it, but I don't want the hassle of sorting out things if he decides to delete everything, so I'm hoping it's possible to limit his directory.
For example, I have the folder "people" in the top most directory, inside that I have "arthur", I want to limit the ssh user "arthur" to the folder "arthur", I don't want him to be able to cd ../../ and delete stuff, is this possible?
View 3 Replies
View Related
May 19, 2009
I have got 2 low budget dedicated servers from poundhost,I would like to find a way to limit their total monthly bandwith to 5TB so that I dont get past this limit even if the server stays for 1 day with blocked traffic or else! The one server is cent os 5 and the other is windows server.
View 6 Replies
View Related
Nov 6, 2009
how can we limit the maximum number of e-mails that can be sent by a domain in PLesk. We are facing issues where out server IP is getting blocked by some e-mail providers for bulk mailing.
View 1 Replies
View Related
Nov 16, 2008
I was reading up a thread where hostgator cpanel servers seem to be limiting IO activity per user/account/domain. How can that be achieved?
Any special limitations on a per account basis that I am not aware of?
View 1 Replies
View Related
Feb 28, 2007
I've been unable to limit the size of a process to keep it from hosing a system. I've tried the following methods:
- RLimitMEM for just Apache (although I'd like this to apply to any process in the system)
- ulimit
- PAM limits.conf (/etc/security/limits.conf)
In theory, either ulimit or limits.conf should do the trick, but when I start up Apache and run a test script to build up some memory, it doesn't get killed off. Is there any way to do what I want? I'll even take kernel modification as an option. We're running CentOS 4.4, but I don't have a problem with swapping out for another kernel.
View 7 Replies
View Related
Sep 15, 2007
I have a VPS with 256MB ram. i want to limit mysql memory access. suppose i want that mysql should not use more than 128MB ram.
is this possible? if yes how?
is this possible for all other services too?
View 4 Replies
View Related
Dec 20, 2007
I have a plesk server with qmail. I would like to limit the amount of mails been sent per day per mail box or per domain.
View 3 Replies
View Related
Jul 2, 2008
I've seen a lot of requests for a simple howto dealing with bandwidth limiting/"capping" on Linux. I put together a howto yesterday on this which I hope you'll find useful.
Ifve recently optimized the scripts used for bandwidth management in one of our UK facilities and I thought Ifd post a quick howto on it.
The full script can be found directly here: http://www.adamsinfo.com/bandwith-li...oute2/#more-15
My setup here is a live feed entering eth0 on this linux router and leaving eth1 into a switch connected to a collection of other servers. This is set up as an unrestricted public router, routing between a /30 on eth0 and a /24 on eth1.
Note: We canft in any way restrict the amount of traffic that eth0 receives from the outside, so instead we restrict how fast eth0 sends data out, the same applies the other way round. So, if we want to limit the amount of data that the local servers can send, we shape the routerfs external interface (eth0). If we want to limit the amount of data that the local servers can receive, we shape the routerfs internal interface (eth1)
With Debian Etch on 2.6.x, run:
apt-get install tc iproute2 bc
Then script as follows:
# Set some variables
#!/bin/bash
EXT_IFACE=heth0
INT_IFACE=heth1
TC=htch
UNITS=hkbith
LINE=h10000 #maximum ext link speed
LIMIT=h5000 #maximum that wefll allow
# Set some variables for individual gclassesh that wefll use to shape internal upload speed, i.e. shaping eth0
CLS1_RATE=h200 # High Priority traffic class has 200kbit
CLS2_RATE=h300 # Medium Priority class has 300kbit
CLS3_RATE=h4500 # Bulk class has 4500kbit
# (Wefll set which ones can borrow from which later)
# Set some variables for individual gclassesh that wefll use to shape internal download speed, i.e. shaping eth1
INT_CLS1_RATE=h1000 #Priority
INT_CLS2_RATE=h4000 #Bulk
[...] A few hundred lines [...]
I have tried not to get bogged down with too many irrelevant details here and would be happy to answer any questions or take any corrections. Itfs pretty simple and it works well. Install bmon and you can confirm this yourself. The purpose of this is that I can take a 10mbit connection and limit the traffic to 5mbit ensuring that I donft break the 95th percentile that I want to maintain at the datacenter. I can increase and decrease this at any time as traffic requires or permits respectively.
View 0 Replies
View Related
Oct 13, 2009
What limiting factors should clients most look into when they shop for a type of hosting, starting with shared ? When these factors are importants, a client would at least go for VPS.
I listed some of them I know (for a shared/reseller hosting type) :
- Fact that you can only host websites (no backup, no specialties hosting)
- No control over what's installer on the server
- Can go to slow to fast, depends on which sites you're hosted with
- Account can be suspended in case of traffic surge
- No SSH most of the time
View 7 Replies
View Related