Citrix Xen Server – Changing the frequency of log rotation (for example to resolve a lack of disk space)

Credit to Steven Wright, because this article help me so much. If you have problem like me, please follow below procedure to resolve it :

Connect putty and logon into xen server host using root user.

Use “vi” (a text editor) to edit the /etc/logrotate.conf file

Changed the rotate value into what you want and set the log to compress (delete the #).

Press “I” for insert and press “x” to delete. Esc to return to command mode.

After finish, press “:wq” (w = Write and q= quit).



  1. Peter · September 23, 2013

    Hi there!

    Just a note from me 😉
    compress has been enabled already at the top of the file under CA-53139.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.