[RTnet-developers] Problem in SOCK_RAW
Brought to you by:
bet-frogger,
kiszka
|
From: Jorge A. <j-a...@cr...> - 2006-09-19 15:35:35
|
Hello to all, I'm testing the SOCK_RAW functionality in the rtnet framework for long periods of time and a problem is happening. I will try to describe it: I'm making tests sending 1.000.000 (one milion messages), with an interval of 5 ms each. After some time, more than 100.000 messages, the host were the test is running has a strange behaviour, the program does not return but the bash dies. I must make the login phase again to enter the host. The messages stop of being sent (I'm monitoring the network with ethereal). In the /proc i find some data about the file descriptor used by the socket (/proc/rtai/rtdm/open_fildes) Index Locked Device 0 0 PACKET_RAW I think this is OK because the socket was never closed. But the behaviour is strange. My guess is that this problem is due to some kind of semaphore or any synchronization mechanism. Any clues for wath is happening? Thanks -- Jorge Almeida j-a...@cr... DISCLAIMER: This message may contain confidential information or privileged material and is intended only for the individual(s) named. If you are not a named addressee and mistakenly received this message you should not copy or otherwise disseminate it: please delete this e-mail from your system and notify the sender immediately. E-mail transmissions are not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete or contain viruses. Therefore, the sender does not accept liability for any errors or omissions in the contents of this message that arise as a result of e-mail transmissions. Please request a hard copy version if verification is required. Critical Software, SA. |