Menu

#1 Stopping GavaMail

open
None
3
2004-11-28
2004-11-04
No

Is there a specific way of stopping GavaMail, other than control+C
in the terminal? One problem is that all java processes generally
have the process name of "java", thus it causes a problem in trying
to stop it.

Discussion

  • Rishabh Manocha

    Rishabh Manocha - 2004-11-04

    Logged In: YES
    user_id=1098025

    I dont know if you can do this on a MAC OS but on Linux, I
    usually do a ps -ef | grep java, gind the process PID no.
    for gavamail and do a kill -9.
    I know this is a very bad way of doing things...I will try
    to add a shutdown method in the next release.

     
  • Rishabh Manocha

    Rishabh Manocha - 2004-11-04
    • assigned_to: nobody --> rmanocha
     
  • Shaun McDonald

    Shaun McDonald - 2004-11-04

    Logged In: YES
    user_id=1079067

    Point of note Mac OS X is very similar to Unix under the hood.

    This is how Apple stop Xgrid:
    ---
    StopService ()
    {
    if pid=$(GetPID GridServer); then
    ConsoleMessage "Stopping Xgrid Server"
    kill -TERM "${pid}"
    else
    ConsoleMessage "Xgrid Server not responding."
    fi
    }
    ---

    So it looks as though it could be fairly similar.

    Also another problem this causes, is when I have another java process
    running. Either the wrong process gets killed or they both do. This
    wouldn't be too productive, would it now?

    Thanks.

     
  • Rishabh Manocha

    Rishabh Manocha - 2004-11-28
    • priority: 5 --> 3
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.