matrix_df hotmail wrote: > Hello > >> matrix_df hotmail wrote: >> > Hello Jan >> > >> > I have encountered several problems: >> > >> > 1) when you restart rtnet with (sbin/rtnet stop and sbin/rtnet start), >> > each time you get one "ifup" more which makes cpu load. >> > >> > ################################################################## >> > Cpu(s): 43.4% us, 56.6% sy, 0.0% ni, 0.0% id, 0.0% wa, 0.0% hi, >> > 0.0% si >> > Mem: 256140k total, 242716k used, 13424k free, 3616k >> buffers >> > Swap: 514072k total, 104k used, 513968k free, 82516k cached >> > >> > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND >> > 26354 root 20 -5 11580 8652 1128 R 7.3 3.4 0:13.51 ifup >> > 21523 root 20 -5 13776 10m 1128 R 6.6 4.2 0:22.61 ifup >> > 7277 root 20 -5 0 0 0 Z 2.0 0.0 0:00.06 ifup >> <defunct> >> > ################################################################## >> >> Hmm, is that ifup hooked on some vnic or on a rtcap stub (is rtcap >> switched on?)? Do you start them, or is some automatic interface >> detection of your distribution running? Can you kill the processes? > > Ok, I checked this, it seem that linux (centos) tries to load the driver > for the unloaded ethernet > card used by rtnet. > > [EMAIL PROTECTED] rtnet]# ps -Af |grep ifup > root 29472 29462 14 01:36 ? 00:01:07 /bin/bash /sbin/ifup > /etc/syscon > fig/network-scripts/ifcfg-eth2 > root 14805 29472 0 01:44 ? 00:00:00 /bin/bash /sbin/ifup > /etc/syscon > fig/network-scripts/ifcfg-eth2 > > This seems to be happen each time you stop and start rtnet. > Is there a known solution for this? >
Teach your distribution to keep its fingers away from certain network devices. This must be feasible, I just can't tell how to do this precisely for your Linux. Jan ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ RTnet-users mailing list RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users