<div dir="ltr">So my killing routine is correct? That's a shame, i really hoped that I've screwed up somewhere.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-09-30 16:45 GMT+03:00 Nicolas Dufresne <span dir="ltr"><<a href="mailto:nicolas.dufresne@gmail.com" target="_blank">nicolas.dufresne@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<span class=""><br>
Le vendredi 30 septembre 2016 à 16:19 +0300, Krutskikh Ivan a écrit :<br>
> Hi everyone.<br>
><br>
> I'm developing a video storage and streaming server for ip cameras<br>
> based on gstreamer and python. It's multithreaded daemon which<br>
> launches 2 threads for each cam ( recorder and streamer). Recently I<br>
> found out that upon EOS or error gstreamer pipepeline leaves some<br>
> orphaned opened sockets in the system. This is very painfull because<br>
> I have to run 30-50 cams per server 24/7. I already raised all limits<br>
> to maximum on my linux setup, but other libraries like asyncore are<br>
> failing when opened file count > 1024.I tried changing my pipeline to<br>
> the most simple one, but the problem persist. Maybe I fail to release<br>
> the pipeline correctly? Here's the sample code<br>
<br>
</span>This could be a bug. I have followed you link, but this is just some<br>
part of code. Ideally, just file a bug with a working example that<br>
would let us reproduce.<br>
<br>
  <a href="https://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer" rel="noreferrer" target="_blank">https://bugzilla.gnome.org/<wbr>enter_bug.cgi?product=<wbr>GStreamer</a><br>
<br>
regards,<br>
Nicolas<br>
<br>
p.s. Note that setting NULL state is immediate, no need to poll/wait.<br>
______________________________<wbr>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>
</blockquote></div><br></div>