Re: /var full

2013-01-31 Thread Steven Ayre
Also there is still no nerw syslog file, probably because the filesystem shows 0 bytes free. The reason for this is the syslog-ng daemon still has a handle open to the old file (which as already has been mentioned is why the partition was still full). If you are going to delete the file, you

Re: /var full

2013-01-31 Thread Martin Steigerwald
Am Mittwoch, 30. Januar 2013 schrieb David Guntner: Bob Proulx grabbed a keyboard and wrote: In the future instead of removing a file that you want to be freed immediately consider truncating it instead. By truncating the file it does not matter if there are other handles to it. The

/var full

2013-01-30 Thread Bonno Bloksma
Hi, I had a problem that generated A LOT of messages in syslog and it grew untill the entire /var partition had 0 bytes free. The /var/log/syslog file was over 4GB large. I deleted it using a simple rm /var/log/syslog command and the file is indeed no longer there. The du /var/log -s command

RE: /var full

2013-01-30 Thread Bonno Bloksma
Hi, Van: Igor Cicimov [mailto:icici...@gmail.com] Restart syslog. Thanks that worked. On 30/01/2013 11:54 PM, Bonno Bloksma b.blok...@tio.nl wrote: I had a problem that generated A LOT of messages in syslog and it grew untill the entire /var partition had 0 bytes free. The

Re: /var full

2013-01-30 Thread emmanuel segura
Maybe you deleted the files, but some process are using the inodes 2013/1/30 Bonno Bloksma b.blok...@tio.nl Hi, I had a problem that generated A LOT of messages in syslog and it grew untill the entire /var partition had 0 bytes free. The /var/log/syslog file was over 4GB large. I deleted it

Re: /var full

2013-01-30 Thread Darac Marjal
On Wed, Jan 30, 2013 at 12:54:25PM +, Bonno Bloksma wrote: Hi, I had a problem that generated A LOT of messages in syslog and it grew untill the entire /var partition had 0 bytes free. The /var/log/syslog file was over 4GB large. I deleted it using a simple rm /var/log/syslog command

Re: /var full

2013-01-30 Thread Stan Hoeppner
On 1/30/2013 6:54 AM, Bonno Bloksma wrote: Hi, I had a problem that generated A LOT of messages in syslog and it grew untill the entire /var partition had 0 bytes free. The /var/log/syslog file was over 4GB large. I deleted it using a simple rm /var/log/syslog command and the file is

Re: /var full

2013-01-30 Thread William Ivanski
On 30-01-2013 11:03, Darac Marjal wrote: Linux takes the view that, although you've deleted the file, it won't disappear if you're still using it. This is very useful for temporary files (create a file, open it, delete it and no-one else can overwrite it). Man, I didn't know that, very useful.

Re: /var full

2013-01-30 Thread Erwan David
On Wed, Jan 30, 2013 at 02:15:45PM CET, William Ivanski william.ivan...@gmail.com said: On 30-01-2013 11:03, Darac Marjal wrote: Linux takes the view that, although you've deleted the file, it won't disappear if you're still using it. This is very useful for temporary files (create a file,

Re: /var full

2013-01-30 Thread emmanuel segura
That's what i means :-) 2013/1/30 Erwan David er...@rail.eu.org On Wed, Jan 30, 2013 at 02:15:45PM CET, William Ivanski william.ivan...@gmail.com said: On 30-01-2013 11:03, Darac Marjal wrote: Linux takes the view that, although you've deleted the file, it won't disappear if you're

Re: /var full

2013-01-30 Thread William Ivanski
On 30-01-2013 11:23, Erwan David wrote: On Wed, Jan 30, 2013 at 02:15:45PM CET, William Ivanskiwilliam.ivan...@gmail.com said: On 30-01-2013 11:03, Darac Marjal wrote: Linux takes the view that, although you've deleted the file, it won't disappear if you're still using it. This is very

Re: /var full

2013-01-30 Thread Bob Proulx
Bonno Bloksma wrote: The /var/log/syslog file was over 4GB large. I deleted it using a simple rm /var/log/syslog command and the file is indeed no longer there. As others have noted simply removing the file only removes it from the directory. It will NOT free up the disk space until the last

Re: /var full

2013-01-30 Thread David Guntner
Bob Proulx grabbed a keyboard and wrote: In the future instead of removing a file that you want to be freed immediately consider truncating it instead. By truncating the file it does not matter if there are other handles to it. The filesystem will immediately free the storage associated

Re: /var full

2013-01-30 Thread David Baron
Problem is that once this occurs, some things are crippled. After removing the syslog and daemonlog files, one must usually reboot. What caused this? In my case, it was the gpm mouse driver. Simply went wild with wireless mouse. SO I simply do not use it. The x driver does what I need.

/var full

2006-02-20 Thread Jerome Heymonet
Bonjour la liste, J'ai un gros soucis avec mon /var, la commande df -h me dis que la partition hda6 soit /var est occupé a 100%, j'ai 2,8G d'attribué. J'ai regarder avec dans /var/log, j'ai quelques fichiers qui sont enormes, mail.log, mail.warm,. il font 320M -rw-r- 1 root adm 324M

Re: /var full

2006-02-20 Thread Jean-Luc Coulon (f5ibh)
Le 20.02.2006 14:53:33, Jerome Heymonet a écrit : Bonjour la liste, J'ai un gros soucis avec mon /var, la commande df -h me dis que la partition hda6 soit /var est occupé a 100%, j'ai 2,8G d'attribué. J'ai regarder avec dans /var/log, j'ai quelques fichiers qui sont enormes, mail.log,

