Re: Disk quota exceeded ... but no quota are defined.

2015-03-24 Thread Darac Marjal
On Tue, Mar 24, 2015 at 05:05:46AM +0100, Bruno Costacurta wrote:
Hello to All,
 
my debian server is freezed with quota exceeded but there is no quota
installed on it.
 
Debian version is :
uname -a
Linux vps622 2.6.32-042stab103.6 #1 SMP Wed Jan 21 13:07:39 MSK 2015 i686
GNU/Linux
 
No quota are setup and disk is not full as only 3% of usage are reported :
 
sudo df -h
 
Filesystem  Size  Used Avail Use% Mounted on
/dev/simfs  160G  3.8G  157G   3% /
tmpfs   205M   72K  205M   1% /run
tmpfs   5.0M 0  5.0M   0% /run/lock
tmpfs   410M 0  410M   0% /run/shm
 
mount does not indicate quota setup :
 
/vz/private/622 on / type simfs (rw,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=209716k,mode=755)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /run/shm type tmpfs
(rw,nosuid,nodev,noexec,relatime,size=419420k)
devpts on /dev/pts type devpts
(rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
sudo du -ch  /run
72K    /run
72K    total
 
But all services are freezed with quota exeeded errors.
when I log :
zsh: locking failed for /home/bruno/.histfile: disk quota exceeded:
reading anyway
 
Or in postfix logs  :
Mar 24 04:44:52 vps622 postfix/cleanup[2727]: warning: mail_queue_enter:
create file incoming/181079.2727: Disk quota exceeded
..etc..
 
Also MySQL also cannot be started.
Once rebooted the server is fine only few minutes before facing quota
exceeded.
I cannot find any quota setup.
And indeed there is no quota packages installed neither.
dpkg -l | grep quota
--- nothing.
 
How to check this quota problem ?
Thanks for any help or clue.

I don't know much about OpenVZ, but a quick bit of searching tells me
that your container has run out of space/inodes quota. That is, although
the operating system within the container can see plenty of space, the
supervising operating system is refusing to allow more allocation and
this is filtering down to the guest.

Apparently, running something like vzctl set VZID --save -diskinodes
x:y might help.

 
Bye
Bruno


signature.asc
Description: Digital signature


[RESOLVED] Disk quota exceeded ... but no quota are defined.

2015-03-24 Thread Bruno Costacurta
The server is a VPS (Virtual Private Server) one.
Indeed the inodes were full.

sudo df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/simfs 50 50 50 100% /
..etc..

So filesystem needs some files cleanup...
I identified which directory was full of files with following command
executed from root location /:

/: sudo find . -xdev -type f | cut -d / -f 2 | sort | uniq -c | sort -n

After few iterations I found the directory :
/usr/local/pnp4nagios/var/spool which contains more than 300.000 files.
Need to work on this later, but to resolve the current issue I stopped
nagios and delete its spool directory.
Then everything is up  running OK.

sudo df -i
Filesystem Inodes  IUsed  IFree IUse% Mounted on
/dev/simfs 50 167715 332285   34% /
..etc..

Thanks for your attention.
Bruno


On Tue, Mar 24, 2015 at 12:07 PM, Darac Marjal mailingl...@darac.org.uk
wrote:

 On Tue, Mar 24, 2015 at 05:05:46AM +0100, Bruno Costacurta wrote:
 Hello to All,
 
 my debian server is freezed with quota exceeded but there is no quota
 installed on it.
 
 Debian version is :
 uname -a
 Linux vps622 2.6.32-042stab103.6 #1 SMP Wed Jan 21 13:07:39 MSK 2015
 i686
 GNU/Linux
 
 No quota are setup and disk is not full as only 3% of usage are
 reported :
 
 sudo df -h
 
 Filesystem  Size  Used Avail Use% Mounted on
 /dev/simfs  160G  3.8G  157G   3% /
 tmpfs   205M   72K  205M   1% /run
 tmpfs   5.0M 0  5.0M   0% /run/lock
 tmpfs   410M 0  410M   0% /run/shm
 
 mount does not indicate quota setup :
 
 /vz/private/622 on / type simfs (rw,relatime)
 proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
 sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
 tmpfs on /run type tmpfs
 (rw,nosuid,noexec,relatime,size=209716k,mode=755)
 tmpfs on /run/lock type tmpfs
 (rw,nosuid,nodev,noexec,relatime,size=5120k)
 tmpfs on /run/shm type tmpfs
 (rw,nosuid,nodev,noexec,relatime,size=419420k)
 devpts on /dev/pts type devpts
 (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
 sudo du -ch  /run
 72K/run
 72Ktotal
 
 But all services are freezed with quota exeeded errors.
 when I log :
 zsh: locking failed for /home/bruno/.histfile: disk quota exceeded:
 reading anyway
 
 Or in postfix logs  :
 Mar 24 04:44:52 vps622 postfix/cleanup[2727]: warning:
 mail_queue_enter:
 create file incoming/181079.2727: Disk quota exceeded
 ..etc..
 
 Also MySQL also cannot be started.
 Once rebooted the server is fine only few minutes before facing quota
 exceeded.
 I cannot find any quota setup.
 And indeed there is no quota packages installed neither.
 dpkg -l | grep quota
 --- nothing.
 
 How to check this quota problem ?
 Thanks for any help or clue.

 I don't know much about OpenVZ, but a quick bit of searching tells me
 that your container has run out of space/inodes quota. That is, although
 the operating system within the container can see plenty of space, the
 supervising operating system is refusing to allow more allocation and
 this is filtering down to the guest.

 Apparently, running something like vzctl set VZID --save -diskinodes
 x:y might help.

 
 Bye
 Bruno



Yes the server is a VPS (Virtual Private Server) one.
Indeed the inodes were full.

sudo df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/simfs 50 50 50 100% /
..etc..

So filesystem needs some files cleanup...
I identified which directory was full of files with following command
executed from root location /:

/: sudo find . -xdev -type f | cut -d / -f 2 | sort | uniq -c | sort -n

After few iterations I found the directory :
/usr/local/pnp4nagios/var/spool which contains more than 300.000 files.
Need to work on this later, but to resolve the current issue I stopped
nagios and delete its spool directory.
Then everything is up  running OK.

sudo df -i
Filesystem Inodes  IUsed  IFree IUse% Mounted on
/dev/simfs 50 167715 332285   34% /
..etc..

Thanks for your attention.
Bruno


Disk quota exceeded ... but no quota are defined.

2015-03-23 Thread Bruno Costacurta
Hello to All,

my debian server is freezed with quota exceeded but there is no quota
installed on it.

Debian version is :
uname -a
Linux vps622 2.6.32-042stab103.6 #1 SMP Wed Jan 21 13:07:39 MSK 2015 i686
GNU/Linux

No quota are setup and disk is not full as only 3% of usage are reported :

sudo df -h

Filesystem  Size  Used Avail Use% Mounted on
/dev/simfs  160G  3.8G  157G   3% /
tmpfs   205M   72K  205M   1% /run
tmpfs   5.0M 0  5.0M   0% /run/lock
tmpfs   410M 0  410M   0% /run/shm

mount does not indicate quota setup :

/vz/private/622 on / type simfs (rw,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=209716k,mode=755)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=419420k)
devpts on /dev/pts type devpts
(rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)

sudo du -ch  /run
72K/run
72Ktotal

But all services are freezed with quota exeeded errors.
when I log :
zsh: locking failed for /home/bruno/.histfile: disk quota exceeded: reading
anyway

Or in postfix logs  :
Mar 24 04:44:52 vps622 postfix/cleanup[2727]: warning: mail_queue_enter:
create file incoming/181079.2727: Disk quota exceeded
..etc..

Also MySQL also cannot be started.
Once rebooted the server is fine only few minutes before facing quota
exceeded.

I cannot find any quota setup.
And indeed there is no quota packages installed neither.

dpkg -l | grep quota
--- nothing.

How to check this quota problem ?
Thanks for any help or clue.

Bye
Bruno


Re: disk quota

2014-02-24 Thread emmanuel segura
yes


2014-02-22 22:32 GMT+01:00 Pol Hallen de...@fuckaround.org:

 Hi folks!

 Reading some howtos about quota disk I'm not sure about this topic
 (because is very old):

 checking quotas regularly - Linux doesn't check quota usage each time a
 file is opened, you have to force it to process the aquota.user and
 aquota.group files periodically with the quotacheck command.You can setup a
 cron job to run a script similar to the one below to achieve this

 so, I need remount fs without quota, do:

 quotaon -vaug

 e remount with quota?

 Can anyone that use disk quota confirm this thing?

 thanks for help!
 --
 Pol


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a
 subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: http://lists.debian.org/53091753.6050...@fuckaround.org




-- 
esta es mi vida e me la vivo hasta que dios quiera


disk quota

2014-02-22 Thread Pol Hallen

Hi folks!

Reading some howtos about quota disk I'm not sure about this topic 
(because is very old):


checking quotas regularly - Linux doesn't check quota usage each time a 
file is opened, you have to force it to process the aquota.user and 
aquota.group files periodically with the quotacheck command.You can 
setup a cron job to run a script similar to the one below to achieve this


so, I need remount fs without quota, do:

quotaon -vaug

e remount with quota?

Can anyone that use disk quota confirm this thing?

thanks for help!
--
Pol


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/53091753.6050...@fuckaround.org



disk quota

2013-06-01 Thread Pol Hallen
Hi folks!

I need configure quote about courier. Is there a good way?

thanks!

Pol


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/51aa3265.4060...@fuckaround.org



Failure notice: user's disk quota exceeded!

2005-07-04 Thread QUOTA-GUARD
Hi, This is the mail deliver program at iivrry.com

Sorry, Your message to [EMAIL PROTECTED] cannot be delivered as the recipient 
has exceeded their hardquota limit for email.However a small ( 1KB) message 
will be delivered should you wish to inform the person you tried to email.

--- Below this line is a copy of the header. ---

Received: from 83.33.228.201 (HELO iivrry.com) (envelope-from 
debian-user-spanish@lists.debian.org)
by mxvip1.hichina.com (quarkmail-1.2.1) with ESMTP id S336107AbVGDKXQ
for [EMAIL PROTECTED]; Mon, 4 Jul 2005 18:23:16 +0800
From: debian-user-spanish@lists.debian.org
To: [EMAIL PROTECTED]
Subject: Re: Word file
Date: Mon, 4 Jul 2005 12:32:33 +0200
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary==_NextPart_000_0001_63DC.4880
X-Priority: 3
X-MSMail-Priority: Normal
X-Attachment: document_word.pif, 17424




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: disk quota changes in Sarge upgrade

2005-06-14 Thread michael

Quoting Ross Tsolakidis [EMAIL PROTECTED]:


Hi all,

Recently upgraded to the new version of Debian, and noticed that quotas
stopped working.
I did see a message pop up something about quota changing and needing to
be started some other way.

I didn't take notice, my fault totally.

Can anyone gimme a hand or does anyone remember what the change is from
the old quota system to the new quota system ?


Try blowing away your quota.user and/or quoata.group files on the root 
of your file systems. Then reboot or perhaps even just re-start quota 
from /etc/init.d.

This should build the new aquota files and it should work again.

hth,

Cheers,
Mike



This message was sent using IMP, the Internet Messaging Program.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




disk quota changes in Sarge upgrade

2005-06-13 Thread Ross Tsolakidis
Hi all,

Recently upgraded to the new version of Debian, and noticed that quotas
stopped working.
I did see a message pop up something about quota changing and needing to
be started some other way.

I didn't take notice, my fault totally.

Can anyone gimme a hand or does anyone remember what the change is from
the old quota system to the new quota system ?

Thanks,

Ross.



Re: Managing Disk Quota with emails

2004-10-27 Thread Pigeon
On Tue, Oct 26, 2004 at 10:41:15PM +0500, [EMAIL PROTECTED] wrote:
 Hi,
 
 I have quota enabled for my users like /home/jed, which is working good. 
 In ths same system sendmail is installed which stores emails like
 /var/spool/mail/jed .
 
 This way the users emails keep on comming with the junk and thats fills up 
 my /var/spool/mail directory.
 
 Is there a way to mange this situation ?? plz suggest.
 
 Further can this be tackled if somehow the emails start getting stored in 
 the users home directory like /home/jed/mail ?? if so then how can this be 
 configured.

If you're using exim as the MTA, change file = /var/spool/mail/${local_part}
to file = /home/${local_part}/mail in the local_delivery transport
description in /etc/exim/exim.conf.

-- 
Pigeon

Be kind to pigeons
Get my GPG key here: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x21C61F7F


signature.asc
Description: Digital signature


Managing Disk Quota with emails

2004-10-26 Thread debi
Hi,

I have quota enabled for my users like /home/jed, which is working good. 
In ths same system sendmail is installed which stores emails like
/var/spool/mail/jed .

This way the users emails keep on comming with the junk and thats fills up 
my /var/spool/mail directory.

Is there a way to mange this situation ?? plz suggest.

Further can this be tackled if somehow the emails start getting stored in 
the users home directory like /home/jed/mail ?? if so then how can this be 
configured.

Regards

Debi




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Failure notice: user's disk quota exceeded!

2004-06-10 Thread QUOTA-GUARD
Hi, This is the mail deliver program at e23.com.cn

Sorry, Your message to [EMAIL PROTECTED] cannot be delivered as the recipient has 
exceeded their hardquota limit for email.However a small ( 1KB) message will be 
delivered should you wish to inform the person you tried to email.

--- Below this line is a copy of the header. ---

Return-Path: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Received: from 218.56.50.158 (HELO e23.com.cn) (envelope-from [EMAIL PROTECTED])
by  (quarkmail-1.1.6) with ESMTP id S71716AbUFJXgN
for [EMAIL PROTECTED]; Fri, 11 Jun 2004 07:36:13 +0800
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Mail Delivery (failure [EMAIL PROTECTED])
Date: Fri, 11 Jun 2004 08:02:23 +0800
MIME-Version: 1.0
Content-Type: multipart/related;
type=multipart/alternative;
boundary==_NextPart_000_001B_01C0CA80.6B015D10
X-Priority: 3
X-MSMail-Priority: Normal




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: PB disk quota ext3 : woody + kernel 2.4.17

2002-03-11 Thread Frédéric Bothamy
On Mon, 11 Mar 2002 20:02:43 +0100
Manuel Segura [EMAIL PROTECTED] wrote:

 Hello,
 J'ai réussi à faire marcher les quota avec ext3 !:
 Si quelqu'un sait le faire, il faudrait ajouter l'info ci-dessous
 dans une FAQ ou une doc d'administration:

[snip]

C'est ce qui est décrit dans le Mini Quota HOWTO :

http://www.linuxdoc.org/HOWTO/mini/Quota.html

Il manque juste l'indication que ça fonctionne aussi bien sur ext2 que
sur ext3.

Fred



Re: PB disk quota ext3 : woody + kernel 2.4.17

2002-03-09 Thread Jean-Paul Vincent
Bonjour,

Le Fri, 08 Mar 2002 22:25:17 +0100
Manuel Segura [EMAIL PROTECTED] a écrit :

 Hello,
 Je viens de mettre en place ext3 sur woody, kernel 2.4.17
 ainsi que la gestion des quota disques
 Mais la gestion des quotas ne marche pas: c'est a dire que:

Vu dans la doc (voir les liens sur cette liste les jours précédents)

--
One outstanding problem is disk quotas.  There are several known
sources of deadlocks in the 2.4.7 quota code, and ext3 adds one more
source.  The quota code in the -ac kernels is very different, and once
that gets merged into Linus' tree we shall continue development and
testing of quota code for ext3.   This is not to say that ext3+quotas
crashes all over the place - but if you push the filesystem hard
enough for long enough, the code will lock up and you will need to
reboot to reestablish operation on the affected filesystem.   We only
test quota code against the -ac kernels - this is supported and works
well.
--

Les patchs des -ac ont dû être intégrés dans le noyau 2.4.18.

Rappel: 

http://qliu.free.fr/Linux/ext3.html
http://www.linux-france.org/article/sys/ext3fs/ext3.html
http://www.zipworld.com.au/~akpm/linux/ext3/
 http://www.symonds.net/~rajesh/howto/ext3/index.html



PB disk quota ext3 woody kernel 2.4.17

2002-03-08 Thread Manuel Segura

Hello,
Je viens de mettre en place ext3 sur woody, kernel 2.4.17
ainsi que la gestion des quota disques
Mais la gestion des quotas ne marche pas: c'est a dire que:

- si je dépasse le quota sur un utilisateur, il n'est pas bloqué
- Dans repquota, on ne voit pas que les blocs occupés par l'utilisateur 
ont augmenté.

- J'ai un message d'erreur au boot:
Checking quotas...
Cannot get exact used space... Results might be inaccurate.
EXT3 FS 2.4-0.9.16, 02 Dec 2001 on ide0(3,8), internal journal
done.
Turning on quotas.
quotaon: using //quota.user on /dev/hda8 [/]: No such file or directory

Je ne comprends pas car certaines personnes disent que les quotas
fonctionnent sur ext3, et dans les doc du noyau il est dit le contraire.

Quelqu'un aurait-il des info ?

Merci

--
---
Manuel Segura
ESCPI - CNAM
---



Re: ext3 et disk quota

2001-12-02 Thread Patrice Karatchentzeff
Manuel Segura écrivait:
  Hello,
  Est ce que quelqu'un a des info pour ce qui concerne le support
  du quota disque sous ext3, et si des travaux vont bientot aboutir ?
  

Il me semblait avoir lu que ext3 supportait les quotas sans problèmes.

PK


-- 
  |\  _,,,---,,_   Patrice KARATCHENTZEFF
ZZZzz /,`.-'`'-.  ;-;;,_   mailto:[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'  http://p.karatchentzeff.free.fr
'---''(_/--'  `-'\_)   



[HS] Re: ext3 et disk quota

2001-12-02 Thread Nicolas Boos
Le Sun, 2 Dec 2001 11:32:52 +0100
Patrice Karatchentzeff [EMAIL PROTECTED] écrivait :

Salut,

[...]

   Est ce que quelqu'un a des info pour ce qui concerne le support
   du quota disque sous ext3, et si des travaux vont bientot aboutir ?
   
 
 Il me semblait avoir lu que ext3 supportait les quotas sans problèmes.

Non, un support des quotas correct, c'est à peu près la seule chose
qu'il manque à ext3. C'est en bonne voie.

A++

   Nicolas



ext3 et disk quota

2001-12-01 Thread Manuel Segura
Hello,
Est ce que quelqu'un a des info pour ce qui concerne le support
du quota disque sous ext3, et si des travaux vont bientot aboutir ?

En effet, je pense que pour les gros serveurs, la fonctionnalité
diskquota est trop intéressante pour s'en passer.

Merci
-- 
---
Manuel Segura
---



Re: disk quota

2001-07-05 Thread Dragos Delcea
hey, I'm not quota expert, but I played with it
and, to my understanding, you can do that as long
/var/www/user_data is on a separate (ext2) partition;
it works for reiserfs too, but you must pay attention 
to the kernel version to apply some patches.
or, if you have your /var/ ,for example, mounted
on a different partition, you can set quota for that
partition, but beware that anything else written on var
as that user counts against quota.
a good document if you don't know how to do it is here:
http://www.io.com/help/linux/Quota.html

good luck!

dragos

Mike Egglestone wrote:
 
 HI...
 
 Hopefully someone could help me set this up
 
 I have a directory in my filesystem.
 
 /var/www/user_data
 
 The directory is owned by www-data
 
 I would like to setup a quota so that every directory that gets written to
 (created)
 under /var/www/user_data
 will never be allowed to exceed 10 Megs. as data builds up
 
 Is this possible?
 What steps do I need to make?
 
 Thanks
 Mike



disk quota

2001-07-04 Thread Mike Egglestone
HI...

Hopefully someone could help me set this up

I have a directory in my filesystem.

/var/www/user_data

The directory is owned by www-data

I would like to setup a quota so that every directory that gets written to
(created)
under /var/www/user_data
will never be allowed to exceed 10 Megs. as data builds up 

Is this possible?
What steps do I need to make?

Thanks
Mike