Hi Steffen,
uname -a
Dom0: Linux pbn041.privatedns.com 2.6.18.8-xen #1 SMP Thu Oct 1 14:00:22 EDT
2009 x86_64 x86_64 x86_64 GNU/Linux
DomU: Linux s041.panelboxmanager.com 2.6.18-164.el5xen #1 SMP Thu Sep 3
04:03:03 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
Config for DomU
----------
name = "vm-s041"
memory = 15360
maxmem = 30720
vcpus = 8
bootloader="/usr/bin/pygrub"
root = "/dev/sda1"
extra = "fastboot independent_wallclock=1"
pae=0
acpi=0
apic=0
on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'destroy'
#disk = [ 'tap:aio:/dev/drbdX,sda,w' ]
disk = [ 'drbd:drbd1,sda,w' ]
vif = [ 'bridge=xenbr0', 'bridge=xenbr1' ]
sdl=0
vnc=0
vncunused=1
stdvga=0
ne2000=0
-------------
ps aux | grep java
root 13234 0.1 2.5 4484708 412636 pts/0 Sl Mar30 1:12
/usr/local/jdk/bin/java
-Djava.util.logging.config.file=/usr/local/jakarta/tomcat/conf/logging.properties
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.endorsed.dirs=/usr/local/jakarta/tomcat/common/endorsed -classpath
/usr/local/jakarta/tomcat/bin/bootstrap.jar
-Dcatalina.base=/usr/local/jakarta/tomcat
-Dcatalina.home=/usr/local/jakarta/tomcat
-Djava.io.tmpdir=/usr/local/jakarta/tomcat/temp
org.apache.catalina.startup.Bootstrap start
root 24865 2.2 0.0 10132 360 ? Rs Mar30 13:28 jsvc.exec
-user tomcat -cp ./bootstrap.jar -Djava.endorsed.dirs=../common/endorsed
-outfile ../logs/catalina.out -errfile ../logs/catalina.err -verbose -Xmx1024M
-Xms512M org.apache.catalina.startup.Bootstrap -security
******************
free
total used free shared buffers cached
Mem: 16327680 16163808 163872 0 755128 12192708
-/+ buffers/cache: 3215972 13111708
Swap: 1951888 5900 1945988
******************
xm list
Name ID Mem VCPUs State Time(s)
Domain-0 0 510 8 r----- 658995.4
vm-s041 6 15945 8 r----- 9433881.3
******************
xm info
host : pbn041.privatedns.com
release : 2.6.18.8-xen
version : #1 SMP Thu Oct 1 14:00:22 EDT 2009
machine : x86_64
nr_cpus : 8
nr_nodes : 1
cores_per_socket : 4
threads_per_core : 1
cpu_mhz : 2500
hw_caps :
bfebfbff:20100800:00000000:00000140:040ce3bd:00000000:00000001:00000000
virt_caps : hvm
total_memory : 32766
free_memory : 15945
node_to_cpu : node0:0-7
node_to_memory : node0:15945
xen_major : 3
xen_minor : 4
xen_extra : .1
xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32
hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler : credit
xen_pagesize : 4096
platform_params : virt_start=0xffff800000000000
xen_changeset : unavailable
cc_compiler : gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)
cc_compile_by : root
cc_compile_domain : (none)
cc_compile_date : Thu Oct 1 14:05:08 EDT 2009
xend_config_format : 4
******************
Hope you will find something with all this information :)
--
Eric Laflamme [iWeb]
IT Architecture Specialist
Spécialiste de l'Architecture TI
http://www.iWeb.com/
Le 2010-03-30 à 18:13, Steffen Heil a écrit :
> And maybe `xm info` in the dom0.
>
>
> -----Ursprüngliche Nachricht-----
> Von: Steffen Heil [mailto:[email protected]]
> Gesendet: Mittwoch, 31. März 2010 00:12
> An: 'Tomcat Users List'
> Betreff: AW: Virtualization (Xen, vmware) + Tomcat
>
> Hi
>
> Can you post:
> - `uname -a` inside both your dom0 as well as your domU
> - the config file for your domU
> - `ps aux | grep java` inside your domU
> - `free` inside your domU
> - `xm list` inside your dom0
>
> Maybe there will be hints to help you.
>
> I am running lots of tomcats in domUs (actually all non-development
> installations are virtualized), and I never had a problem related to xen.
>
> Regards,
> Steffen
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Eric Laflamme [mailto:[email protected]]
> Gesendet: Dienstag, 30. März 2010 19:16
> An: Tomcat Users List
> Betreff: Re: Virtualization (Xen, vmware) + Tomcat
>
> Hi Peter,
>
> Here is the information about the server:
>
> We have a Xen Host with CentOS release 5.4 (Final)
> In that host, we have a vm with CentOS release 5.4 (Final)
> We install a cPanel 11.25
> The version of tomcat is 5.5.28
>
> The tomcat we use is the one package with cPanel. We already communicate
> with their support. A lot of time.. But they are, like us, clueless on how
> to solve this problem. So I came here as another step to try to resolve this
> issue.
>
> I don't know if the problem is Tomcat itself or Tomcat only have a symptom
> of another problem. But as we only have this problem and log of the problem
> by now, we start with tomcat to maybe found what is the real problem.
>
> --
> Eric Laflamme [iWeb]
> IT Architecture Specialist
> Spécialiste de l'Architecture TI
> http://www.iWeb.com/
>
>
>
>
> Le 2010-03-30 à 12:01, Peter Crowther a écrit :
>
>> On 30 March 2010 16:45, Caldarale, Charles R
> <[email protected]>wrote:
>>
>>>> From: [email protected]
>>>> [mailto:[email protected]] On Behalf Of Peter Crowther
>>>> Subject: Re: Virtualization (Xen, vmware) + Tomcat
>>>>
>>>>> Error occurred during initialization of VM
>>>>> Could not reserve enough space for object heap
>>>>
>>>> OK, so that's the Java virtual machine running Tomcat not
>>>> being able to extend its heap.
>>>
>>> Actually, that's the JVM trying to allocate the *initial* space for the
>>> heap, not extend it. There hasn't been any attempt to load and run
> Tomcat
>>> yet.
>>>
>>>
>>> My mistake. In that case, if Eric's seeing lots of those in the log
> files,
>> it implies that the JVM intended to host Tomcat is repeatedly failing to
>> start and some other process is repeatedly trying to start Tomcat.
>>
>> Eric, could you tell us more about your statement that "Tomcat is running
>> inside the VM and is, by the way, a cPanel"?
>> - What operating system?
>> - What version of Tomcat?
>> - Did you download the Tomcat directly from http://tomcat.apache.org, or
> was
>> it packaged with some third-party software?
>>
>> In particular, if it's a version of Tomcat that was packaged with cPanel,
>> you may well be better asking them about the issue.
>>
>> - Peter
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]