Re: how to keep the server process alive on Fedora Linux

2006-02-03 Thread Kevan Miller
Qingtian, Thanks for the update. Good luck! --kevan On Feb 3, 2006, at 2:34 PM, Qingtian Wang wrote: Hi Kevan, Just so you know that you are right on the swap space issue. After correcting the swap issue, Geronimo has been running for more than a week now with out any problem. Thanks to you a

Re: how to keep the server process alive on Fedora Linux

2006-02-03 Thread Qingtian Wang
Hi Kevan, Just so you know that you are right on the swap space issue. After correcting the swap issue, Geronimo has been running for more than a week now with out any problem. Thanks to you and every one who replied to me! Qingtian On 1/24/06, Kevan Miller <[EMAIL PROTECTED]> wrote: > Qingtia

Re: how to keep the server process alive on Fedora Linux

2006-01-25 Thread Qingtian Wang
Thanks! Will try out... Qingtian On 1/25/06, John Sisson <[EMAIL PROTECTED]> wrote: > The geronimo.sh/bat startup script in the geronimo/bin directory will > execute a setenv.sh/bat file (in the same directory) if it is present. > See the comments at the bottom of the comment header for geronimo.s

Re: how to keep the server process alive on Fedora Linux

2006-01-25 Thread Qingtian Wang
I just type "bin/startup.sh". On 1/25/06, lichtner <[EMAIL PROTECTED]> wrote: > > How do you start it up? > > On Tue, 24 Jan 2006, Qingtian Wang wrote: > > > Hi, > > > > Dumb question again: Which script I should modify to make the JVM > > memory arg change? > > > > Shouldn't > > > > > > > > Than

Re: how to keep the server process alive on Fedora Linux

2006-01-24 Thread John Sisson
The geronimo.sh/bat startup script in the geronimo/bin directory will execute a setenv.sh/bat file (in the same directory) if it is present. See the comments at the bottom of the comment header for geronimo.sh/bat. So you need to create a setenv.sh file containing something like the following

Re: how to keep the server process alive on Fedora Linux

2006-01-24 Thread lichtner
How do you start it up? On Tue, 24 Jan 2006, Qingtian Wang wrote: > Hi, > > Dumb question again: Which script I should modify to make the JVM > memory arg change? > > Shouldn't > > > > Thanks, > Qingtian > > > > On 1/24/06, lichtner <[EMAIL PROTECTED]> wrote: > > > > I think another thing I woul

Re: how to keep the server process alive on Fedora Linux

2006-01-24 Thread Qingtian Wang
Hi, Dumb question again: Which script I should modify to make the JVM memory arg change? Shouldn't Thanks, Qingtian On 1/24/06, lichtner <[EMAIL PROTECTED]> wrote: > > I think another thing I would try right away is to start up the jvm with a > large initial heap, and make the max heap equa

Re: how to keep the server process alive on Fedora Linux

2006-01-24 Thread lichtner
I think another thing I would try right away is to start up the jvm with a large initial heap, and make the max heap equal to that. The JVM should get all the memory at once, so if you don't have enough virtual memory you may be able to detect that right away. I think another possible source of o

Re: how to keep the server process alive on Fedora Linux

2006-01-24 Thread Qingtian Wang
Hi Kevan, Thanks so much! Like I said, I am pretty ignorant about how the admin stuff works. I didn't even know I can see the swap size by doing "free"; I just remembered I specified 1G at the installation time of Fedora and never bothered to really check out if that's really done. Now I've googl

Re: how to keep the server process alive on Fedora Linux

2006-01-24 Thread Kevan Miller
Qingtian, comments below... On Jan 23, 2006, at 8:21 PM, Qingtian Wang wrote: Hi Kevan, Appreciate the help! Here's the info: On 1/23/06, Kevan Miller <[EMAIL PROTECTED]> wrote: Qingtian, That is one very old pentium... 8-( I know :) I'm not much a Linux sys admin, but let's gat

Re: how to keep the server process alive on Fedora Linux

2006-01-23 Thread Qingtian Wang
Hi Kevan, Appreciate the help! Here's the info: On 1/23/06, Kevan Miller <[EMAIL PROTECTED]> wrote: > > Qingtian, > That is one very old pentium... 8-( I know :) > > I'm not much a Linux sys admin, but let's gather some information... > > What is your Linux distribution and version? What

