On Wed, Aug 28, 2013 at 5:45 PM, gsmember gs <gsmem...@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....@gmail.com > To: gsmem...@hotmail.de > CC: interest@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@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest > > >
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest