Hi all<br><br>I have encountered a strange problem. I am setting up a unittest system, and thought everything was going smoothly. What I do is spawn multiple occurences of programs that are based on live555. One of wich is the openRTSP rtsp client.
<br><br>What happens, is that most of the running programs works fine. I have made one program that accepts data on a socket, and retransmits it on a RTSP socket (sort of like testOnDemandRTSPServer, but with socket input instead of a file), and the other one i run is the openRTSP program to "simulate" a client.
<br><br>Everything works fine as long as I spawn no more than 25 server/client pairs. If I go above that, say 40, one of the programs (sometimes openRTSP, other times the server) starts hogging CPU power. What is really weird is that they give the exact same output when I use "strace -p [PID]" on the pid that "hangs". What is even stranger, is that when some or all of the other spawned processes dies, the one that has "crashed" comes back to life. It seems to dump all the data it has accumulated to the openRTSP client in one big chunk, regardless of which program that crashed. I use timeout on openRTSP (-e 60), and the one that crashes finishes after exactly the double of the timeout value. It seems to hang until the other processes finish, and then continue, but not always. Sometimes it finishes at the correct time, but I think it is always tvserver that has failed when that happens.
<br><br>This happens no matter what. If I delay for 1 second between spawning processes, it still hangs. Sometimes more than one hangs also, but not so often. I allways make sure that the server is up and running before I spawn the openRTSP client.
<br><br>At the bottom is some printouts from "ps aux | grep open"<br><br><br>Here is the output from strace from both processes when failing and OK:<br><br>openRTSP failing:<br><br>Process 31156 attached - interrupt to quit
<br>socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4<br>setsockopt(4, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0<br>setsockopt(4, SOL_IP, IP_MULTICAST_LOOP, "\1", 1) = 0<br>getsockname(4, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("
<a href="http://0.0.0.0">0.0.0.0</a>")}, [16]) = 0<br>bind(4, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("<a href="http://0.0.0.0">0.0.0.0</a>")}, 16) = 0<br>getsockname(4, {sa_family=AF_INET, sin_port=htons(45067), sin_addr=inet_addr("
<a href="http://0.0.0.0">0.0.0.0</a>")}, [68719476752]) = 0<br>close(5) = 0<br>socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 5<br>setsockopt(5, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0<br>setsockopt(5, SOL_IP, IP_MULTICAST_LOOP, "\1", 1) = 0
<br>getsockname(5, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("<a href="http://0.0.0.0">0.0.0.0</a>")}, [16]) = 0<br>bind(5, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("<a href="http://0.0.0.0">
0.0.0.0</a>")}, 16) = 0<br>getsockname(5, {sa_family=AF_INET, sin_port=htons(45185), sin_addr=inet_addr("<a href="http://0.0.0.0">0.0.0.0</a>")}, [68719476752]) = 0<br>close(4) = 0
<br>socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4<br>setsockopt(4, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0<br>setsockopt(4, SOL_IP, IP_MULTICAST_LOOP, "\1", 1) = 0<br>getsockname(4, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("
<a href="http://0.0.0.0">0.0.0.0</a>")}, [16]) = 0<br>bind(4, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("<a href="http://0.0.0.0">0.0.0.0</a>")}, 16) = 0<br>getsockname(4, {sa_family=AF_INET, sin_port=htons(45195), sin_addr=inet_addr("
<a href="http://0.0.0.0">0.0.0.0</a>")}, [68719476752]) = 0<br>close(5) = 0<br>socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 5<br>setsockopt(5, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0<br>setsockopt(5, SOL_IP, IP_MULTICAST_LOOP, "\1", 1) = 0
<br>getsockname(5, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("<a href="http://0.0.0.0">0.0.0.0</a>")}, [16]) = 0<br>bind(5, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("<a href="http://0.0.0.0">
0.0.0.0</a>")}, 16) = 0<br>getsockname(5, {sa_family=AF_INET, sin_port=htons(45313), sin_addr=inet_addr("<a href="http://0.0.0.0">0.0.0.0</a>")}, [68719476752]) = 0<br>close(4) = 0
<br><br>openRTSP working OK. This is from the exact same process as above, just later, when the others have died:<br><br>write(1, "G\0 \237\377\33\336I\302N\367<\10\266\5T\236\326\373+\261"..., 1316) = 1316<br>
gettimeofday({1162164160, 636987}, NULL) = 0<br>select(6, [4 5], NULL, NULL, {0, 390220}) = 1 (in [5], left {0, 390220})<br>gettimeofday({1162164160, 637055}, NULL) = 0<br>select(6, [5], NULL, NULL, NULL) = 1 (in [5])
<br>recvfrom(5, "\200!\232A\331\207Z\0\342\224\4dG\0 \224,\344 \244,U\312"..., 9984, 0, {sa_family=AF_INET, sin_port=htons(57624), sin_addr=inet_addr("<a href="http://10.0.0.20">10.0.0.20</a>")}, [16]) = 1328
<br>gettimeofday({1162164160, 637176}, NULL) = 0<br>gettimeofday({1162164160, 637204}, NULL) = 0<br>write(1, "G\0 \224,\344 \244,U\312KS\352\303d\216*.d\r\n\345\231"..., 1316) = 1316<br>gettimeofday({1162164160, 637302}, NULL) = 0
<br>select(6, [4 5], NULL, NULL, {0, 389905}) = 1 (in [5], left {0, 388000})<br>gettimeofday({1162164160, 638019}, NULL) = 0<br>select(6, [5], NULL, NULL, NULL) = 1 (in [5])<br>recvfrom(5, "\200!\232B\331\207Z\363\342\224\4dG\0 \272\177\0\377\377"..., 9984, 0, {sa_family=AF_INET, sin_port=htons(57624), sin_addr=inet_addr("
<a href="http://10.0.0.20">10.0.0.20</a>")}, [16]) = 1328<br>gettimeofday({1162164160, 638143}, NULL) = 0<br>gettimeofday({1162164160, 638173}, NULL) = 0<br>write(1, "G\0 \272\177\0\377\377\377\377\377\377\377\377\377\377"..., 1316) = 1316
<br>gettimeofday({1162164160, 638253}, NULL) = 0<br>select(6, [4 5], NULL, NULL, {0, 388954}) = 1 (in [5], left {0, 388000})<br>gettimeofday({1162164160, 643212}, NULL) = 0<br>select(6, [5], NULL, NULL, NULL) = 1 (in [5])
<br>recvfrom(5, "\200!\232C\331\207\\\306\342\224\4dG\0000\232\204]\374"..., 9984, 0, {sa_family=AF_INET, sin_port=htons(57624), sin_addr=inet_addr("<a href="http://10.0.0.20">10.0.0.20</a>")}, [16]) = 1328
<br>gettimeofday({1162164160, 643335}, NULL) = 0<br>gettimeofday({1162164160, 643365}, NULL) = 0<br>write(1, "G\0000\232\204]\374\r\216b8\273\322\234\275\205\261K\245"..., 1316) = 1316<br>gettimeofday({1162164160, 643445}, NULL) = 0
<br>select(6, [4 5], NULL, NULL, {0, 383762} <unfinished ...><br>Process 31156 detached<br><br>Here is the output from my server when failing:<br><br>Process 389 attached - interrupt to quit<br>socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 5
<br>setsockopt(5, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0<br>setsockopt(5, SOL_IP, IP_MULTICAST_LOOP, "\1", 1) = 0<br>getsockname(5, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("<a href="http://0.0.0.0">
0.0.0.0</a>")}, [8589934608]) = 0<br>bind(5, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("<a href="http://0.0.0.0">0.0.0.0</a>")}, 16) = 0<br>getsockname(5, {sa_family=AF_INET, sin_port=htons(38411), sin_addr=inet_addr("
<a href="http://0.0.0.0">0.0.0.0</a>")}, [834854789513740304]) = 0<br>close(4) = 0<br>socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4<br>setsockopt(4, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0<br>
setsockopt(4, SOL_IP, IP_MULTICAST_LOOP, "\1", 1) = 0<br>getsockname(4, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("<a href="http://0.0.0.0">0.0.0.0</a>")}, [8589934608]) = 0<br>bind(4, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("
<a href="http://0.0.0.0">0.0.0.0</a>")}, 16) = 0<br>getsockname(4, {sa_family=AF_INET, sin_port=htons(38529), sin_addr=inet_addr("<a href="http://0.0.0.0">0.0.0.0</a>")}, [9337650885989236752]) = 0<br>close(5) = 0
<br>socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 5<br>setsockopt(5, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0<br>setsockopt(5, SOL_IP, IP_MULTICAST_LOOP, "\1", 1) = 0<br>getsockname(5, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("
<a href="http://0.0.0.0">0.0.0.0</a>")}, [8589934608]) = 0<br>bind(5, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("<a href="http://0.0.0.0">0.0.0.0</a>")}, 16) = 0<br>getsockname(5, {sa_family=AF_INET, sin_port=htons(38539), sin_addr=inet_addr("
<a href="http://0.0.0.0">0.0.0.0</a>")}, [10058226826368516112]) = 0<br>close(4) = 0<br>socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4<br>setsockopt(4, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
<br>setsockopt(4, SOL_IP, IP_MULTICAST_LOOP, "\1", 1) = 0<br>getsockname(4, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("<a href="http://0.0.0.0">0.0.0.0</a>")}, [8589934608]) = 0<br>bind(4, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("
<a href="http://0.0.0.0">0.0.0.0</a>")}, 16) = 0<br>getsockname(4, {sa_family=AF_INET, sin_port=htons(38657), sin_addr=inet_addr("<a href="http://0.0.0.0">0.0.0.0</a>")}, [114560324111171600]) = 0<br>close(5) = 0
<br><br>And here when running correctly. As with openRTSP, this too is from the same pid, and thus exactly the same program:<br><br>gettimeofday({1162168430, 124871}, NULL) = 0<br>gettimeofday({1162168430, 124901}, NULL) = 0
<br>sendto(4, "\200!M\225J\341?\211\256\374)JG\0 \322\305\273u\260\357"..., 1328, 0, {sa_family=AF_INET, sin_port=htons(57796), sin_addr=inet_addr("<a href="http://10.0.0.20">10.0.0.20</a>")}, 16) = 1328
<br>gettimeofday({1162168430, 125012}, NULL) = 0<br>gettimeofday({1162168430, 125043}, NULL) = 0<br>select(6, [0 1 5], NULL, NULL, {0, 0}) = 0 (Timeout)<br>select(101, [100], NULL, NULL, {0, 500000}) = 1 (in [100], left {0, 468000})
<br>select(101, [100], NULL, NULL, {1, 0}) = 1 (in [100], left {1, 0})<br>read(100, "G\0 \330\236\25~o\35A\240\370O>Cs^\255\334S\227t}\352\206"..., 1316) = 1316<br>gettimeofday({1162168430, 157521}, NULL) = 0
<br>gettimeofday({1162168430, 157552}, NULL) = 0<br>sendto(4, "\200!M\226J\341K\4\256\374)JG\0 \330\236\25~o\35A\240\370"..., 1328, 0, {sa_family=AF_INET, sin_port=htons(57796), sin_addr=inet_addr("<a href="http://10.0.0.20">
10.0.0.20</a>")}, 16) = 1328<br>gettimeofday({1162168430, 157650}, NULL) = 0<br>gettimeofday({1162168430, 157682}, NULL) = 0<br>select(6, [0 1 5], NULL, NULL, {0, 0}) = 1 (in [1], left {0, 0})<br>select(101, [100], NULL, NULL, {0, 500000}) = 1 (in [100], left {0, 500000})
<br>select(101, [100], NULL, NULL, {1, 0}) = 1 (in [100], left {1, 0})<br>read(100, "G\0 \336f\t?\272Q0x\02019\231\27*\"\2424/T\205\202\320"..., 1316) = 1316<br>gettimeofday({1162168430, 157891}, NULL) = 0
<br>gettimeofday({1162168430, 157921}, NULL) = 0<br>sendto(4, "\200!M\227J\341K%\256\374)JG\0 \336f\t?\272Q0x\02019\231"..., 1328, 0, {sa_family=AF_INET, sin_port=htons(57796), sin_addr=inet_addr("<a href="http://10.0.0.20">
10.0.0.20</a>")}, 16) = 1328<br>gettimeofday({1162168430, 158004}, NULL) = 0<br>gettimeofday({1162168430, 158036}, NULL) = 0<br>gettimeofday({1162168430, 158092}, NULL) = 0<br>select(2, [1], NULL, NULL, NULL) = 1 (in [1])
<br>recvfrom(1, "TEARDOWN rtsp://10.0.0.20:23896/"..., 10000, 0, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\3604F\335\377\177\0\0"}, [0]) = 130<br>time(NULL) = 1162168430<br>
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=73, ...}) = 0<br>sendto(1, "RTSP/1.0 200 OK\r\nCSeq: 5\r\nDate: "..., 65, 0, NULL, 0) = 65<br>close(1) = 0<br>gettimeofday({1162168430, 159298}, NULL) = 0
<br>write(1, "Str::::::::::::::::::::::::::::::::::::::::::::::::::.., 178) = -1 EBADF (Bad file descriptor)<br>munmap(0x2addcd65c000, 8192) = 0<br>exit_group(0) = ?<br>Process 389 detached
<br><br>I did insert some :::: to remove some revealing debug info.<br><br><br>ps aux | grep open<br><br>mt 2335 0.6 0.0 7708 1256 pts/0 S+ 04:53 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:37534/test<br>
mt 2339 0.6 0.0 7708 1260 pts/0 S+ 04:53 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:40199/test<br>mt 2343 0.6 0.0 7712 1260 pts/0 S+ 04:53 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:35529/test
<br>mt 2347 0.4 0.0 7708 1256 pts/0 S+ 04:53 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:24026/test<br>mt 2351 0.6 0.0 7708 1260 pts/0 S+ 04:53 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:22651/test
<br>mt 2355 0.4 0.0 7708 1260 pts/0 S+ 04:53 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:53278/test<br>mt 2359 0.8 0.0 7712 1264 pts/0 S+ 04:53 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:47319/test
<br>mt 2363 0.6 0.0 7708 1260 pts/0 S+ 04:53 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:1619/test<br>mt 2367 0.6 0.0 7712 1264 pts/0 S+ 04:53 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:40071/test
<br>mt 2371 0.8 0.0 7712 1264 pts/0 S+ 04:53 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:40077/test<br>mt 2375 0.6 0.0 7712 1256 pts/0 S+ 04:53 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:36133/test
<br>mt 2379 0.4 0.0 7712 1264 pts/0 S+ 04:53 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:41026/test<br>mt 2383 0.2 0.0 7712 1256 pts/0 S+ 04:53 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:15370/test
<br>mt 2387 0.4 0.0 7708 1252 pts/0 S+ 04:53 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:48064/test<br>mt 2391 0.6 0.0 7712 1256 pts/0 S+ 04:53 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:8066/test
<br>mt 2395 0.6 0.0 7712 1260 pts/0 S+ 04:53 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:26160/test<br>mt 2399 0.6 0.0 7712 1256 pts/0 S+ 04:53 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:32218/test
<br>mt 2403 0.4 0.0 7708 1256 pts/0 S+ 04:53 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:55087/test<br>mt 2407 0.8 0.0 7712 1264 pts/0 S+ 04:53 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:60707/test
<br>mt 2411 0.4 0.0 7712 1260 pts/0 S+ 04:53 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:53483/test<br>mt 2415 0.2 0.0 7708 1260 pts/0 S+ 04:53 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:44898/test
<br>mt 2419 0.5 0.0 7712 1256 pts/0 S+ 04:53 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:9270/test<br>mt 2423 0.7 0.0 7708 1256 pts/0 S+ 04:53 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:3285/test
<br>mt 2427 1.0 0.0 7712 1260 pts/0 S+ 04:53 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:48237/test<br>mt 2431 1.5 0.0 7708 1260 pts/0 S+ 04:53 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:59885/test
<br>mt 2435 1.2 0.0 7708 1260 pts/0 S+ 04:53 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:16589/test<br>mt 2439 0.5 0.0 7712 1264 pts/0 S+ 04:53 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:52152/test
<br>mt 2443 1.0 0.0 7712 1260 pts/0 S+ 04:53 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:52485/test<br>mt 2447 1.0 0.0 7712 1256 pts/0 S+ 04:53 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:47785/test
<br>mt 2451 1.5 0.0 7708 1256 pts/0 S+ 04:53 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:47341/test<br>mt 2455 0.7 0.0 7708 1256 pts/0 S+ 04:53 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:56161/test
<br>mt 2459 90.2 0.0 7584 1148 pts/0 R+ 04:53 0:03 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:4292/test<br><br>mt 2653 0.4 0.0 7708 1260 pts/0 S+ 04:55 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:42335/test
<br>mt 2657 0.4 0.0 7712 1264 pts/0 S+ 04:55 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:55211/test<br>mt 2661 0.4 0.0 7712 1260 pts/0 S+ 04:55 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:11026/test
<br>mt 2665 0.4 0.0 7708 1256 pts/0 S+ 04:55 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:49709/test<br>mt 2669 0.4 0.0 7708 1256 pts/0 S+ 04:55 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:29708/test
<br>mt 2673 0.4 0.0 7708 1256 pts/0 S+ 04:55 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:18744/test<br>mt 2677 0.2 0.0 7712 1252 pts/0 S+ 04:55 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:4189/test
<br>mt 2681 0.4 0.0 7712 1264 pts/0 S+ 04:55 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:43829/test<br>mt 2685 0.2 0.0 7712 1264 pts/0 S+ 04:55 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:52841/test
<br>mt 2689 0.5 0.0 7712 1260 pts/0 S+ 04:55 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:37863/test<br>mt 2693 0.5 0.0 7712 1260 pts/0 S+ 04:55 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:18338/test
<br>mt 2697 0.2 0.0 7708 1256 pts/0 S+ 04:55 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:31492/test<br>mt 2701 0.2 0.0 7708 1260 pts/0 S+ 04:55 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:37513/test
<br>mt 2705 0.5 0.0 7712 1260 pts/0 S+ 04:55 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:43648/test<br>mt 2709 0.5 0.0 7712 1260 pts/0 S+ 04:55 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:58518/test
<br>mt 2713 0.2 0.0 7708 1256 pts/0 S+ 04:55 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:49463/test<br>mt 2717 0.7 0.0 7712 1260 pts/0 S+ 04:55 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:39673/test
<br>mt 2721 0.2 0.0 7712 1260 pts/0 S+ 04:55 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:6324/test<br>mt 2725 0.2 0.0 7712 1260 pts/0 S+ 04:55 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:31094/test
<br>mt 2729 0.5 0.0 7708 1252 pts/0 S+ 04:55 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:52132/test<br>mt 2733 0.2 0.0 7712 1256 pts/0 S+ 04:55 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:59113/test
<br>mt 2737 0.5 0.0 7712 1264 pts/0 S+ 04:55 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:11684/test<br>mt 2741 0.5 0.0 7708 1260 pts/0 S+ 04:55 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:25164/test
<br>mt 2745 0.2 0.0 7712 1264 pts/0 S+ 04:55 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:24016/test<br>mt 2749 0.2 0.0 7712 1260 pts/0 S+ 04:55 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:12952/test
<br>mt 2753 0.7 0.0 7708 1260 pts/0 S+ 04:55 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:18726/test<br>mt 2757 0.5 0.0 7712 1264 pts/0 S+ 04:55 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:5380/test
<br>mt 2761 0.2 0.0 7712 1256 pts/0 S+ 04:55 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:24411/test<br>mt 2765 0.2 0.0 7712 1260 pts/0 S+ 04:55 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:16271/test
<br>mt 2769 0.7 0.0 7712 1264 pts/0 S+ 04:55 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:60321/test<br>mt 2773 0.6 0.0 7712 1264 pts/0 S+ 04:55 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:63052/test
<br>mt 2777 95.0 0.0 7584 1148 pts/0 R+ 04:55 0:02 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:18769/test<br><br>The last two is when running 32 instances. The following is when running 36 instances:<br><br>
mt 3580 0.3 0.0 7708 1260 pts/0 S+ 04:58 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:19701/test<br>mt 3584 1.0 0.0 7708 1260 pts/0 S+ 04:58 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:8559/test
<br>mt 3588 0.5 0.0 7712 1260 pts/0 S+ 04:58 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:34120/test<br>mt 3592 0.6 0.0 7712 1260 pts/0 S+ 04:58 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:13121/test
<br>mt 3596 0.8 0.0 7712 1256 pts/0 S+ 04:58 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:14770/test<br>mt 3600 0.6 0.0 7712 1264 pts/0 S+ 04:58 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:30675/test
<br>mt 3604 0.6 0.0 7708 1260 pts/0 S+ 04:58 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:40455/test<br>mt 3608 0.6 0.0 7708 1260 pts/0 S+ 04:58 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:45766/test
<br>mt 3612 0.8 0.0 7712 1260 pts/0 S+ 04:58 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:29900/test<br>mt 3616 1.0 0.0 7708 1260 pts/0 S+ 04:58 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:33734/test
<br>mt 3620 0.8 0.0 7708 1256 pts/0 S+ 04:58 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:13557/test<br>mt 3624 0.6 0.0 7708 1260 pts/0 S+ 04:58 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:3390/test
<br>mt 3628 0.6 0.0 7712 1256 pts/0 S+ 04:58 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:60172/test<br>mt 3632 0.8 0.0 7712 1260 pts/0 S+ 04:58 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:28942/test
<br>mt 3636 1.1 0.0 7708 1256 pts/0 S+ 04:58 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:46137/test<br>mt 3640 0.5 0.0 7708 1256 pts/0 S+ 04:58 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:22724/test
<br>mt 3644 1.0 0.0 7712 1256 pts/0 S+ 04:58 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:45092/test<br>mt 3648 0.8 0.0 7708 1256 pts/0 S+ 04:58 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:23933/test
<br>mt 3652 1.0 0.0 7708 1256 pts/0 S+ 04:58 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:1793/test<br>mt 3656 0.6 0.0 7712 1260 pts/0 S+ 04:58 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:8811/test
<br>mt 3660 1.0 0.0 7708 1260 pts/0 S+ 04:58 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:42799/test<br>mt 3664 1.4 0.0 7712 1260 pts/0 S+ 04:58 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:30680/test
<br>mt 3668 0.6 0.0 7708 1256 pts/0 S+ 04:58 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:65038/test<br>mt 3672 1.6 0.0 7708 1260 pts/0 S+ 04:58 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:56001/test
<br>mt 3676 1.0 0.0 7712 1264 pts/0 S+ 04:58 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:22071/test<br>mt 3680 1.2 0.0 7712 1260 pts/0 S+ 04:58 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:20123/test
<br>mt 3684 0.4 0.0 7708 1260 pts/0 S+ 04:58 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:39937/test<br>mt 3688 1.2 0.0 7708 1260 pts/0 S+ 04:58 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:6393/test
<br>mt 3692 1.4 0.0 7708 1256 pts/0 S+ 04:58 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:48283/test<br>mt 3696 1.0 0.0 7712 1256 pts/0 S+ 04:58 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:33740/test
<br>mt 3700 0.8 0.0 7712 1260 pts/0 S+ 04:58 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:36566/test<br>mt 3704 2.2 0.0 7712 1252 pts/0 S+ 04:58 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:55543/test
<br>mt 3708 3.4 0.0 7708 1260 pts/0 S+ 04:58 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:27525/test<br>mt 3712 0.6 0.0 7708 1256 pts/0 S+ 04:58 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:37965/test
<br>mt 3717 0.6 0.0 7708 1256 pts/0 S+ 04:58 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:17433/test<br>mt 3721 84.2 0.0 7584 1152 pts/0 R+ 04:58 0:03 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:58968/test
<br><br>Just to show that it is not allways the last spawed instance that crashes:<br><br>mt 4079 0.4 0.0 7708 1260 pts/0 S+ 05:00 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:12677/test<br>mt 4083
0.4 0.0 7712 1260 pts/0 S+ 05:00 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:11143/test<br>mt 4087 0.8 0.0 7712 1264 pts/0 S+ 05:00 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:35927/test<br>
mt 4091 0.5 0.0 7712 1260 pts/0 S+ 05:00 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:36827/test<br>mt 4095 0.5 0.0 7708 1256 pts/0 S+ 05:00 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:38474/test
<br>mt 4099 0.8 0.0 7708 1260 pts/0 S+ 05:00 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:36485/test<br>mt 4103 0.6 0.0 7712 1260 pts/0 S+ 05:00 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:53506/test
<br>mt 4107 0.6 0.0 7708 1260 pts/0 S+ 05:00 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:43803/test<br>mt 4111 0.2 0.0 7708 1260 pts/0 S+ 05:00 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:62285/test
<br>mt 4115 0.4 0.0 7708 1260 pts/0 S+ 05:00 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:40644/test<br>mt 4119 0.5 0.0 7712 1264 pts/0 S+ 05:00 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:17821/test
<br>mt 4123 0.3 0.0 7708 1256 pts/0 S+ 05:00 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:19737/test<br>mt 4127 0.6 0.0 7708 1260 pts/0 S+ 05:00 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:36281/test
<br>mt 4131 0.7 0.0 7708 1260 pts/0 S+ 05:00 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:58183/test<br>mt 4135 0.6 0.0 7712 1260 pts/0 S+ 05:00 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:28540/test
<br>mt 4139 0.5 0.0 7708 1256 pts/0 S+ 05:00 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:48256/test<br>mt 4143 0.6 0.0 7708 1260 pts/0 S+ 05:00 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:12372/test
<br>mt 4147 0.5 0.0 7708 1260 pts/0 S+ 05:00 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:46237/test<br>mt 4151 0.4 0.0 7708 1260 pts/0 S+ 05:00 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:1155/test
<br>mt 4155 0.7 0.0 7712 1264 pts/0 S+ 05:00 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:16354/test<br>mt 4159 1.0 0.0 7708 1256 pts/0 S+ 05:00 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:14622/test
<br>mt 4163 1.0 0.0 7708 1256 pts/0 S+ 05:00 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:4048/test<br>mt 4167 0.6 0.0 7708 1260 pts/0 S+ 05:00 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:53274/test
<br>mt 4171 0.5 0.0 7708 1256 pts/0 S+ 05:00 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:28029/test<br>mt 4175 0.7 0.0 7712 1260 pts/0 S+ 05:00 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:7066/test
<br>mt 4179 0.8 0.0 7708 1260 pts/0 S+ 05:00 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:9035/test<br>mt 4183 0.6 0.0 7708 1260 pts/0 S+ 05:00 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:31896/test
<br>mt 4187 0.8 0.0 7712 1256 pts/0 S+ 05:00 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:27972/test<br>mt 4191 0.6 0.0 7712 1260 pts/0 S+ 05:00 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:4945/test
<br>mt 4195 0.3 0.0 7712 1264 pts/0 S+ 05:00 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:53198/test<br>mt 4199 0.8 0.0 7712 1260 pts/0 S+ 05:00 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:37152/test
<br>mt 4203 4.1 0.0 7708 1256 pts/0 S+ 05:00 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:56146/test<br>mt 4207 0.5 0.0 7708 1260 pts/0 S+ 05:00 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:17086/test
<br>mt 4211 0.7 0.0 7708 1256 pts/0 S+ 05:00 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:13065/test<br>mt 4215 80.3 0.0 7580 1148 pts/0 R+ 05:00 0:06 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:23968/test
<br>mt 4219 0.3 0.0 7712 1256 pts/0 S+ 05:00 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:2395/test<br><br>mt 4444 0.2 0.0 7708 1260 pts/0 S+ 05:01 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:54427/test
<br>mt 4448 0.5 0.0 7712 1256 pts/0 S+ 05:01 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:36333/test<br>mt 4452 0.2 0.0 7708 1260 pts/0 S+ 05:01 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:42537/test
<br>mt 4456 0.5 0.0 7712 1264 pts/0 S+ 05:01 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:5617/test<br>mt 4460 0.2 0.0 7708 1260 pts/0 S+ 05:01 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:65533/test
<br>mt 4464 0.5 0.0 7712 1256 pts/0 S+ 05:01 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:3179/test<br>mt 4468 0.5 0.0 7712 1256 pts/0 S+ 05:01 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:35069/test
<br>mt 4472 0.5 0.0 7712 1264 pts/0 S+ 05:01 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:34098/test<br>mt 4476 0.7 0.0 7708 1260 pts/0 S+ 05:01 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:14348/test
<br>mt 4480 0.7 0.0 7712 1264 pts/0 S+ 05:01 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:60991/test<br>mt 4484 1.0 0.0 7712 1256 pts/0 S+ 05:01 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:54749/test
<br>mt 4488 1.0 0.0 7712 1264 pts/0 S+ 05:01 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:49684/test<br>mt 4492 1.3 0.0 7712 1260 pts/0 S+ 05:01 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:47274/test
<br>mt 4496 0.6 0.0 7712 1260 pts/0 S+ 05:01 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:64707/test<br>mt 4500 0.6 0.0 7712 1264 pts/0 S+ 05:01 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:17401/test
<br>mt 4504 0.3 0.0 7708 1260 pts/0 S+ 05:01 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:19447/test<br>mt 4508 1.0 0.0 7708 1260 pts/0 S+ 05:01 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:15503/test
<br>mt 4512 0.6 0.0 7708 1252 pts/0 S+ 05:01 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:49044/test<br>mt 4516 1.0 0.0 7708 1256 pts/0 S+ 05:01 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:8465/test
<br>mt 4520 0.6 0.0 7708 1252 pts/0 S+ 05:01 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:20504/test<br>mt 4524 0.6 0.0 7708 1260 pts/0 S+ 05:01 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:60290/test
<br>mt 4528 0.6 0.0 7708 1260 pts/0 S+ 05:01 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:47538/test<br>mt 4532 0.6 0.0 7708 1260 pts/0 S+ 05:01 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:63574/test
<br>mt 4536 1.0 0.0 7708 1260 pts/0 S+ 05:01 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:13516/test<br>mt 4540 0.6 0.0 7708 1260 pts/0 S+ 05:01 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:61854/test
<br>mt 4544 0.6 0.0 7712 1260 pts/0 S+ 05:01 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:64414/test<br>mt 4548 1.0 0.0 7712 1256 pts/0 S+ 05:01 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:41141/test
<br>mt 4552 1.3 0.0 7708 1252 pts/0 S+ 05:01 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:38540/test<br>mt 4556 0.3 0.0 7708 1256 pts/0 S+ 05:01 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:40004/test
<br>mt 4560 0.6 0.0 7712 1252 pts/0 S+ 05:01 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:23057/test<br>mt 4564 1.0 0.0 7712 1252 pts/0 S+ 05:01 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:26355/test
<br>mt 4568 3.6 0.0 7708 1256 pts/0 S+ 05:01 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:63377/test<br>mt 4572 94.0 0.0 7580 1152 pts/0 R+ 05:01 0:01 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:36356/test
<br>mt 4576 0.5 0.0 7712 1256 pts/0 S+ 05:01 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:49026/test<br>mt 4580 1.0 0.0 7708 1256 pts/0 S+ 05:01 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:4392/test
<br>mt 4584 0.5 0.0 7712 1260 pts/0 S+ 05:01 0:00 openRTSP -v -E 2 -e 10 rtsp://10.0.0.20:59680/test<br><br>I am going to continue searching, but any hints that could lead to a solution to this would be much appreciated.
<br><br>Best regards<br><br>-Morgan-<br>