Re: how to keep the server process alive on Fedora Linux

2006-01-23 Thread Kevan Miller
On Jan 23, 2006, at 12:14 AM, Qingtian Wang wrote: 512M RAM, and 1G disk swap. Geronino has been on for 3 days now. The system monitor GUI tool says 284M ram is used, and no (zero) swap is used. Hard to see how this could suddenly run out of memory. Could a lot of current access to a web app c

Re: how to keep the server process alive on Fedora Linux

2006-01-22 Thread Qingtian Wang
512M RAM, and 1G disk swap. Geronino has been on for 3 days now. The system monitor GUI tool says 284M ram is used, and no (zero) swap is used. Hard to see how this could suddenly run out of memory. Could a lot of current access to a web app cause memory hop? I only have one very simple web app h

Re: how to keep the server process alive on Fedora Linux

2006-01-22 Thread Matt Hogstrom
Looks like you ran out of process memory. How big is your swap file? Qingtian Wang wrote: Thanks, I got it in "messages"!!! --- Jan 19 06:39:04 localhost kernel: Out of Memory: Killed process 28274 (java). --- Well, now at least I know it's some memory issue. I wonder whether

Re: how to keep the server process alive on Fedora Linux

2006-01-22 Thread Qingtian Wang
Thanks, I got it in "messages"!!! --- Jan 19 06:39:04 localhost kernel: Out of Memory: Killed process 28274 (java). --- Well, now at least I know it's some memory issue. I wonder whether this means the OS runs out of memory, or just the Java VM. Here's what I see in the geronimo

Re: how to keep the server process alive on Fedora Linux

2006-01-22 Thread Matt Hogstrom
/var/log/messages I think unless GC is different. Qingtian Wang wrote: Sorry about the ignorance. But where is the syslog? I checked in /var/log/ but nothing named syslog in there Thanks, Qingtian On 1/20/06, lichtner <[EMAIL PROTECTED]> wrote: I didn't catch whether you looked at syslo

Re: how to keep the server process alive on Fedora Linux

2006-01-20 Thread Qingtian Wang
Sorry about the ignorance. But where is the syslog? I checked in /var/log/ but nothing named syslog in there Thanks, Qingtian On 1/20/06, lichtner <[EMAIL PROTECTED]> wrote: > > I didn't catch whether you looked at syslog or not. Anything there? > > On Fri, 20 Jan 2006, Qingtian Wang wrote:

Re: how to keep the server process alive on Fedora Linux

2006-01-20 Thread lichtner
I think on unix any process that crashes (SEGV) should produce a core. Th e os does for you, I think. On Fri, 20 Jan 2006, Dave Colasurdo wrote: > I'm wondering if the JVM is crashing. Anyone know if/where the sun JDK > produces a core dump file? Does a JVM property need to be specified to >

Re: how to keep the server process alive on Fedora Linux

2006-01-20 Thread lichtner
I didn't catch whether you looked at syslog or not. Anything there? On Fri, 20 Jan 2006, Qingtian Wang wrote: > This time it ran for more than two days. But I had several occasions > where it died the next day > > Qingtian > > > On 1/19/06, lichtner <[EMAIL PROTECTED]> wrote: > > > > How lon

Re: how to keep the server process alive on Fedora Linux

2006-01-20 Thread Qingtian Wang
On 1/19/06, Kevan Miller <[EMAIL PROTECTED]> wrote: > Qingtian, > Thanks for keeping after this... > > What was the date/time of the last log entry in var/log/geronimo.log? Oh, I didn't record that. But next time I will I do remember that the last entry of "geronimo.out" (not .log) said "serv

Re: how to keep the server process alive on Fedora Linux

2006-01-20 Thread Qingtian Wang
This time it ran for more than two days. But I had several occasions where it died the next day Qingtian On 1/19/06, lichtner <[EMAIL PROTECTED]> wrote: > > How long does it run for? Is it always the same amount of time? > > On Thu, 19 Jan 2006, Matt Hogstrom wrote: > > > you could check /va

