<div dir="ltr">First, it would be helpful to know what OS you are using. Since you say that it is always the same number of pipelines, it sounds like a resource exhaustion. You might try running it in a debugger and/or generating some detailed logging info. The strategy for logging info is OS dependent. Refer to GST_INFO for more details. You might also try changing your architecture from threads to processes. If a thread crashes, your whole system crashes. If a process crashes, nothing else should be impacted.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 26, 2015 at 8:12 AM, Yisus <span dir="ltr"><<a href="mailto:j.avileses@gmail.com" target="_blank">j.avileses@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
We are implementing a media server using GStreamer 1.6.0. The media server<br>
receives RTP streams and these after a media processing  (transcoding,<br>
videoscale, audioresample) are retransmitted. For each RTP flow, the media<br>
server creates a Gstreamer pipeline.<br>
We are running loading tests on the media server  to check the number of RTP<br>
streams (pipelines) that can be processed in parallel.We have noticed that<br>
when the server creates a certain high number of pipelines (always the same<br>
number, around 180), the server crashes due to a GLib error:<br>
<br>
--------------------------------------------------------------------------------------------------------------------------------------------------------------------<br>
(MediaProcess:2487): GStreamer-WARNING **: failed to create thread: Error<br>
creating thread: Resource temporarily unavailable<br>
0:16:06.558468338  2487 0x7f00ec1cad50 ERROR                basesrc<br>
gstbasesrc.c:3462:gst_base_src_start_complete:<udpsrc1880> Failed to perform<br>
initial seek<br>
<br>
(MediaProcess:2487): GLib-ERROR **: creating thread 'timer': Error creating<br>
thread: Resource temporarily unavailable<br>
------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br>
<br>
could you suggest me some idea to solve this issue.<br>
<br>
Thanks in advance.<br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/RTP-media-server-scalability-issue-GLib-ERROR-tp4674655.html" rel="noreferrer" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/RTP-media-server-scalability-issue-GLib-ERROR-tp4674655.html</a><br>
Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div><br></div>