|
From: Tomer B <tom...@gm...> - 2010-04-20 21:18:39
|
Hi, I forgot to mention also that If I run my java app (server) without the wrapper on same vms where its being abruptly shut down with the wrapper, then in this case the java app runs with no shutdown - runs fine, for days... Thanks, Tomer On Wed, Apr 21, 2010 at 12:05 AM, Tomer B <tom...@gm...> wrote: > Hi, > > I am currently testing wrapper 3.4.0 on solaris 64 bit machine. > Under regular "physical" machine its already working for days and is fine > (tried that on a couple of machines). > > However if i run the wrapper under vm instances (of vmware) i get abnormal > shutdowns always both to my server and to the wrapper (after about 2 hours > both process are down). > > I'm attaching relevant logs: > Note that I tested a configured vmware for reservation of cpu to one of the > vm instances then on that vm instance it seems that I don't have this > shutdown, i have multiple vm virtual machines on the same physical machine > and the shutdown happens on all of them (except for that instance with that > cpu reservation). I would like vm configuration to be working as well > because I'm thinking of having such a configuration possibly in future in > production. > I also saw this over the web: > http://old.nabble.com/JVM-appears-hung:-VMware,-verbose-garbage-collection-td13470076.html > > Here are relevant logs if you could provide me with information of why > these abnormal shutdowns are happening: > > INFO | jvm 1 | 2010/04/20 19:43:30 | WrapperManager Debug: Java VM > Vendor : Sun Microsystems Inc. > INFO | jvm 1 | 2010/04/20 19:43:30 | WrapperManager Debug: OS > Name : SunOS > INFO | jvm 1 | 2010/04/20 19:43:30 | WrapperManager Debug: OS > Arch : amd64 > INFO | jvm 1 | 2010/04/20 19:43:30 | WrapperManager Debug: > INFO | jvm 1 | 2010/04/20 19:43:30 | [Loaded > org.tanukisoftware.wrapper.WrapperManager$5 from xxxxxxxxxx (i made this.. > xxxxxx)] > > > DEBUG | wrapperp | 2010/04/20 22:16:09 | read a packet PING : ping > DEBUG | wrapperp | 2010/04/20 22:16:13 | send a packet PING : ping > INFO | jvm 1 | 2010/04/20 22:16:13 | WrapperManager Debug: Received a > packet PING : ping > INFO | jvm 1 | 2010/04/20 22:16:13 | WrapperManager Debug: Send a > packet PING : ping > DEBUG | wrapperp | 2010/04/20 22:16:13 | read a packet PING : ping > > . > . > . > > INFO | jvm 1 | 2010/04/20 22:21:13 | WrapperManager Debug: Read Timed > out. (Last Ping was 298400 milliseconds ago) > > . > . > . > > INFO | jvm 1 | 2010/04/20 22:26:13 | WrapperManager Debug: Read Timed > out. (Last Ping was 596700 milliseconds ago) > INFO | jvm 1 | 2010/04/20 22:26:13 | WrapperManager: JVM did not > exit. Give up. > > . > . > . > > INFO | jvm 1 | 2010/04/20 22:26:13 | WrapperManager Debug: > ShutdownHook started > INFO | jvm 1 | 2010/04/20 22:26:13 | WrapperManager Debug: > WrapperManager.stop(0) called by thread: Wrapper-Shutdown-Hook > INFO | jvm 1 | 2010/04/20 22:26:13 | WrapperManager Debug: Send a > packet STOP : 0 > INFO | jvm 1 | 2010/04/20 22:26:13 | WrapperManager Debug: Stopped > checking for control events. > DEBUG | wrapperp | 2010/04/20 22:26:13 | read a packet STOP : 0 > DEBUG | wrapper | 2010/04/20 22:26:13 | JVM requested a shutdown. (0) > DEBUG | wrapper | 2010/04/20 22:26:13 | wrapperStopProcess(0) called. > DEBUG | wrapper | 2010/04/20 22:26:13 | Sending stop signal to JVM > DEBUG | wrapperp | 2010/04/20 22:26:13 | send a packet STOP : NULL > > . > . > . > > INFO | jvm 1 | 2010/04/20 22:26:14 | WrapperManager Debug: Thread, > Wrapper-Shutdown-Hook, handling the shutdown process. > INFO | jvm 1 | 2010/04/20 22:26:14 | WrapperManager Debug: calling > listener.stop() > INFO | jvm 1 | 2010/04/20 22:26:14 | WrapperManager Debug: Send a > packet STOP_PENDING : 180000 > > . > . > . > > > DEBUG | wrapperp | 2010/04/20 22:26:14 | read a packet STOP_PENDING : > 180000 > DEBUG | wrapper | 2010/04/20 22:26:14 | JVM signalled a stop pending with > waitHint of 180000 millis. > > INFO | jvm 1 | 2010/04/20 22:26:14 | Start method stopped > > INFO | jvm 1 | 2010/04/20 22:26:22 | WrapperManager Debug: returned > from listener.stop() -> 0 > INFO | jvm 1 | 2010/04/20 22:26:22 | WrapperManager Debug: > shutdownJVM(0) Thread:Wrapper-Shutdown-Hook > INFO | jvm 1 | 2010/04/20 22:26:22 | WrapperManager Debug: wait for 0 > shutdown locs to be released. > INFO | jvm 1 | 2010/04/20 22:26:22 | WrapperManager Debug: Send a > packet STOPPED : 0 > > DEBUG | wrapperp | 2010/04/20 22:26:22 | read a packet STOPPED : 0 > DEBUG | wrapper | 2010/04/20 22:26:22 | JVM signalled that it was > stopped. > INFO | jvm 1 | 2010/04/20 22:26:22 | WrapperManager Debug: Closing > socket. > DEBUG | wrapperp | 2010/04/20 22:26:22 | socket read no code (closed?). > > INFO | jvm 1 | 2010/04/20 22:26:23 | WrapperManager Debug: > ShutdownHook complete > DEBUG | wrapper | 2010/04/20 22:26:24 | Signal trapped. Details: > DEBUG | wrapper | 2010/04/20 22:26:24 | signal number=18 (SIGCHLD), > source="unknown" > DEBUG | wrapper | 2010/04/20 22:26:24 | Received SIGCHLD, checking JVM > process status. > DEBUG | wrapper | 2010/04/20 22:26:24 | JVM process exited with a code of > 1, setting the wrapper exit code to 1. > DEBUG | wrapper | 2010/04/20 22:26:24 | JVM exited normally. > STATUS | wrapper | 2010/04/20 22:26:24 | <-- Wrapper Stopped > > > Note that at this stage i have both wrapper & my server processes down. > > Thanks for the help.. > |