[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.