Bandwidth Quota For Shell Accounts ?
Dec 16, 2008
how can setup a monthly bandwidth quota for unix users ? Is there any tool that can measure the in/out bandwidth for all /home/* directories ? For eg if a user wget a file of 150mb , i should be able to track it. I want also to track bandwidth for a user, using dynamic port forwarding via putty.exe.
View 5 Replies
ADVERTISEMENT
Jul 17, 2007
Transfer accounts to new server - unlimited quota in all accounts.
I trying
Code:
quotaoff -av
quotaon -av
/scripts/updatenow
/scripts/initquotas
/scripts/fixquotas
Code:
[root@serwer /]# /scripts/updatenow
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Running updatenow manually may cause /scripts to become
out of sync with the cPanel installation. This can cause
a variety of problems.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Code:
[root@serwer /]# /scripts/initquotas
Warning virtual file systems are mounted. Quota's may be counted as double for users who are currently logged in. Please have jailshell users logout before running quotacheck in the future! All jailed users will be logged out in 60 seconds!
Broadcast message from root (Tue Jul 17 19:47:41 2007):
Warning! The system is about to perform quota maintenance. All users will be
logged out in 60 seconds. PLEASE Do not log back in for 30 minutes, or you may
inadvertantly disable your account.
jailshell: no process killed
Quotas are now on
Code:
[root@serwer /]# /scripts/fixquotas
Installing Default Quota Databases......Done
Warning virtual file systems are mounted. Quota's may be counted as double for users who are currently logged in. Please have jailshell users logout before running quotacheck in the future! All jailed users will be logged out in 60 seconds!
Broadcast message from root (Tue Jul 17 19:49:17 2007):
Warning! The system is about to perform quota maintenance. All users will be
logged out in 60 seconds. PLEASE Do not log back in for 30 minutes, or you may
inadvertantly disable your account.
No filesystems with quota detected.
Resetting quota for adamkaro to 1024 M
No filesystems with quota detected.
Resetting quota for adammore to 1024 M
No filesystems with quota detected.
Resetting quota for adamna to 1536 M
No filesystems with quota detected.
Resetting quota for adasmp3 to 1024 M
View 14 Replies
View Related
Mar 21, 2007
How can i set the server to suspend accounts over Quota?
View 3 Replies
View Related
Mar 16, 2007
if the number of Mysql databases or email accounts on one account has any issue on the quota (hard disk) that I offer to my customers. I'm suggesting More databases will take more space but I need clarification.
View 2 Replies
View Related
May 5, 2009
I am having Virtuozzo vps with cpanel/WHM installed.I have created some accounts in it by setting disk quota . Now the issue is : some users are using space over the allocted one ,when i use the command quota -u (username),i can see that the users are used the space over the allocated one and they are still allowed to upload file . How to fix this issue ?
View 6 Replies
View Related
Apr 15, 2007
Is there any way to totally block php shell scripts on users accounts, i don't mean like the java shell in cPanel i mean a php shell script like the kind frequently used by hackers...
View 11 Replies
View Related
May 17, 2008
I was just curious as to whether anyone has ever came across a situation where your monthly bandwidth/transfer quota is being consumed at an exponential rate without any increase of traffic to the site?
My current situation is this.
I have an account 2mhost and a monthly bandwidth transfer quota of 100,000 MB. For the past few months it's been steadily growing. When I first transfered the site to this host their cheapest package quota wasnt sufficient and I ended up with a bandwidth overage error page on my site, so I had to upgrade. In doing so I've always ended the month just shy of 80% total quota.
My problem is that it's only the 17th, and a few days ago i was at about 32%, now im at 51% with no increase of pageviews. Looking into awestats shows the alexandria2.2mhost.com using 30 gigs!! I questioned the tech support via live chat and they said it was wordpress accessing the images. So I downloaded the raw access logs and noticed that Every few seconds the server ip would make a request to a dozen or so images, each image being requested 3 times.
here's a portion of the log: ....
View 7 Replies
View Related
Jun 14, 2008
how can i create directories in my (public_html / htdocs folder) that have disk space and traffic quota?
i activated the disk quota to the native linux file system and i tried to create a user but i could not put this user in any folder in the public_html (i dont know how to do this) also there is no option to create bandwidth quota..
one more detail is that the folders need to be protected with login and password because people may try to enter this folders (e.g. www.mydomain.com/protectedfolder)
all this using webmin or another free good script.
View 4 Replies
View Related
May 28, 2008
How can I limit bandwidth of one of our accounts in SSH?
I have cPanel but my cpanel is deactivated now and I should do this from SSH!
View 4 Replies
View Related
Jul 14, 2008
The first thing i'm thinking of is cpanel but there's many others If you're runing a server with 5000gb traffic/bandwidth per month When you're creating hosting accounts, could you allow 5000gb in
each new account you're creating?
Like if you had unmetered, you'd put unmetered in every new account Considering no account would ever reach any way near their monthly allowance.
View 5 Replies
View Related
Jun 27, 2007
how i could define a maximum size for a certain folder on my web hosting thus the folder size cannot exceed this ??
Also how could i set a maximum quota for an ftp account ?? provided that i have no cpanel im on GoDaddy host
View 0 Replies
View Related
Jul 8, 2008
Do any1 know how to change jail shell to normal shell?
View 14 Replies
View Related
Apr 3, 2009
I have a Sonicwall NSA 3500. Does anyone know if you can use it to create bandwidth charts of Network Objects (e.g. IPs or Groups of IPs)?
I am thinking something like Cacti, but I don't know the code to pull that info or if it's even technically possible.
View 1 Replies
View Related
Jun 28, 2007
I've a dedicated with VERY high-end specs
16gb ram
SCSI RAID10
SATAII RAID5
CentOS 4.5 x86_64
Kernal 2.6.9-55.ELsmp
cPanel
However, it has a serious problem, which is with any quota process such as, modifying accounts' quota/creating new account with specific quota(if set to unlimited no problem occurs)/restoring account from a backup file even its a 10mb file when it reaches the quota check section. When any of those happens the load goes Very high 50+ and even can hang the server for sometime if there is a big backup to restore so its quota is big . and the top process that appears at 'top' is quotaon 105% CPU.
When I reboot the server and it come back online I can do any quota process with no issues at all for few hours after a reboot then if I do any quota concerning action the problem happens again!
The DC said its not a hardware problem while I was suspecting it is!
View 3 Replies
View Related
Sep 1, 2007
I am trying to add a new user and here's what I'm doing:
Code:
login as: root
root@server.ip.address.here's password:
Last login: Fri Aug 31 18:54:25 2007 from my.last.ip
[18:56:05][root@chii]~$ useradd -d /home/chiisana_alf -G chiisana_crew chiisana_alf
[18:56:31][root@chii]~$ passwd chiisana_alf
Changing password for user chiisana_alf.
New UNIX password:
Retype new UNIX password:
passwd: all authentication tokens updated successfully.
So far so good; right?
Next:
Code:
[18:56:40][root@chii]~$ cd /home
[18:56:46][root@chii]/home$ ls -lha
total 52K
drwx--x--x 13 root root 4.0K Aug 31 18:54 .
drwxr-xr-x 22 root root 4.0K Aug 31 17:45 ..
drwxr-xr-x 5 root root 4.0K Aug 31 00:38 .cpan
drwx------ 3 root root 4.0K Aug 31 00:37 .cpcpan
drwx------ 2 root root 4.0K Aug 29 12:04 MySQL-install
drwx--x--x 10 chiisana chiisana 4.0K Aug 30 09:54 chiisana
drwx------ 2 root root 4.0K Aug 31 18:54 chiisana_alf
drwx------ 4 chiisana_edo chiisana_edo 4.0K Aug 31 15:43 chiisana_edo
drwx------ 4 chiisana_mrpc chiisana_mrpc 4.0K Aug 31 00:36 chiisana_mrpc
drwx------ 4 chiisana_neo chiisana_neo 4.0K Aug 31 01:42 chiisana_neo
drwx------ 3 root root 4.0K Aug 31 10:01 cpapachebuild
drwxr-xr-x 3 root root 4.0K Aug 28 15:25 cpins
drwx------ 2 webadmin webadmin 4.0K Nov 10 2006 webadmin
[18:56:48][root@chii]/home$
What the? root? That's not right....
Code:
[18:56:48][root@chii]/home$ chown chiisana_alf:chiisana_alf chiisana_alf/
chown: changing ownership of `chiisana_alf/': Disk quota exceeded
Er....
Code:
[18:58:54][root@chii]/home$ du -h chiisana_alf/
4.0K chiisana_alf/
[18:59:10][root@chii]/home$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/vzfs 100G 3.4G 96G 4% /
/tmp 100G 3.4G 96G 4% /var/tmp
View 6 Replies
View Related
Aug 10, 2007
I am running cPanel and all the quotas are showing as unlimited and 0mb space used, I have tryed the rebuilt quotas in cPanel but this has no effect, can anyone shed some light on this?
View 2 Replies
View Related
Oct 25, 2009
i want to know how i can add quota to different folders,
For example the ftp user "test" have the folder "/home/admin/folder/test/" but i want to set a max quota that he can have on the folder, i tried with ftpquota but the problem is that he can add files from http too.
How can i add quota to folder test?
View 5 Replies
View Related
Apr 25, 2009
how can i enable second level quota step by step?
View 3 Replies
View Related
May 1, 2008
I am receiving the following cpanel error (towards the left hand side column) when I login into an account:
Disk Space Usage Serious problem while fetching quota data (quota): Bad file descriptor (0) Megabytes.
I still don't know what went wrong all of a sudden. I did run /scripts/fixquotas through shell but that didn't fix anything either. Here are the errors I got from there:
Installing Default Quota Databases...../var/tmp/aquota.user..../var/tmp/quota.user.....Done
WARNING! Backup dir is set to /. Unexpected results may occur!
Quotas are now on
touch: cannot touch `/var/tmp/quota.user': No such file or directory
touch: cannot touch `/var/tmp/aquota.user': No such file or directory
Resetting quota for cptest to 550 M
No filesystems with quota detected
View 5 Replies
View Related
Jun 6, 2008
there is a quota problem, i have just checked my server
home/username/.spamassassing
.Spamassassing directoy using much Space .
what is that dirctory doing ?
and what will happen if i will delete all the files in the directory
(Specially : auto_whitelist)
View 0 Replies
View Related
May 16, 2007
I just copied an account over to my new server. The site is only 10 megabytes. In cpanel, it shows:
Disk Space Usage 15670.15 Megabytes
MySQL Disk Space 0 Megabytes
Disk space available -15170.15 Megabytes
The quota is set to 500 megabytes, I ran /scripts/fixquotas twice to no avail. What could the problem be? Cpanel bug?
View 6 Replies
View Related
Apr 4, 2007
how to configure quota in mysql? I found one project, but it is in beta state for long time, and nobody is developing it i think (names mysqlquota...)
i havent found anything better... and google is showing only links from 2001 or 2003.
Maybe something has changed, and newest mysql 5.1 has some quota support?
i have Linux and free hosting, and i want to limit size of the databases of my users. i got all users and database on one partition - XFS, which is disk array.
View 3 Replies
View Related
Oct 31, 2009
how we can extend account quota using ssh, previously cpanel was installed on vps.
View 8 Replies
View Related
Apr 27, 2009
We have this problem .
For example when we create package with 5 gig space and assign it to user that user is able to use more than 5gigs when his disk quota expires.
It is as if the limits are not being enforced upon his account.
View 4 Replies
View Related
May 16, 2008
i have new vps server..
I added some new user to my server but when i went to List Accounts i found all users with unlimited Quota, i don't why? i already have Packages with specific quote for each one, even, if i made it Options Manually i have the same problem.
i made a reseller and from that reseller i added user with the same problem
if i loge in the cpenal for one user i have this message in the Disk Space Usage
Serious problem while fetching quota data (quota): Illegal seek (0) / MB
View 14 Replies
View Related
Jul 14, 2008
How can I do this on my server to prevent people from abusing
[url]
View 4 Replies
View Related
Jul 8, 2008
I'm running a VPS, it sounds weird but its more like a learning lab I bought to help me get better skills in linux environment, so far I've learned a bit more in BIND and apache.
I use the panel webmin, I tried setting a mount but it didn't work.
The mounted devices output this:
simfs on / type simfs (rw)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid)
proc on /proc type proc (rw,nosuid,nodev,noexec)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec)
Now, that struck me is that other VPSes that have CentOS with cpanel has their disk quota installed already. (That includes directadmin and lxadmin)
View 3 Replies
View Related
May 7, 2008
Has anyone ever run into this before? We are running into issues with one of our hosting servers, it claims that the /tmp folder has exceeded the disk quota but when you actually go to the /tmp folder it's not at all.
Here are the outputs:
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/simfs 60G 2.4G 58G 4% /
# df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/simfs 1500000 80589 1419411 6% /
# du -hs /tmp
8.2M /tmp
# echo 11111111 > /tmp/testfile
# cat /tmp/testfile
11111111
But it still gives a PHP error saying /tmp disk quota exceeded until I completely empty the folder and then it works for a few hours and does the same thing.
View 5 Replies
View Related
Mar 25, 2007
my costumer's web site often started to give "This Account Has Exceeded Its CPU Quota" error
his/her logs following.
Code:
--------------------------------------------------------------------------------
CPU Exceeded Log For Thu Mar 22 11:55:12 2007
Thu Mar 22 11:52:19 2007: used 0.13 seconds of cpu time for HTTP Request: vbulletin.com : GET /external.php?type=RSS2 HTTP/1.1
Thu Mar 22 11:52:19 2007: used 0.13 seconds of cpu time for HTTP Request: vbulletin.com : GET /external.php?type=RSS2&forumids=12 HTTP/1.1
Thu Mar 22 11:53:25 2007: used 0.18 seconds of cpu time for HTTP Request: vbulletin.com : GET / HTTP/1.1
Thu Mar 22 11:52:00 2007: used 0.13 seconds of cpu time for HTTP Request: vbulletin.com : GET /external.php?type=RSS2&forumids=12 HTTP/1.1
Thu Mar 22 11:51:59 2007: used 0.20 seconds of cpu time for HTTP Request: vbulletin.com : GET /showthread.php?t=289 HTTP/1.1
Thu Mar 22 11:51:54 2007: used 0.12 seconds of cpu time for HTTP Request: vbulletin.com : GET /external.php?type=RSS2&forumids=12 HTTP/1.1
Thu Mar 22 11:53:35 2007: used 0.07 seconds of cpu time for HTTP Request: vbulletin.com : GET /clientscript/vbulletin_multi_quote.js?v=364 HTTP/1.1
Thu Mar 22 11:52:09 2007: used 0.12 seconds of cpu time for HTTP Request: vbulletin.com : GET /attachment.php?attachmentid=65&d=1168905639 HTTP/1.1
Thu Mar 22 11:52:27 2007: used 0.28 seconds of cpu time for HTTP Request: vbulletin.com : GET /forumdisplay.php?f=12&page=2&order=desc HTTP/1.1
Thu Mar 22 11:53:34 2007: used 0.19 seconds of cpu time for HTTP Request: vbulletin.com : GET /showthread.php?p=2784 HTTP/1.1
Thu Mar 22 11:52:29 2007: used 0.12 seconds of cpu time for HTTP Request: vbulletin.com : GET /external.php?type=RSS2 HTTP/1.1
Thu Mar 22 11:54:16 2007: used 0.19 seconds of cpu time for HTTP Request: vbulletin.com : GET /index.php HTTP/1.1
Thu Mar 22 11:54:16 2007: used 0.25 seconds of cpu time for HTTP Request: vbulletin.com : GET /forum/ HTTP/1.1
Thu Mar 22 11:54:00 2007: used 0.28 seconds of cpu time for HTTP Request: vbulletin.com : GET /forumdisplay.php?f=2 HTTP/1.1
Thu Mar 22 11:55:09 2007: used 0.18 seconds of cpu time for HTTP Request: vbulletin.com : GET /forum/cron.php?&rand=65617 HTTP/1.1
Thu Mar 22 11:55:08 2007: used 49.00 seconds of cpu time for [[mysql query]]
Thu Mar 22 11:52:31 2007: used 0.13 seconds of cpu time for HTTP Request: vbulletin.com : GET /external.php?type=RSS2&forumids=12 HTTP/1.1
Thu Mar 22 11:51:57 2007: used 0.12 seconds of cpu time for HTTP Request: vbulletin.com : GET /external.php?type=RSS2 HTTP/1.1
Thu Mar 22 11:52:03 2007: used 0.15 seconds of cpu time for HTTP Request: vbulletin.com : GET /external.php?type=RSS2 HTTP/1.1
--------------------------------------------------------------------------------
CPU Exceeded Log For Thu Mar 22 12:34:21 2007
Thu Mar 22 12:31:10 2007: used 0.23 seconds of cpu time for HTTP Request: vbulletin.com : GET /forum/showthread.php?p=56720 HTTP/1.0
Thu Mar 22 12:33:25 2007: used 0.04 seconds of cpu time for HTTP Request: vbulletin.com : GET /forum/images/buttons/collapse_thead.gif HTTP/1.1
Thu Mar 22 12:33:23 2007: used 0.07 seconds of cpu time for HTTP Request: vbulletin.com.com : GET /forum/images/icons/icon1.gif HTTP/1.1
Thu Mar 22 12:33:15 2007: used 0.26 seconds of cpu time for HTTP Request: vbulletin.com : GET /forum/ HTTP/1.1
Thu Mar 22 12:33:50 2007: used 2.00 seconds of cpu time for [[mysql query]]
Thu Mar 22 12:30:30 2007: used 0.22 seconds of cpu time for HTTP Request: vbulletin.com : GET /forum/showthread.php?p=62840 HTTP/1.0
Thu Mar 22 12:33:44 2007: used 0.13 seconds of cpu time for HTTP Request: vbulletin.com : GET /cron.php?&rand=790216 HTTP/1.1
Thu Mar 22 12:32:00 2007: used 0.22 seconds of cpu time for HTTP Request: vbulletin.com : GET /forum/member.php?find=lastposter&t=42694 HTTP/1.0
Thu Mar 22 12:33:12 2007: used 0.25 seconds of cpu time for HTTP Request: vbulletin.com : GET /forum/ HTTP/1.1
Thu Mar 22 12:34:02 2007: used 0.14 seconds of cpu time for HTTP Request: vbulletin.com : GET /cron.php?&rand=350679 HTTP/1.1
Thu Mar 22 12:33:59 2007: used 0.25 seconds of cpu time for HTTP Request: vbulletin.com : GET /showthread.php?p=2787 HTTP/1.1
Thu Mar 22 12:33:13 2007: used 2.00 seconds of cpu time for [[mysql query]]
Thu Mar 22 12:33:54 2007: used 0.14 seconds of cpu time for HTTP Request: vbulletin.com : GET /cron.php?&rand=395167 HTTP/1.1
Thu Mar 22 12:33:35 2007: used 0.17 seconds of cpu time for HTTP Request: vbulletin.com : GET / HTTP/1.1
Thu Mar 22 12:34:19 2007: used 49.00 seconds of cpu time for [[mysql query]]
Thu Mar 22 12:34:20 2007: used 0.24 seconds of cpu time for HTTP Request: vbulletin.com : GET /forum/showthread.php?p=68933 HTTP/1.0
Thu Mar 22 12:33:52 2007: used 0.28 seconds of cpu time for HTTP Request: vbulletin.com : GET /forumdisplay.php?f=2 HTTP/1.1
Thu Mar 22 12:32:42 2007: used 0.24 seconds of cpu time for HTTP Request: vbulletin.com : GET /forum/member.php?find=lastposter&t=41435 HTTP/1.0
--------------------------------------------------------------------------------
CPU Exceeded Log For Thu Mar 22 16:16:16 2007
Thu Mar 22 16:14:00 2007: used 0.18 seconds of cpu time for HTTP Request: vbulletin.com : POST /forum/login.php HTTP/1.1
Thu Mar 22 16:13:35 2007: used 0.32 seconds of cpu time for HTTP Request: vbulletin.com.com : GET / HTTP/1.1
Thu Mar 22 16:14:21 2007: used 3.00 seconds of cpu time for [[mysql query]]
Thu Mar 22 16:14:21 2007: used 0.18 seconds of cpu time for HTTP Request: vbulletin.com : POST /forum/login.php HTTP/1.1
Thu Mar 22 16:16:15 2007: used 2.00 seconds of cpu time for [[mysql query]]
Thu Mar 22 16:16:11 2007: used 38.00 seconds of cpu time for [[mysql query]]
Thu Mar 22 16:14:03 2007: used 0.29 seconds of cpu time for HTTP Request: vbulletin.com.com : GET / HTTP/1.1
Thu Mar 22 16:15:22 2007: used 2.00 seconds of cpu time for [[mysql query]]
Thu Mar 22 16:15:24 2007: used 0.24 seconds of cpu time for HTTP Request: vbulletin.com : GET /forum/ HTTP/1.1
View 6 Replies
View Related