Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

What is firefox's cookie limit and how does it handle corrupt cookies store

  • 3 ردود
  • 1 has this problem
  • 1 view
  • آخر ردّ كتبه cor-el

more options

I've been digging into an issue about the "A web page is slowing down your browser," and it seems that the most frequent explanation for this is corrupt cookies/cache. However, the issue wasn't repeatable on my site. After some digging, I found that its possible for a corrupt `cookies.sqlite` if the max file size has been reached and a suggestion that FF automatically resets this `cookies.sqlite` store when this happens.

I suspect that this issue happened when the user maxed out their cookies, causing a corrupt `cookies.sqlite` file. Then, when they restarted FF, their store had been cleared and they had no problems.

However, I cannot find any documentation about FF behavior when in handling corrupt cookies or resetting the `cookies.sqlite` file. I'm looking for some concrete answers. What is FF's cookie store limit, and what is its behavior (if any) when the store is maxed?

Worth mentioning, this was FF on Linux. I don't know the specs beyond that.

I've been digging into an issue about the "A web page is slowing down your browser," and it seems that the most frequent explanation for this is corrupt cookies/cache. However, the issue wasn't repeatable on my site. After some digging, I found that its possible for a corrupt `cookies.sqlite` if the max file size has been reached and a suggestion that FF automatically resets this `cookies.sqlite` store when this happens. I suspect that this issue happened when the user maxed out their cookies, causing a corrupt `cookies.sqlite` file. Then, when they restarted FF, their store had been cleared and they had no problems. However, I cannot find any documentation about FF behavior when in handling corrupt cookies or resetting the `cookies.sqlite` file. I'm looking for some concrete answers. What is FF's cookie store limit, and what is its behavior (if any) when the store is maxed? Worth mentioning, this was FF on Linux. I don't know the specs beyond that.

All Replies (3)

more options

There is no maximum for the number of cookies. There is only a maximum for the size of an individual cookie. I don't think that corrupted cookies would cause a website to run slow, you normally get an error that the request is too large and the server isn't able to handle it.

If cookies are corrupted then you need to clear affected cookies for this domain yourself and if that doesn't work then you will have to remove all cookies.sqlite files with Firefox closed.

See also:

You can check the Firefox Task Manager (about:performance) and about:memory pages.

Modified by cor-el

more options

Thanks for these links. Unfortunately, they would only be helpful if the problem had happened to me (I'm investigating an incident), though they do seem to indicate what I've suspected all along: its a client-side issue that we can't really control.

However, your mention that corrupt cookies or cache won't cause a slow down is contrary to a response from a year and a half ago: [https://support.mozilla.org/en-US/que.../1241649]. Has something changed?

Lastly, is there any behavior in FF that automatically manages cookies or cache (your previous answer suggests no)?

more options

^: in that thread to user solved the problem by enabling Tracking Protection to prevent third-party from loading 'ad' content. The advice regarding cookies didn't help and such advice (clearing cache and cookies for affected websites and checking installed extensions) is usually given as a first thing to try in issues with websites to make sure that it isn't caused by corrupted data.