WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] wrong logrotate for /var/log/xen/xend.log

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] wrong logrotate for /var/log/xen/xend.log
From: Olaf Hering <ohering@xxxxxxxxxx>
Date: Tue, 14 Sep 2010 13:35:48 +0200
Delivery-date: Thu, 23 Sep 2010 05:21:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.20 (2009-06-14)
Hello,

where is the code to rotate /var/log/xen/xend.log after 1M? Its
appearently not logrorate itself because this change has no effect even
after reboot:

--- /etc/logrotate.d/xen~       2010-09-10 17:59:26.000000000 +0200
+++ /etc/logrotate.d/xen        2010-09-13 23:53:19.000000000 +0200
@@ -2,8 +2,8 @@ compress
 missingok
 
 /var/log/xen/xend*.log {
-       rotate 5
-       size 1M
+       rotate 42
+       size 42M
        notifempty
        copytruncate
 }

I was trying to catch what happend before my xenpaging testcase floods
the logs with this, caused by xm domstate $id calls to monitor guests.

[2010-09-14 13:24:30 4625] ERROR (xmlrpclib2:178) Internal error handling 
xend.domain
Traceback (most recent call last):
  File "/usr/lib64/python2.6/site-packages/xen/util/xmlrpclib2.py", line 131, 
in _marshaled_dispatch
    response = self._dispatch(method, params)
  File "/usr/lib64/python2.6/SimpleXMLRPCServer.py", line 418, in _dispatch
    return func(*params)
  File "/usr/lib64/python2.6/site-packages/xen/xend/server/XMLRPCServer.py", 
line 59, in domain
    info = lookup(domid)
  File "/usr/lib64/python2.6/site-packages/xen/xend/server/XMLRPCServer.py", 
line 51, in lookup
    info = XendDomain.instance().domain_lookup(domid)
  File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomain.py", line 556, 
in domain_lookup
    self._refresh(refresh_shutdown = False)
  File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomain.py", line 428, 
in _refresh
    txn = xstransact()
  File "/usr/lib64/python2.6/site-packages/xen/xend/xenstore/xstransact.py", 
line 29, in __init__
    self.transaction = xshandle().transaction_start()
Error: (22, 'Invalid argument')


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>