Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-users

[Xen-users] Low /proc/sys/kernel/random/entropy_avail on domU

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Low /proc/sys/kernel/random/entropy_avail on domU
From: "cornet@xxxxxxxxxx" <cornet@xxxxxxxxxx>
Date: Thu, 01 Dec 2005 17:13:53 +0000
Delivery-date: Thu, 01 Dec 2005 17:13:49 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.7 (X11/20050923)
This problem came about when I noticed exim, on a domU, holding mail in its queue for days before delivering.

After a bit of debugging then I found gnutls was taking ages to calculate its keys.

So disabled TLS in exim and works fine.

Then I had another xen domU doing exactly the same thing so I did some more digging and came up with this post:

http://groups.yahoo.com/group/exim-users/message/85430

sure enough
/proc/sys/kernel/random/entropy_avail = 0
when mail is stuck in the queue.

Now I've stopped exim from using TLS again, and I don't think there is much else running that could be using up the entropy, but the entropy is still low, max I've seen it is ~300. (Compaired to 3000+ on other non-xen boxes).

Both these servers are similar set up (although I didn't setup the 2nd one):

Debian - Sarge as dom0 and domU.
kernel 2.6.11.12-xen0/U
Xen 2.0 compiled from source.

So why do these boxes have low entropy, I've never seen this on non-xen, hence posting here.

Ideas welcome.

Cheers
Nathan

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Low /proc/sys/kernel/random/entropy_avail on domU, cornet@xxxxxxxxxx <=