a programmer on my team here has created a program to do some automated
netmap entries network healthchecking etc… useing a combination of tcp and
fleet(none of this information is real relavent but any way). in doing this
ever 4 seconds his program spawns a netmap. what we have noticed is that
every time he spawns netmap it takes more and more cpu time so 36 hours l8er
he will be using 86% of the cpu time just to spawn netmap. we did some test
and it seems to happen no matter what you spawn and i am using qnx4.25 does
anyone have a sugestion on how I can prevent this from happening.
That’s odd, considering that the shell spawn every command you execute!
What if you write a scrit that call netmap constantly does the same problem
occurs. What process takes the CPU time?
Could you post the piece of code that does the spawn.
Your programmer seems to have choosen to long road to implement this.
You don’t need to spawn netmap, you can download from QNX ftp site:
/usr/free/qnx4/os/net/netraw.v4.tgz, in the file net41msg.h there are
structure
that correspond to message to send to Net (that is what the netmap program
is using).
Spawning under QNX4 is not real-time friendly.
Also IMHO using TCP/IP to do this is not very good, because you then
rely on TCP/IP being configured correcteclty. If it is not, then you
can’t access the nodes thus you can’t fix the problem remotly.
“Justin Warburton” <justin.ctr.warburton@NOSPAM.tc.NOSPAM.faa.NOSAM.gov>
wrote in message news:8p661f$e4r$1@faatcrl.tc.faa.gov…
a programmer on my team here has created a program to do some automated
netmap entries network healthchecking etc… useing a combination of tcp
and
fleet(none of this information is real relavent but any way). in doing
this
ever 4 seconds his program spawns a netmap. what we have noticed is that
every time he spawns netmap it takes more and more cpu time so 36 hours
l8er
he will be using 86% of the cpu time just to spawn netmap. we did some
test
and it seems to happen no matter what you spawn and i am using qnx4.25
does
anyone have a sugestion on how I can prevent this from happening.