Re: how to keep the server process alive on Fedora Linux

2006-01-20 Thread Dave Colasurdo
I'm wondering if the JVM is crashing. Anyone know if/where the sun JDK produces a core dump file? Does a JVM property need to be specified to produce a core dump? -Dave- Kevan Miller wrote: Qingtian, Thanks for keeping after this... What was the date/time of the last log entry in var/log/

Re: how to keep the server process alive on Fedora Linux

2006-01-19 Thread Kevan Miller
Qingtian, Thanks for keeping after this... What was the date/time of the last log entry in var/log/geronimo.log? Are you running the server in the foreground (e.g. geronimo.sh run) or background (e.g. geronimo.sh start). Are you putting any load on the server? I did run a short 8 hour tes

Re: how to keep the server process alive on Fedora Linux

2006-01-19 Thread lichtner
How long does it run for? Is it always the same amount of time? On Thu, 19 Jan 2006, Matt Hogstrom wrote: > you could check /var/logs and look in the messages to see if something was > logged at the same time. Other than that others probably have better ideas. > > > Qingtian Wang wrote: > > OK,

Re: how to keep the server process alive on Fedora Linux

2006-01-19 Thread Matt Hogstrom
you could check /var/logs and look in the messages to see if something was logged at the same time. Other than that others probably have better ideas. Qingtian Wang wrote: OK, this time it lived more than one day (more than two days). I found it dead this morning, and "ps" command shows nothi

Re: how to keep the server process alive on Fedora Linux

2006-01-19 Thread Qingtian Wang
OK, this time it lived more than one day (more than two days). I found it dead this morning, and "ps" command shows nothing. The process is gone. Looking in geronimo.out and geronimo.log doesn't give much a clue. Is there any other log I could check? I am not real versed with Linux; is there some

Re: how to keep the server process alive on Fedora Linux

2006-01-16 Thread Qingtian Wang
Thanks. I'll check the "ps" command next time it dies But one thing I figured out is that it is not very likely that the IP change causes the problem: All the other services running on the same Linux box, such as Apache web server, CVS pserver keep running fine when I found that Geronimo stopp

Re: how to keep the server process alive on Fedora Linux

2006-01-16 Thread Paul McMahan
Intriguing problem..  Could the Geronimo process still be running but is just inaccessible?  You can check by waiting until the server has seemingly terminated and then type : ps -ef | grep geronimo If you see something like : username  4589 1 11 13:41 pts/2    00:00:39 /usr/java/j2sdk1.4.2_

Re: how to keep the server process alive on Fedora Linux

2006-01-16 Thread Qingtian Wang
eronimo.apache.org cc Subject Re: how to keep the server process alive on Fedora Linux Thanks for trying to help! I did start it with the "startup.sh". And afterwards I sign off the user. And everything works fine. (I think that means Mr. G is running in the backgrou

Re: how to keep the server process alive on Fedora Linux

2006-01-16 Thread Leigh Williamson
? Leigh Williamson Qingtian Wang <[EMAIL PROTECTED]> 01/16/2006 11:06 AM Please respond to user@geronimo.apache.org To user@geronimo.apache.org cc Subject Re: how to keep the server process alive on Fedora Linux Thanks for trying to help! I did start it wi

Re: how to keep the server process alive on Fedora Linux

2006-01-16 Thread Qingtian Wang
Thanks for trying to help! I did start it with the "startup.sh". And afterwards I sign off the user. And everything works fine. (I think that means Mr. G is running in the background). Until, of course, the next day. I am also wondering if there is some "killer" in the OS that runs and kill some

Re: how to keep the server process alive on Fedora Linux

2006-01-16 Thread Aaron Mulder
You do not need to be root to run Geronimo, and it does not stop itself every night. :) Are you running it in the forground, and if so could there be a firewall that drops your connection to the server after a certain delay? Have you tried using the startup scripts to launch Geronimo in the back

how to keep the server process alive on Fedora Linux

2006-01-16 Thread Qingtian Wang
Hi, I am running on Fedora as a normal user. Once started, the server runs fine until the next day, it is stopped with no clear warning in the geronomo.out log file. How can I keep the server alive all the time. Do I have to be a root user when starting the server? Thanks! Qingtian