what about tips to not get a frozen block chain? On windows it seems like its about closing the java app properly. Ctrl-C ? Isnt that "copy"
Nope! control-c and command-c are two different things! command-c is copy. control-c (the control key is located immediately to the right of the "fn" key on the lower left hand side of your keyboard) is interpreted as a kill signal.
Tips please
First, you may want to download the newest version of the software -- 0.3.19e -- if you don't already have it. When I was running 0.3.16 and 0.3.18, I saw a lot of instances where the process would hang or the blockchain would stop downloading. The newest version seems better.
Now: using control-C on a Mac Terminal window is equivalent to a "kill -9" in UNIX, which is a very extreme/"rude" way to kill Nxt. Using it may be what's corrupting your blockchain. The "-9" setting kills the process instantly, even if the software is in the middle of updating the blockchain file.
Instead, try this:
1. When you start the server, use a command like this one:
java -jar start.jar STOP.PORT=28282 STOP.KEY=<password> &
where <password> is whatever secret word you want to use. It doesn't really matter, as long as you use the same password later!
The '&' is important, since it will tell your Mac to start the server in the BACKGROUND, which will let you enter other commands!
2. When you want to stop the server, enter this command:
java -jar start.jar STOP.PORT=28282 STOP.KEY=<password> --stop
where <password> is the same secret word you used when you started the server.