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: Qingtian,

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

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

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

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

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

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 equal to

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 would try right away is

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

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

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 version

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 syslog

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 /var/logs

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 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-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-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

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, this

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

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

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

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 Leigh Williamson
I have a laptop that I move around and pick up different IP addresses dynamically. I noticed that my Geronimo server gets hung up after my laptop undergoes one of these IP adjustments while the server is running. Could your overnight problem have anything to do with an IP address change perhaps?

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

2006-01-16 Thread Qingtian Wang
Oh, that could be! I do have a dynamic IP via the cable company. Usually the IP address doesn't really change that often for a given cable modem. But I'll definitely check and see if the IP changes today. Or otherwise, maybe the cable company does something funny to prevent you from web hosting

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