Bug#670215: sysstat: Daily report fails

2013-01-30 Thread sunkan

Found the culprit in my setup.

It was due to the case that XEN was configured to un-plug 2 CPUs for dom0.
This happens after /etc/init.d/sysstat start has been run so the  
file gets corrupt.


Not sure if this should be worked around in sysstat or if it's wrong  
to use this function.



My new solution is to use the XEN boot parameter dom0_max_vcpus to  
configure how many CPUs are available in dom0. Then they don't change  
during startup and sysstat is happy.


/Andreas


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



Bug#670215: sysstat: Daily report fails

2012-05-14 Thread sunkan


If this is the same problem as I see on some hosts then after each  
reboot I need to do the following.


Remove invalid sa files (can be identified by the small size since  
they don't update but remove all in this example).

# rm /var/log/sysstat/sa??

Run the sysstat init script again to re-create todays sa file
# /etc/init.d/sysstat start

Then sar will start to work again, and the daily reports work until  
next reboot.


Not sure why this isn't happening on all my machines though..

Thomas can you confirm that your issue is the same?

/Andreas




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