[Interest] QNAM::get() spawns three processess and opens file descriptors which I am unable to close

Mandeep Sandhu mandeepsandhu.chd at gmail.com
Wed Aug 28 14:17:45 CEST 2013


On Wed, Aug 28, 2013 at 5:45 PM, gsmember gs <gsmember at hotmail.de> wrote:

> Thanks for your reply,
> in gerneral I do one request after the other. Always with the same QNAM
> object.
> After a hour I have about 600 running processess and 1024 (which is the
> user limit) open file descriptors.
>

Do you have a sample program which illustrates this problem?

-mandeep




>
> ------------------------------
> Date: Wed, 28 Aug 2013 16:31:34 +0530
> Subject: Re: [Interest] QNAM::get() spawns three processess and opens file
> descriptors which I am unable to close
> From: mandeepsandhu.chd at gmail.com
> To: gsmember at hotmail.de
> CC: interest at qt-project.org
>
>
>
> My problem is that, whenever I call manager->get(), this spawns 3
>  processess, which I am unable to shut down. After a while (running many
> requests) there were a huge amount of running processess and open file
> descriptors. They are consuming RAM and running out of max open file
> descriptor limit...
> Every time I call manager->get(request) 3 new processess are spawnt.
>
> I am using Qt 4.8.4 on Debian 5.
>
>
> You're not supposed to explicitly do anything with these threads. They're
> probably started by QNAM for doing the network operations asynchronously
> and a caller has no control over them.
>
> How many such requests are you dispatching in parallel?
>
> Looks like you're hitting your systems resource limit. You can either
> increase this limit (using ulimit), or restrict the number of simultaneous
> outgoing requests (by doing it in batches).
>
> I don't see a bug here.
>
> HTH,
> -mandeep
>
>
>
> I have also checked the bugtracker and have found a few closed reports:
> https://bugreports.qt-project.org/browseMaybe you're running out of
> resouerce/QTBUG-20148<https://bugreports.qt-project.org/browse/QTBUG-20148>
> https://bugreports.qt-project.org/browse/QTBUG-20851
>
> _gs
>
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130828/c4448f14/attachment.html>


More information about the Interest mailing list