Beim Mongrel ganz wichtig: nachdem ihr ihm das Logfile wegzieht,
schickt ihm SIGUSR2, sonst schafft ers nicht:

/srv/vdo/log/*.log {
   daily
   rotate 60
   compress
   missingok
   notifempty
   postrotate
     for i in `ls /srv/vdo/log/*.pid`; do
       kill -USR2 `cat $i`
     done
   endscript
}

sonst nimmt er keine requests mehr an...

Am 15.07.07 schrieb Urban Hafner <[EMAIL PROTECTED]>:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Jul 15, 2007, at 17:00 , Jonathan Weiss wrote:

> Urban Hafner wrote:
>>  So ganz sicher, dass
>> ich das Problem gefunden habe bin mir aber noch nicht wirklich.
>
> Das ist ein bekanntes Problem.
>
>> Die Frage die ich mir dann aber stelle ist wie ihr das macht. Die
>> Logdateien rotieren sollte ja eigentlich kein all zu ungewoehnlicher
>> Wunsch sein.
>
> Ich logge nur errors und da ja keine vorkommen sollten, ist das Log
> auch minimal. Ansonsten musst was externel wie lograte nehmen, das
> d den Mongrel sauber neu startet.

Danke euch. Dann werde ich mal logrotate verwenden.

- --
Urban Hafner
Obere Seefeldstr. 12
82234 Wessling
Germany
http://bettong.net


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFGmitbggNuVCIrEyURAhYCAJ9zJ9deFTuDLR0i441JOey2CNj36wCgoCmJ
JuFDzVKODt2GWtbdy+1he/A=
=RWO2
-----END PGP SIGNATURE-----

_______________________________________________
rubyonrails-ug mailing list
[email protected]
http://mailman.headflash.com/mailman/listinfo/rubyonrails-ug




--
Siebert Webdesign
Michael Siebert
Trappenweg 6, 15749 Mittenwalde, Deutschland
_______________________________________________
rubyonrails-ug mailing list
[email protected]
http://mailman.headflash.com/mailman/listinfo/rubyonrails-ug

Antwort per Email an