From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: RE: RE: Re: "xm list"causing "OverflowError:int exceedsXML-RPC limits" Date: Tue, 28 Mar 2006 00:03:08 -0600 Message-ID: <4428D19C.2040001@us.ibm.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Puthiyaparambil, Aravindh" Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Puthiyaparambil, Aravindh wrote: >> I think it would be more common the more RAM your system has. This is >> > the > >> sort of thing that's easy to miss since I don't have too many machines >> with huge amounts of memory available :-) >> > > In future if you need anything that needs to be tried out on a large > memory or large SMP system, please let me know and I will try to help > out. > Actually, I'd be very grateful if you could post the output of the following: First enable the Xend TCP XML-RPC server by adding: (xend-tcp-xmlrpc-server yes) Then, start up python, and execute the following: Python 2.4.2 (#2, Sep 30 2005, 21:19:01) [GCC 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu8)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import xmlrpclib >>> a = xmlrpclib.ServerProxy("http://localhost:8005") >>> a.xend.domains(0) ['Domain-0'] >>> a.xend.domains(1) [['domain', ['domid', 0], ['uuid', '00000000-0000-0000-0000-000000000000'], ['ssidref', 0], ['vcpus', 2], ['vcpu_avail', 1], ['cpu_weight', 1.0], ['memory', 514], ['maxmem', 514], ['name', 'Domain-0'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['state', 'r-----'], ['shutdown_reason', 'poweroff'], ['cpu_time', 8251.5099515279999], ['online_vcpus', 1]]] I'm interested only in the last line of output. I'm a bit perplexed still about what where this large int is occurring. Regards, Anthony Liguori > Cheers, > Aravindh >