[Qt-interest] Too many files open error on Mac OS
Thiago Macieira
thiago at kde.org
Wed Sep 29 08:34:26 CEST 2010
On Wednesday 29. September 2010 07.42.57 Serge wrote:
> Can program itself increase number of files, it can open, without need
> to reboot?
The call is setrlimit(2). But to increase the limits, you need to run as root.
So install a setuid root helper binary that increases the limit and then
exec's the proper Qt binary.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Senior Product Manager - Nokia, Qt Development Frameworks
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100929/1bee67e4/attachment.bin
More information about the Qt-interest-old
mailing list