Re: /var full

2006-02-20 Thread Yannick Beynet
Plusieurs choses : - dans l'urgence remettre la taille de ces fichiers à zéro (nom_du_fichier) - puis essayer de configurer log-rotate Bon courage :) On 2/20/06, Jerome Heymonet [EMAIL PROTECTED] wrote: Bonjour la liste, J'ai un gros soucis avec mon /var, la commande df -h me dis que la

Re: /var full

2006-02-20 Thread Florian Diem
On Monday 20 February 2006 14:53, Jerome Heymonet wrote: Bonjour la liste, J'ai un gros soucis avec mon /var, la commande df -h me dis que la partition hda6 soit /var est occupé a 100%, j'ai 2,8G d'attribué. J'ai regarder avec dans /var/log, j'ai quelques fichiers qui sont enormes, mail.log,

Re: /var full

2006-02-20 Thread Jerome Heymonet
Merci pour ces reponses, mais logrotate est installer et configurer par default, j'ai bien des fichiers compresser. ci dessous la config de logorate mais c'est celle par default: ~# cat /etc/logrotate.conf # see man logrotate for details # rotate log files weekly weekly # keep 4 weeks worth of

Re: /var full

2006-02-20 Thread Basile STARYNKEVITCH
Le Mon, Feb 20, 2006 at 02:53:33PM +0100, Jerome Heymonet écrivait/wrote: Bonjour la liste, J'ai un gros soucis avec mon /var, la commande df -h me dis que la partition hda6 soit /var est occupé a 100%, j'ai 2,8G d'attribué. J'ai regarder avec dans /var/log, j'ai quelques fichiers qui sont

Re: /var full

2006-02-20 Thread Jacques L'helgoualc'h
Jerome Heymonet a écrit, lundi 20 février 2006, à 15:21 : Merci pour ces reponses, mais logrotate est installer et configurer par default, j'ai bien des fichiers compresser. ci dessous la config de logorate mais c'est celle par default: Est-ce que la machine tourne la nuit ? Sinon, il

Re: /var full

2006-02-20 Thread Frédéric Badel
J'ai un gros soucis avec mon /var, la commande df -h me dis que la partition hda6 soit /var est occupé a 100%, j'ai 2,8G d'attribué. J'ai regarder avec dans /var/log, j'ai quelques fichiers qui sont enormes, mail.log, mail.warm,. il font 320M -rw-r- 1 rootadm 324M

Re: /var full

2006-02-20 Thread Jerome Heymonet
Merci pour cette information, il est vrai que la machine ne tourne pas jour et nuit, je viens d'installer anacron, je fais voir ce que ca donne. Par contre en rebootant ca n'a rien changer. Mais j'ai supprimer les fichiers a la main et j'ai recupéré une taille de /var correctOn 2/20/06, Jacques

Re: /var full

2006-02-20 Thread Jacques L'helgoualc'h
Jerome Heymonet a écrit, lundi 20 février 2006, à 16:25 : Merci pour cette information, il est vrai que la machine ne tourne pas jour et nuit, je viens d'installer anacron, je fais voir ce que ca donne. Par contre en rebootant ca n'a rien changer. Mais j'ai supprimer les fichiers a la main et

Re: /var full

2006-02-20 Thread Jerome Heymonet
Alors la j'y comprend plus rien, j'ai rebooter 1 ou 2 fois dans l'apres midi, sans que ca change rien, j'ai eteint mon portable à 17h et je viens de le ralumer et il n'y a plus de problemes.Un peu avant 17h :/dev/hda6 2,8G 1,5G 1,3G 50% /var Maintenant:/dev/hda6 2,8G 154M 2,5G 6% /varet je n'ai

Re: /var full

2006-02-20 Thread Jacques L'helgoualc'h
Jerome Heymonet a écrit, lundi 20 février 2006, à 18:39 : Alors la j'y comprend plus rien, j'ai rebooter 1 ou 2 fois dans l'apres midi, sans que ca change rien, j'ai eteint mon portable à 17h et je viens de le ralumer et il n'y a plus de problemes. Un peu avant 17h : /dev/hda6

Re: /var full

2006-02-20 Thread Jerome Heymonet
On 2/20/06, Jacques L'helgoualc'h [EMAIL PROTECTED] wrote: Jerome Heymonet a écrit, lundi 20 février 2006, à 18:39 : Alors la j'y comprend plus rien, j'ai rebooter 1 ou 2 fois dans l'apres midi, sans que ca change rien, j'ai eteint mon portable à 17h et je viens de le ralumer et il n'y a plus de

Re: /var full

2006-02-20 Thread Jacques L'helgoualc'h
Jerome Heymonet a écrit, lundi 20 février 2006, à 19:55 : On 2/20/06, Jacques L'helgoualc'h [EMAIL PROTECTED] wrote: Jerome Heymonet a écrit, lundi 20 février 2006, à 18:39 : [...] Un peu avant 17h : /dev/hda6 2,8G 1,5G 1,3G 50% /var Maintenant: /dev/hda6

Re: /var full

2006-02-20 Thread Jerome Heymonet
On 2/20/06, Jacques L'helgoualc'h [EMAIL PROTECTED] wrote: Jerome Heymonet a écrit, lundi 20 février 2006, à 19:55 : On 2/20/06, Jacques L'helgoualc'h [EMAIL PROTECTED] wrote: Jerome Heymonet a écrit, lundi 20 février 2006, à 18:39 : [...] Un peu avant 17h : /dev/hda6 2,8G1,5G1,3G 50% /var