Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

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

  • 3 réponses
  • 1 a ce problème
  • 4 vues
  • Dernière réponse par 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.

Toutes les réponses (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.

Modifié le par 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.