gecko-dev/toolkit/xre
Jed Davis bfc90a5627 Bug 1401776 - Raise fd limit to 4096 on Unix. r=glandium,mcmanus
This is to accommodate non-networking fd usage (IPC transports, various
databases, .xpi files, etc.), so it's separate from Necko's existing
manipulation of the fd limit, which is tied into Necko's internal limits
on how many sockets it will try to poll at once.

Note that resource limits are inherited by child processes, so this needs
to be done only in the parent.

This patch also removes similar code used on Solaris and Mac OS X.  The
Mac case (bug 1036682) refers to fd use by graphics textures, which
shouldn't be consuming fds anymore (even transiently) as of bug 1161166.

MozReview-Commit-ID: 2uodrkW5sUn

--HG--
extra : rebase_source : 5306f4995000459b89bed048ecafba3c262bbbdf
2018-05-10 17:36:32 -06:00
..
test Bug 1457999: Part 1 - Move command line argument utils and safe mode checks into a common header file; r=jimm 2018-04-19 17:22:41 -06:00
AutoSQLiteLifetime.cpp
AutoSQLiteLifetime.h
Bootstrap.cpp Bug 1442255 - 7. Switch the order of fd arguments; r=jchen 2018-03-06 13:52:50 -05:00
Bootstrap.h Bug 1442255 - 7. Switch the order of fd arguments; r=jchen 2018-03-06 13:52:50 -05:00
CmdLineAndEnvUtils.h Bug 1460055 - Make strimatch static to fix error with GCC about exception handling mangling. r=aklotz 2018-05-09 09:35:03 +12:00
CreateAppData.cpp
EventTracer.cpp
EventTracer.h
MacApplicationDelegate.h
MacApplicationDelegate.mm
MacAutoreleasePool.h
MacAutoreleasePool.mm
MacLaunchHelper.h
MacLaunchHelper.mm
MozMeegoAppService.h
PolicyChecks.h Bug 1457999: Part 1 - Move command line argument utils and safe mode checks into a common header file; r=jimm 2018-04-19 17:22:41 -06:00
ProfileReset.cpp
ProfileReset.h
SafeMode.h Bug 1457999: Part 1 - Move command line argument utils and safe mode checks into a common header file; r=jimm 2018-04-19 17:22:41 -06:00
UIKitDirProvider.h
UIKitDirProvider.mm
WinDllServices.cpp
WinDllServices.h
glxtest.cpp
moz.build Bug 1457999: Part 1 - Move command line argument utils and safe mode checks into a common header file; r=jimm 2018-04-19 17:22:41 -06:00
nsAndroidStartup.cpp
nsAppRunner.cpp Bug 1401776 - Raise fd limit to 4096 on Unix. r=glandium,mcmanus 2018-05-10 17:36:32 -06:00
nsAppRunner.h Bug 1422087: Purge startup caches after an incomplete startup. r=Mossop 2018-03-05 15:19:07 -08:00
nsAppStartupNotifier.cpp
nsAppStartupNotifier.h
nsCommandLineServiceMac.cpp
nsCommandLineServiceMac.h
nsConsoleWriter.cpp Bug 1443080 - Use the static call for static methods (not instance) r=Ehsan 2018-03-16 14:29:15 +01:00
nsEmbedFunctions.cpp Bug 1443892 - Add -MOZ_LOG and -MOZ_LOG_FILE command line arguments. r=erahm, r=nfroyd 2018-04-03 11:32:00 -04:00
nsEmbeddingModule.cpp
nsGDKErrorHandler.cpp
nsGDKErrorHandler.h
nsIAppStartupNotifier.h
nsINativeAppSupport.idl
nsIWinAppHelper.idl
nsNativeAppSupportBase.cpp
nsNativeAppSupportBase.h
nsNativeAppSupportCocoa.mm
nsNativeAppSupportDefault.cpp
nsNativeAppSupportUnix.cpp Bug 1443892 - Add -MOZ_LOG and -MOZ_LOG_FILE command line arguments. r=erahm, r=nfroyd 2018-04-03 11:32:00 -04:00
nsNativeAppSupportWin.cpp
nsNativeAppSupportWin.h
nsSigHandlers.cpp Bug 1401776 - Raise fd limit to 4096 on Unix. r=glandium,mcmanus 2018-05-10 17:36:32 -06:00
nsSigHandlers.h
nsUpdateDriver.cpp Bug 1437167 - Part 1: Stop using PRIntervalTime as the argument to CondVar::Wait and Monitor::Wait, r=mstange, r=froydnj 2018-04-10 17:49:47 -04:00
nsUpdateDriver.h
nsWindowsRestart.cpp Bug 1457999: Part 1 - Move command line argument utils and safe mode checks into a common header file; r=jimm 2018-04-19 17:22:41 -06:00
nsWindowsWMain.cpp Bug 1454745: Skeletal bootstrap process; r=mhowell 2018-04-17 13:48:21 -06:00
nsX11ErrorHandler.cpp
nsX11ErrorHandler.h
nsXREDirProvider.cpp Bug 1372694: Part 2 - Remove support for registering non-bootstrapped extension chrome. r=aswan 2018-04-20 17:00:29 -07:00
nsXREDirProvider.h
platform.ini
updaterfileutils_osx.h
updaterfileutils_osx.mm