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.

আরও জানুন

parent.lock not closing

  • 9 উত্তরসমূহ
  • 1 এই সমস্যাটি আছে
  • 33 দেখুন
  • শেষ জবাব দ্বারা jscher2000 - Support Volunteer

more options

I am told that when FireFox closes it is supposed to delete a file called parent.lock in FireFox's Profile Folder. The parent.lock file does not delete when I close FireFox and consequentially it will not allow me to open a new instance of FireFox. If what I say is in fact true, what can I do to fix it? If what I say isn't the case, what can I do to make FireFox open a new instance of FireFox once I close it.

I sure hope I have explained this so it can be understood. When I close FF and then try to open it again, I get a dialog box saying FF is already open and has to close first. Not sure if those are the exact words but I was told that the parent.lock was to be deleted and that isn't happening. What can I do? Thanks.

I am told that when FireFox closes it is supposed to delete a file called parent.lock in FireFox's Profile Folder. The parent.lock file does not delete when I close FireFox and consequentially it will not allow me to open a new instance of FireFox. If what I say is in fact true, what can I do to fix it? If what I say isn't the case, what can I do to make FireFox open a new instance of FireFox once I close it. I sure hope I have explained this so it can be understood. When I close FF and then try to open it again, I get a dialog box saying FF is already open and has to close first. Not sure if those are the exact words but I was told that the parent.lock was to be deleted and that isn't happening. What can I do? Thanks.

All Replies (9)

more options

That is normal and expected behavior. The parent.lock (Windows) or .parentlock (Linux, Mac) file is no longer removed in order to detect startup failures (crashes) and offer to start in Safe mode.

Some reading here:

  • 726759 - Profile manager assumes Windows profile is locked if parent.lock exists

(please do not comment in bug reports
https://bugzilla.mozilla.org/page.cgi?id=etiquette.html
)

Helpful?

more options

Thank you for that information but let me ask another question. I am used to using FF to open a list of shortcuts on a daily basis. I have been opening them, reading the contents, closing that instance, and immediately opening the next shortcut. Now, I guess since parent.lock is no longer deleted, I very often get a dialog box saying something along the lines that FF is still open. I have to close that box before the next instance of FF will open one of my shortcuts. Is there any thing or any setting I can change for FF to operate as it used to other than waiting longer between trying to use it?

Helpful?

more options

I don't think there is a "standard" amount of time that Firefox needs for shutdown file maintenance, so you may need to experiment. If you wait 10 seconds, does the error go away? How about 8 seconds? Obviously it's annoying if this slows you down, so it would be helpful to look into what might have changed to make shutdown slower.

By the way, what format is your list of shortcuts in?

Helpful?

more options

Firefox tries set set a lock on the parent.lock file and if that fails because another instance still has a lock then Firefox will complain, so like posted above, you need to await a bit longer to start a new instance.

Helpful?

more options

jscher2000 - Support Volunteer said

I don't think there is a "standard" amount of time that Firefox needs for shutdown file maintenance, so you may need to experiment. If you wait 10 seconds, does the error go away? How about 8 seconds? Obviously it's annoying if this slows you down, so it would be helpful to look into what might have changed to make shutdown slower. By the way, what format is your list of shortcuts in?

My format are links to WEB sites like this one - https://www.gocomics.com/andycapp > I like to read the comics that are no longer in our local paper. I have always shut one down and immediately opened another. The only way I can do that now is to minimize the FF window instead of closing it and then opening my next link. I did time the amount of it that FF usually takes to shut down and it was around 10 seconds, which is way too long.

Thank you for your post.

Helpful?

more options

cor-el said

Firefox tries set set a lock on the parent.lock file and if that fails because another instance still has a lock then Firefox will complain, so like posted above, you need to await a bit longer to start a new instance.

I don't know what has changed in FF but I never had to wait any time at all before. So waiting for around 10 seconds now seems strange, not to mention ridiculous compared to how it used to work not long ago. Thank you for your reply.

Helpful?

more options

hlewton said

My format are links to WEB sites like this one - https://www.gocomics.com/andycapp > I like to read the comics that are no longer in our local paper. I have always shut one down and immediately opened another. The only way I can do that now is to minimize the FF window instead of closing it and then opening my next link. I did time the amount of it that FF usually takes to shut down and it was around 10 seconds, which is way too long.

Are the links saved in a list somewhere? I was just thinking you could use bookmarks for them, or a web page, instead of external links.

If the shutdown time is taking many more seconds than it did before, one possible reason is a change to how Firefox clears history at shutdown, if you set Firefox to clear history, cookies, or other data at shutdown.

Helpful?

more options

jscher2000 - Support Volunteer said

hlewton said

My format are links to WEB sites like this one - https://www.gocomics.com/andycapp > I like to read the comics that are no longer in our local paper. I have always shut one down and immediately opened another. The only way I can do that now is to minimize the FF window instead of closing it and then opening my next link. I did time the amount of it that FF usually takes to shut down and it was around 10 seconds, which is way too long.

Are the links saved in a list somewhere? I was just thinking you could use bookmarks for them, or a web page, instead of external links.

If the shutdown time is taking many more seconds than it did before, one possible reason is a change to how Firefox clears history at shutdown, if you set Firefox to clear history, cookies, or other data at shutdown.

I have quite a few links which I created as Desktop shortcuts and then put them all inside a Desktop folder. On a daily basis, I open that folder and one at a time I open each of the many links I have, read that comic strip, close and reopen another. I do have FF set to clear the history but I have a few exceptions so I don't have to reenter my credentials each time I visit that site. However, the sites for the comic strips are not among those exceptions.

I thought of using bookmarks, but that would be too many. So, I just don't shut FF now between opening each link. It's an extra step that I have never had to use before but it beats waiting for FF to close each time.

Not sure if this is the right forum to mention this, but I do not have this problem with Chrome. Problem is, I am not a fan of Chrome but in my case, it does work better.

Thanks for the reply

hlewton দ্বারা পরিমিত

Helpful?

more options

I don't know whether Firefox's profiling tools can diagnose why shutdown is taking longer, especially if you are just adding one site (along with its embedded resources, ads, etc.) to history/cookies/cache at a time. Maybe someone else will have an idea on how to track that down if you get tired of the workaround of keeping at least one Firefox tab open.

Helpful?

একটি প্রশ্ন জিজ্ঞাসা করুন

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.