dom.ipc.processCount: how many content processes Firefox uses

Martin Brinkmann
Updated •
Firefox

The preference dom.ipc.processCount sets how many shared web content processes Firefox runs. Mozilla's process model documentation lists a default of 8 for the shared "web" type. Sites in their own isolated processes are governed by dom.ipc.processCount.webIsolated, one process per site. Change the value in about:config and restart Firefox.

This guide also covers multi-process Firefox (Electrolysis, e10s) itself: how to check it, what the old switches did, and what changed with Fission.

What dom.ipc.processCount controls

dom.ipc.processCount is the number of shared web content processes that Firefox starts for ordinary pages, and the documented default is 8. It is one entry in a family of process-count preferences, each tied to a process type.

Process type Default Preference
Shared web content 8 dom.ipc.processCount
Isolated web content (per site, Fission) 1 per site dom.ipc.processCount.webIsolated
Extensions 1 dom.ipc.processCount.extension
Local files 1 dom.ipc.processCount.file
Preallocated 3 dom.ipc.processPrelaunch.fission.number

Source: Mozilla's Firefox source documentation (process model). The isolated type is used only with Fission, Firefox's site isolation. Without Fission, most web content goes to the shared process pool.

Find out if multi-process Firefox is enabled

Multi-process Firefox is on for practically every user today. To confirm, load about:support and read "Multiprocess Windows" under Application Basics: it should read enabled and gives a direct answer about the state of the feature.

Firefox about:support page showing Multiprocess Windows under Application Basics

To see the processes themselves, open about:processes, Firefox's built-in task manager, which lists the parent, content and extension processes. In a system process manager you will see several firefox.exe processes on Windows, which shows that Electrolysis is active.

Several firefox.exe processes in the Windows Task Manager

Change the number of content processes

You change the number of shared content processes in about:config by editing dom.ipc.processCount. A higher value spreads tabs over more processes (more isolation, more RAM); a lower value saves memory.

  1. Type about:config in the address bar and hit enter, then accept the warning.
  2. Search for dom.ipc.processCount.
  3. Double-click the value and enter the number of content processes you want.
  4. Restart Firefox so the new limit applies.

dom.ipc.processCount preference in Firefox about:config

Note that the default is a documented value for current Firefox, not a fixed rule: Mozilla has changed it over the years. In 2016, when multi-process Firefox started rolling out, it used one content process, and Mozilla planned four for Firefox 54. Check the value in your own about:config, and read how to change how many processes Firefox uses for the original walkthrough. If memory use is your concern, use about:processes to find heavy tabs first.

History: how Electrolysis was enabled

Multi-process Firefox, also called Electrolysis or e10s, moves web content, media playback and plugins into child processes away from the browser's core, which improves stability, performance and security. Mozilla rolled it out to a subset of Stable users from Firefox 48 (August 2016), after years of development and delays.

The path to that release was long. Mozilla began work on a multi-process architecture in 2009, shelved it, and revived it in 2013. It became a development priority in May 2014, was enabled by default in Firefox Nightly in November 2014, and the stable release slipped from 2015 to Firefox 45 and then Firefox 46 because of open bugs and add-on incompatibility. In December 2015, Mozilla ran an A/B test on about 15% of Beta users, with Electrolysis enabled for half of them, to measure crashes, hangs and performance before a wider rollout.

During the rollout you could check add-on compatibility on the Are We e10S Yet site, or test with a second profile, then switch the feature on or off with browser.tabs.remote.autostart in about:config.

browser.tabs.remote.autostart preference in about:config (no effect from Firefox 68)

From Firefox 68 onward, setting browser.tabs.remote.autostart to false has no effect: Firefox sets it to true regardless, and the browser.tabs.remote.force-enable preference is gone too. Back then, some add-ons or accessibility tools could keep multi-process disabled, and about:support listed the reason.

Are We e10S Yet add-on compatibility list from 2016

about:support in 2016 showing multiprocess disabled by add-ons

about:support in 2016 showing multiprocess disabled by accessibility tools

The three screenshots above are from the 2016 rollout. At the time Mozilla confirmed that Firefox with Electrolysis would use about 20% more RAM, and it later added sandboxing, based on the Chromium sandbox on Windows, which improved security.

Now You: Do you tune Firefox's process count, or leave it on the default?

Related: Firefox hardware acceleration, Firefox command line options

