devinci99
06-20-2004, 12:52 PM
Is it normal to have this much java threads when we start the wwim service/applet?
When I do a ps -elf |grep java
and look for my username, I found 9 processes.
I do a killall and they are gone, so I try to restart with cron and found 10 again.
is this normal?
or did my cron start scrpt screw up and launch the applet too many times?
What I did is wron a cron script to look for the process, if it exist it exits, if not, it runs the applet. So I cron it for every 1 minute. so it shouldnt try to launch it more than once.
When i check for the processes each time I see 10. and it's consistent. no less, no more after each time I remove the cron, kill all jobs, check to make sire they are killed, and restart via cron again.
can someone confirm 10 process are normal?
When I do a ps -elf |grep java
and look for my username, I found 9 processes.
I do a killall and they are gone, so I try to restart with cron and found 10 again.
is this normal?
or did my cron start scrpt screw up and launch the applet too many times?
What I did is wron a cron script to look for the process, if it exist it exits, if not, it runs the applet. So I cron it for every 1 minute. so it shouldnt try to launch it more than once.
When i check for the processes each time I see 10. and it's consistent. no less, no more after each time I remove the cron, kill all jobs, check to make sire they are killed, and restart via cron again.
can someone confirm 10 process are normal?