parent.lock not closing
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.
Wšě wotmołwy (9)
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)
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?
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?
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.
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.
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.
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.
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
Wot hlewton
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.