Comments

  1. Bill Mayhew said on
    Reply

    Correcting my previous comment: E10S is designed for multi-core machines. For the rest of us (single-core) it offers NO advantages. Is that fair and accurate?

  2. Addonis said on
    Reply

    This must be way out of date by now, surely?
    If so, why is it still here?

  3. Bill Mayhew (10-YEAR Firefox fan) said on
    Reply

    My conclusion is that E10S … and, therefore, ALL recent Firefox releases … ONLY work well on multi-core machines. Those of us with single-cores are simply screwed.

  4. mpbel said on
    Reply

    We are on Vista Home Premium and have the BCLTMP file with chrome.jar.unp, [email protected], default-1505577224168 [email protected], [email protected], and [email protected]. Do we need it and can we uninstall or delete any or all of it? I just hate crashing all the time Thanks.

  5. bellfuer said on
    Reply

    I no longer trust firefox. Now I trust Iridium, a sanitized chromium.

  6. Gee said on
    Reply

    last good and fast version is 28 and 29++++ sux and you shall see it if you opening lot of windows and tabs

    my normal work environment is 5-20 windows with more than 1500 tabs in total and I can open it via session manager at once both on my 9 years-old sony laptop and latest 2*Xeon workstation with 192Gb RAM ! And i have about 150 extensions installed and over 50 all-time active. All work flawlessly!

    I tried to work with latest versions of FF with this configuration and failed

    And I’ve fount another FF based browser Palemoon is ever faster! LIGHNING FASTER. Not all extension will work (cant work without Treestyletab) but you may find substitutions. the main is best plugins and extensions will work if you find the right version of each. normally i use the same profile for 26-28 ff and Palemoon and i think i move to Palemood as it is 64bit and VERY FAST even heavy laded with tabs and extensions

    who need raw multitasking when it is unworkable?

  7. Mihaly Mezei said on
    Reply

    I have Windows 7 Home Premium Service Pack 1 on a Dell notebook XPS L702X I followed the procedure to turn on multiprocessing. It indeed started just one process, instead of three. However, when I tried to open my mail (Outlook Web) it brought up the login panel but failed to connect to the server after I entered my username/password. I had no no problem reaching other web sites like cnn.com or nytimes.com. After I reversed the change all is working again but it starts with the three process.

  8. pHROZEN gHOST said on
    Reply

    The link provided … https://arewee10syet.com/ … crashes Firefox 54.

  9. David said on
    Reply

    While this is an old article I was recently directed to it re a problem I’m having with the multi-task feature, so I’m adding a comment in case anyone else finds this page via google or is referred to it. On a few machines the multi-task feature causes all tabs in FF to crash as soon as they load (even booting FF with a blank tab in safe mode!), giving the message “Gah, your tab just crashed!” Reinstalling and/or creating a new profile (with no addons) makes no difference. If you get the mysterious Gah error you need to turn multi-tasking off by making sure both “browser.tabs.remote.autostart” and “browser.tabs.remote.autostart.2” are set to false, as mentioned above. Restart FF and problem fixed (or at least bypassed until a future update resets the settings).

    1. J said on
      Reply

      Dude you’re my hero, turning off “browser.tabs.remote.autostart” fixed my crashing completely. Thank you!

    2. thehdoooz said on
      Reply

      I have the same problem.

    3. TDHofstetter said on
      Reply

      That’s a biter! It’s also well worthy of a BugZilla report. I filed one for the multiprocess override problem I’ve been having (can’t turn off multiprocess), and at least for now my issue seems to have abated per some sneaky FF update. I still monitor it with the “FireFox Second-Proccess Jäger” application I wrote, which kills any FF child process.

  10. Dada said on
    Reply

    Any sign of a modern 64 bit Firefox yet?

    1. TDHofstetter said on
      Reply

      It’d be nice just to get a bug-free 32-bit version… 8)

  11. TDHofstetter said on
    Reply

    It still stinks. FF 50.1.0 still sneaks around and experiments with multiprocess, and every time it does, my machine becomes unstable – FF’s main process’s CPU usage goes up to 99% and sticks there, and (the visible) FF becomes totally unresponsive until I kill the second process. It just happened to me moments ago, with browser.tabs.remote.autostart set to false, and with about:support showing Multiprocess Windows 0/1 (Disabled). The second FF process (the disruptive one) is definitely a child of the main FF process, according to ProcessExplorer; it’s not a virus or an MBAM masquerade.

    1. wysinwyg said on
      Reply

      “The devel team needs to know that SOME of us DO NOT WANT multiprocess.”

      Firefox has by far the worst security of any major browser besides IE and e10s multiprocess is a completely necessary part of upgrading the infrastructure to give FF modern security features.

      1. TDHofstetter said on
        Reply

        Because of a design quirk? Other browsers seem to do fine without going multiprocess. I’m not sure I can think of any inherent monoprocess security issues.

    2. TDHofstetter said on
      Reply

      Here we go – moments ago: http://i66.tinypic.com/2vi5pxy.jpg

    3. odin57 said on
      Reply

      @TDHofstetter it looks like an Add-on is creating this problem. You can check here “http://arewee10syet.com/” for compatibilty of Add-ons. Also check whether hardware acceleration is enabled or not.

      1. TDHofstetter said on
        Reply

        It’s likely to be difficult to reproduce – in my case, it only happens once every day or so, and since I work remote as a software engineer, I have my browser lit up for about sixteen hours a day. It was happening constantly when I stepped to 50.1.0, so I disabled multiprocess… and since I did that, it only happens occasionally. It’s infuriating when it happens – I’m nearly to the point of writing a little app that just watches for a second Firefox process and kills it automatically.

        The devel team needs to know that SOME of us DO NOT WANT multiprocess. That’s one of the reasons I don’t use Chrome as my go-to browser instead of FireFox. Safari has other big issues, and I just don’t like Opera very much. IE? Ya, right. 8)

      2. odin57 said on
        Reply

        @TDHofstetter I seems i can’t reproduce this behavior of FF, maybe it is a bug specific to your hardware/0S. I my case when “browser.tabs.remote.autostart” is set to false, and with about:support showing Multiprocess Windows 0/1 (Disabled), there is only single FF process (with 8 tabs open). May be in your case a separate process is running for plugins(FF plugin container) eg. flash just like in previous versions of FF(without multi-process support)

      3. TDHofstetter said on
        Reply

        Good try, but I only have one add-on enabled: the Cisco OpenH264 Video Codec.

        At any rate, when I’ve set my FireFox to disable multiprocess, it SHOULD NOT ATTEMPT multiprocess!

  12. Mishell said on
    Reply

    Mr. Brinkmann, I am so out of my league here. I Googled ‘what is firefox multi process’ and clicked on your page’s link because it said ‘Everything You Need To Know…’. I’ve read all the comments and replies on this particular page and I’m more confused than ever!

    I do have multi-process stage rollout (1.3) – is there any way you would be willing to explain what this is to me in total laymans’ terms or maybe provide a link that would answer my question in the most basic of terms?

    Thank you in advance.

    1. Martin Brinkmann said on
      Reply

      Mishell, well it is rather technical. Think of it as this way. Firefox without multi-process bundles all sites, the browser interface, plugins, and everything else in a single process. If one part of it crashes, slows down or behaves in a problematic way, it impacts all of the browser.

      With multi-process, Firefox separates itself (the UI and core) from websites. This means that a crashing site has no impact on Firefox’s stability anymore as a whole.

      1. Mishell said on
        Reply

        Thank you Mr. Brinkmann. It’s been so long since I asked the question I don’t remember why I asked it anymore. lol I do understand your explanation to me, but as I’m reading others’ questions and remarks I may as well be reading a foreign language.

        In the most basic of terms, is there anything that I need to do, if so what, and layman’s instructions would be most appreciated.

        P.S. I am running Windows 7

  13. francisco said on
    Reply

    Also not working for me
    I double clik on browser.tabs.remote.autostart
    then I have “disabled by addons) message
    then i create boolean browser.tabs.remote.force-enable
    and although about:support says “enabled by user”
    process explorer shows 1 single process no matter how many tabs i have open.
    I checked Are We e10S Yet but many of my addons are not listed and some of the most popular like Noscritp and flashgot have “unknown” tag…

  14. Geno_Pizzaria said on
    Reply

    “When Multiprocess Windows is enabled”
    How do you know that any of those services/firefox aren’t spyware, tracking telemetry, or hooked up to your libraries file?
    After all the developers did enable Linux so did Windows 10?

    Inquiring minds want to know.

  15. XenoSilvano said on
    Reply

    I switch the e10 function on around 30 minutes ago and I am really liking the affects, I certainly consider it a welcome improvement so far, things seem a lot snappier as I have been browsing around, the browser that I am using is actually using around 50% less ram than it was before I switched the function on, I will assume that this has to do with the incompatibility of some of the add-ons that I have integrated into the browser, I am liking the affects so much that I am going to go ahead and just leave electrolysis on for now, I would rather keep it on and deal with the shortcomings than wait until the end of the year when this function is scheduled to be made fully available.

    1. XenoSilvano said on
      Reply

      it would appear that the other 50% went to the new Plugin Container for Firefox process

  16. Nik said on
    Reply

    Any easy way to find out which addon disabled multiprocess or I have to check by disabling addons one by one?

  17. kalmly said on
    Reply

    Right now, FF is using 400k with a mere 8 extensions running and 19 tabs open. I surely do not want it to use any more. Thanks for telling us how to turn Multi-processing off.

    1. Martin Brinkmann said on
      Reply

      400K would be really good ;)

  18. S3ndG said on
    Reply

    I have forced the multiprocess in Firefox 47.0.1 64 bit and if I open Windows Task Manager (win 8.1) I don’t see several “firefox.exe” like on your screenshot… Is that normal?
    (In about:support multiprocess is enabled.)

    1. Martin Brinkmann said on
      Reply

      That’s strange. I tested it again using a new profile. First restart, I got only one firefox.exe process, then on the second restart, multiple processes started to be used. Do you see plugin-container processes?

      1. S3ndG said on
        Reply

        Yes I see many plugin-container processes if I open several tabs.

      2. Martin Brinkmann said on
        Reply

        As far as I understand it, and I have not done a lot of research into the matter, you should get one firefox.exe process, and one plugin-container.exe process, plus one additional plugin-container.exe process for each plugin that is active.

        I don’t really know why I sometimes get lots of firefox.exe processes, maybe this is a change that is tested already.

        Maybe someone else with deeper knowledge could lift the confusion.

  19. Lefteris said on
    Reply

    Some add-ons are incompatible so I forced the multi-process feature and it says enabled in about:support but instead of multi firefox.exe processes I got multi plugin-container.exe. Any ideas why this is happening?
    It runs far better, its using more ram/cpu but with 16gb it’s fine for me.

    1. Martin Brinkmann said on
      Reply

      Plugin container is used to separate plugins from other browser processes. See: https://www.ghacks.net/2011/10/27/why-are-2-plugin-container-exe-processes-running/

  20. Dresandreal Sprinklehorn said on
    Reply

    Working great in Firefox 48b9 64-bit. But it keeps switching between 1/1 and 2/2 on the about:support page.

  21. sartic said on
    Reply

    not working for me on win32/64 47.0.1

    1. Martin Brinkmann said on
      Reply

      What is not working?

      1. sartic said on
        Reply

        i get enabled by user with disabled addons but there is only one process in task manager.

  22. ams said on
    Reply

    “…create a secondary profile in Firefox, copy all extensions of the first profile to it…”

    would be safer to freshly (re)install any desired addons into each newly created profile. Some extensions store configuration and settings in files pathed to subdirectories under the profile, and reference hardcoded strings which point to the expected path. Problematic scenario occurs when an extension that has been copied to profile2 winds up reading/writing to the datafiles present in profile1 subfolders

  23. Kin said on
    Reply

    Ugh, just read this: ” The organization plans to bring sandboxing to Firefox which, on Windows, is based on the Chromium sandbox that Google uses in Chrome. ”

    Rant: Does anyone knows on what exactly the Moz foundation is wasting their millions of money on? Not innovation for sure. Looks to me all their devs do is copy/paste code from chromium now, years after it first appeared in Chrome though. They even created the WebEntension API to be able to be 100% compatible with chrome extensions so they could copy more easily!!! So is this the norm now? That if a feature doesn’t make it in chromium first, FF won’t ever develop it either? Infuriating really.

    It does reflect what a dev once wrote in a bug I opened about supporting the U2F protocol in Firefox: That they “might” do it if someone would find the time to analyse how it was done in chrome. Ugh, whatever happened to reading a standard spec and writing the code for it!!!!!

    1. Guest703 said on
      Reply

      @Kin – e10s is the best thing to ever happen to Firefox imo. It has transformed it from a slow, bloated beast into a lightning fast modern web browser. The difference is similar to when I upgraded from a HDD to an SSD.

  24. Yuliya said on
    Reply

    All my extensions work with e10s ^^ I ditched Screengrab because the functiopnality is available in Firefox natively and today asked me to allow some ad..? o.O Nothankyou
    imgur com/QWTDbs6
    I don’t use uMatrix, but I said to try if it’s compatible (ofcourse it is..)

  25. Kin said on
    Reply

    Actually,I think the easiest way to find out whether multi-process Firefox is enabled is ti simply over the mouse cursor over a tab to make it’s title popup, if it says “e10s” at the end, it’s enabled.

    As for the website Arewee10syet.com, that one is now mostly broken and useless as many add-ons now have “Error fetching data from AMO” as a title.
    As an example, I know that Privacy Badger was listed in an earlier version of the page, but now I cannot find it and I highly suspect it is one of the “Error fetching data from AMO” entry

    Edit: For those wondering, Privacy Badger doesn’t work yet with e10s.

    1. 1 said on
      Reply

      I think you are wrong. The support page, and taskmanager both clearly show I have e10s enabled, but hovering over a tab does not say “e10s” in the popup.

    2. 1 said on
      Reply

      That doesn’t seem to work? Maybe that works in Nightly?

      1. Kin said on
        Reply

        If no e10s shows, it means it’s not activated. Worked for me in FF 48 and 49 Dev edition.

  26. Khidreal said on
    Reply

    Aren’t multiprocess browsers more ram demanding? I mean, I am using Vivaldi, and right now with 4 tabs it’s consuming around 300-350ram… while multiprocess browsers open a process for each tab and extension, single process browsers just add some more ram usage…

    1. vosie said on
      Reply

      For Firefox, you can define how many processes it uses with this setting:

      dom.ipc.processCount

      I recommend to set it between 2 and 10 .

      You can’t do this in any other browser. Only Firefox has a setting to change the amount of processes. It’s another Firefox-exclusive feature.

  27. jasray said on
    Reply

    Hmmm . . . then what is the Servo project that Mozilla is working on? A completely different browser engine that will eventually be enabled for Windows since it’s only a Linux alpha build at this time?

    https://servo.org/

    https://www.phoronix.com/scan.php?page=news_item&px=MTgzNDA

    https://aur.archlinux.org/packages/servo-latest/

    https://www.maketecheasier.com/firefox-web-rendering-engine-servo-linux/

    1. Martin Brinkmann said on
      Reply

      Actually, Windows Nightly versions are now available: https://github.com/servo/servo/issues/12125#issuecomment-232152174

      1. Anonymous said on
        Reply

        @jasray,
        The main advantage for me is that a rogue javascript won’t freeze the whole browser, just the tab that’s running the JS.

      2. Mark said on
        Reply

        The main appeal I see for multiprocessing is that Firefox can then finally use multiple cores of my computer’s processor; if I have a page that takes a long time to load (such as my Netflix disc queue–it is over 400 titles long), without multiprocessing I can do nothing else in Firefox until it finishes loading. But if each tab had its own process, the queue could be loading and I could be doing something else in another tab that would be using a different core of the processor.

        So, yes, Firefox would end up taking more memory, and using more CPU cycles, but the use of multiple processes to be able to use multiple cores improves response time–as long as the computer isn’t memory-starved.

        Right now I am using Chrome, which indeed has a process per tab, plus a process for the interface, plus a process per add-on (for sandboxing), and launching and loading multiple tabs in Chrome is far faster than launching and loading multiple tabs in Firefox.

        I will be glad when Firefox and the add-ons I use catch up!

      3. neal said on
        Reply

        e10 also eliminates a lot of jank that has been with Firefox for as long as I remember. If you have a SSD then it won’t be noticeable most of the time. Any thing slower like a hard drive or those slow drives in those Windows tablets then it is pretty noticeable.

      4. jasray said on
        Reply

        I am really wondering what is the point of using a multiprocess browser if it’s the engine that needs the tuning and tweaking. If a multiprocess browser uses more RAM/CPU, the goal of lean and efficient browsing is defeated. If, however, a new engine provides more speed for less RAM and CPU usage, then users may want to try Servo on Linux–no Windows yet–and Mozilla may want to forge ahead with a project that is truly a genuine change.

      5. Martin Brinkmann said on
        Reply

        The main appeal of multi-process if you ask me is the security aspect. Firefox is super stable on my system, and I hope that the introduction of multi-process functionality won’t change that for the worse.

Leave a Reply

By commenting, you accept our privacy policy and keep the discussion respectful and on topic.