> > > 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