[SUMMARY] Suspended (tty input)

From: Martin Åkesson <ma_at_placid.tv>
Date: Wed May 16 2001 - 03:40:31 EDT
Thanks to:

Thomas Knox
Mark Neill
Darren Dunham

The nohup command will only take care of any output produced by the
program aswell as let you ignore the sighup signal, if the program needs
input the problem still exists as in my case.

Both Thomas Knox and Darren Dunham suggested to have the program
rewritten.  This is something I will look into but if possible I will
install screen.  Mark Neill also suggested screen as the best solution.

Screen will let me run a program in a virtual terminal window that can
be detached and reattached to at any time.  This way I will be able to
run as many highscoreservers as I want and still be able to use the
built-in menu.

Screen can be found at http://www.gnu.org/software/screen/

/Martin

On Tue, May 15, 2001 at 11:06:18AM +0200, Martin kesson mumbled:
> Hello Sunmanagers!
> 
> I have a java application that was developed for NT systems but now I am
> running it on a Solaris 2.6 system.  The application is a highscore
> server for web games and has a built-in menu system for reloading
> configuration, saving highscores and exiting cleanly.
> 
> Now, the problem is that since I need the application to run in the
> background i start it with '&'.  This works fine for a few seconds until
> the process stops with "[1]  + Suspended (tty input)".
> 
> At first I solved this by piping /dev/null as the input source however I
> noticed this had a rather disturing side effect, cpu utilization for
> this process was now well over 90% compared to the normal 1-2%.
> 
> Now I turn to You, the sunmanagers crowd in hopes for some suggestions
> of what to do.  I might add that I have tried 'nohup' without success.
> I have thought about using 'screen' to start the processes this way I
> can also use the built-in menu system.  Unfortunately installing screen
> in the production environment is not my desition so any suggestions you
> might have is more than welcome!
Received on Wed May 16 08:40:31 2001

This archive was generated by hypermail 2.1.8 : Wed Mar 23 2016 - 16:24:55 EDT