[Live-devel] Strange problem when spawning multiple instances of Live555 programs
Morgan Tørvolt
morgan.torvolt at gmail.com
Sun Oct 29 13:21:03 PST 2006
Hi all
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.
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.
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.
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.
At the bottom is some printouts from "ps aux | grep open"
Here is the output from strace from both processes when failing and OK:
openRTSP failing:
Process 31156 attached - interrupt to quit
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
setsockopt(4, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
setsockopt(4, SOL_IP, IP_MULTICAST_LOOP, "\1", 1) = 0
getsockname(4, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("
0.0.0.0")}, [16]) = 0
bind(4, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")},
16) = 0
getsockname(4, {sa_family=AF_INET, sin_port=htons(45067),
sin_addr=inet_addr("0.0.0.0")}, [68719476752]) = 0
close(5) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 5
setsockopt(5, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
setsockopt(5, SOL_IP, IP_MULTICAST_LOOP, "\1", 1) = 0
getsockname(5, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("
0.0.0.0")}, [16]) = 0
bind(5, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")},
16) = 0
getsockname(5, {sa_family=AF_INET, sin_port=htons(45185),
sin_addr=inet_addr("0.0.0.0")}, [68719476752]) = 0
close(4) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
setsockopt(4, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
setsockopt(4, SOL_IP, IP_MULTICAST_LOOP, "\1", 1) = 0
getsockname(4, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("
0.0.0.0")}, [16]) = 0
bind(4, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")},
16) = 0
getsockname(4, {sa_family=AF_INET, sin_port=htons(45195),
sin_addr=inet_addr("0.0.0.0")}, [68719476752]) = 0
close(5) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 5
setsockopt(5, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
setsockopt(5, SOL_IP, IP_MULTICAST_LOOP, "\1", 1) = 0
getsockname(5, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("
0.0.0.0")}, [16]) = 0
bind(5, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")},
16) = 0
getsockname(5, {sa_family=AF_INET, sin_port=htons(45313),
sin_addr=inet_addr("0.0.0.0")}, [68719476752]) = 0
close(4) = 0
openRTSP working OK. This is from the exact same process as above, just
later, when the others have died:
write(1, "G\0 \237\377\33\336I\302N\367<\10\266\5T\236\326\373+\261"...,
1316) = 1316
gettimeofday({1162164160, 636987}, NULL) = 0
select(6, [4 5], NULL, NULL, {0, 390220}) = 1 (in [5], left {0, 390220})
gettimeofday({1162164160, 637055}, NULL) = 0
select(6, [5], NULL, NULL, NULL) = 1 (in [5])
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("
10.0.0.20")}, [16]) = 1328
gettimeofday({1162164160, 637176}, NULL) = 0
gettimeofday({1162164160, 637204}, NULL) = 0
write(1, "G\0 \224,\344 \244,U\312KS\352\303d\216*.d\r\n\345\231"..., 1316)
= 1316
gettimeofday({1162164160, 637302}, NULL) = 0
select(6, [4 5], NULL, NULL, {0, 389905}) = 1 (in [5], left {0, 388000})
gettimeofday({1162164160, 638019}, NULL) = 0
select(6, [5], NULL, NULL, NULL) = 1 (in [5])
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("
10.0.0.20")}, [16]) = 1328
gettimeofday({1162164160, 638143}, NULL) = 0
gettimeofday({1162164160, 638173}, NULL) = 0
write(1, "G\0 \272\177\0\377\377\377\377\377\377\377\377\377\377"..., 1316)
= 1316
gettimeofday({1162164160, 638253}, NULL) = 0
select(6, [4 5], NULL, NULL, {0, 388954}) = 1 (in [5], left {0, 388000})
gettimeofday({1162164160, 643212}, NULL) = 0
select(6, [5], NULL, NULL, NULL) = 1 (in [5])
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("
10.0.0.20")}, [16]) = 1328
gettimeofday({1162164160, 643335}, NULL) = 0
gettimeofday({1162164160, 643365}, NULL) = 0
write(1, "G\0000\232\204]\374\r\216b8\273\322\234\275\205\261K\245"...,
1316) = 1316
gettimeofday({1162164160, 643445}, NULL) = 0
select(6, [4 5], NULL, NULL, {0, 383762} <unfinished ...>
Process 31156 detached
Here is the output from my server when failing:
Process 389 attached - interrupt to quit
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 5
setsockopt(5, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
setsockopt(5, SOL_IP, IP_MULTICAST_LOOP, "\1", 1) = 0
getsockname(5, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("
0.0.0.0")}, [8589934608]) = 0
bind(5, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")},
16) = 0
getsockname(5, {sa_family=AF_INET, sin_port=htons(38411),
sin_addr=inet_addr("0.0.0.0")}, [834854789513740304]) = 0
close(4) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
setsockopt(4, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
setsockopt(4, SOL_IP, IP_MULTICAST_LOOP, "\1", 1) = 0
getsockname(4, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("
0.0.0.0")}, [8589934608]) = 0
bind(4, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")},
16) = 0
getsockname(4, {sa_family=AF_INET, sin_port=htons(38529),
sin_addr=inet_addr("0.0.0.0")}, [9337650885989236752]) = 0
close(5) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 5
setsockopt(5, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
setsockopt(5, SOL_IP, IP_MULTICAST_LOOP, "\1", 1) = 0
getsockname(5, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("
0.0.0.0")}, [8589934608]) = 0
bind(5, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")},
16) = 0
getsockname(5, {sa_family=AF_INET, sin_port=htons(38539),
sin_addr=inet_addr("0.0.0.0")}, [10058226826368516112]) = 0
close(4) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
setsockopt(4, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
setsockopt(4, SOL_IP, IP_MULTICAST_LOOP, "\1", 1) = 0
getsockname(4, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("
0.0.0.0")}, [8589934608]) = 0
bind(4, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")},
16) = 0
getsockname(4, {sa_family=AF_INET, sin_port=htons(38657),
sin_addr=inet_addr("0.0.0.0")}, [114560324111171600]) = 0
close(5) = 0
And here when running correctly. As with openRTSP, this too is from the same
pid, and thus exactly the same program:
gettimeofday({1162168430, 124871}, NULL) = 0
gettimeofday({1162168430, 124901}, NULL) = 0
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("
10.0.0.20")}, 16) = 1328
gettimeofday({1162168430, 125012}, NULL) = 0
gettimeofday({1162168430, 125043}, NULL) = 0
select(6, [0 1 5], NULL, NULL, {0, 0}) = 0 (Timeout)
select(101, [100], NULL, NULL, {0, 500000}) = 1 (in [100], left {0, 468000})
select(101, [100], NULL, NULL, {1, 0}) = 1 (in [100], left {1, 0})
read(100, "G\0 \330\236\25~o\35A\240\370O>Cs^\255\334S\227t}\352\206"...,
1316) = 1316
gettimeofday({1162168430, 157521}, NULL) = 0
gettimeofday({1162168430, 157552}, NULL) = 0
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("
10.0.0.20")}, 16) = 1328
gettimeofday({1162168430, 157650}, NULL) = 0
gettimeofday({1162168430, 157682}, NULL) = 0
select(6, [0 1 5], NULL, NULL, {0, 0}) = 1 (in [1], left {0, 0})
select(101, [100], NULL, NULL, {0, 500000}) = 1 (in [100], left {0, 500000})
select(101, [100], NULL, NULL, {1, 0}) = 1 (in [100], left {1, 0})
read(100, "G\0 \336f\t?\272Q0x\02019\231\27*\"\2424/T\205\202\320"..., 1316)
= 1316
gettimeofday({1162168430, 157891}, NULL) = 0
gettimeofday({1162168430, 157921}, NULL) = 0
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("
10.0.0.20")}, 16) = 1328
gettimeofday({1162168430, 158004}, NULL) = 0
gettimeofday({1162168430, 158036}, NULL) = 0
gettimeofday({1162168430, 158092}, NULL) = 0
select(2, [1], NULL, NULL, NULL) = 1 (in [1])
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
time(NULL) = 1162168430
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=73, ...}) = 0
sendto(1, "RTSP/1.0 200 OK\r\nCSeq: 5\r\nDate: "..., 65, 0, NULL, 0) = 65
close(1) = 0
gettimeofday({1162168430, 159298}, NULL) = 0
write(1, "Str::::::::::::::::::::::::::::::::::::::::::::::::::.., 178) = -1
EBADF (Bad file descriptor)
munmap(0x2addcd65c000, 8192) = 0
exit_group(0) = ?
Process 389 detached
I did insert some :::: to remove some revealing debug info.
ps aux | grep open
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
The last two is when running 32 instances. The following is when running 36
instances:
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Just to show that it is not allways the last spawed instance that crashes:
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
I am going to continue searching, but any hints that could lead to a
solution to this would be much appreciated.
Best regards
-Morgan-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.live555.com/pipermail/live-devel/attachments/20061029/5a81d89b/attachment-0001.html
More information about the live-devel
mailing list