Originally posted by: shargus
According to the man page for init,
If the init command finds that it is continuously running an entry in the /etc/inittab file (more than five times in 225 seconds), it assumes that an error in the entry command string exists. It then prints an error message to the console and logs an error in the system error log. After the message is sent, the entry does not run
for 60 seconds. If the error continues to occur, the command will respawn the entry only five times every 240 seconds. The init command continues to assume an error occurred until the command does not respond five times in the interval, or until it receives a signal from a user. The init command logs an error
for only the first occurrence of the error.
So, there is no way to change the behavior of init. Adding a "sleep 2" won't change anything, either (will still respawn 5 times in 225 seconds). You COULD sleep for a really long time (4 minutes should do the trick), but it still doesn't fix the underlying problem - your process starts, dies, then four minutes later it restarts, then dies again...
Renicing the process - doesn't really matter, unless it's eating up a significant amount of CPU time.
You didn't mention it in your first post, but have you checked the agd.out log file?
I still think your best bet is to start the process up from a root shell, then see what happens when it dies.
#AIX-Forum