MozillaZine

Talk:Profile in use

From MozillaZine Knowledge Base

Contents

Question: prevent parent.lock creation

How do i prevent parent.lock creation ? When the profile is stored on a network drive and the connection is suddenly lost, the profile manager shows up.

It happens too often when you've got >300 network users !

Thank you for your answer...

the help desk !

Asqueella 12:49, 17 Aug 2004 (PDT): The talk pages are used for discussing the page content, not for asking questions. Ask questions at forums. Regarding your question, do you have 300+ people using the same profile simultaneously?. You shouldn't. Instead you should (IMO) make a local copy of profile on startup. Or just delete the parent.lock on startup (but you must be sure nobody else is using that profile).

Janvlug 00:23, 23 September 2005 (PDT) Firefox 1.5 creates a .parentlock file at my system using Linux, instead of a lock file as stated in the article. Furthermore, my experience is that Firefox 1.5 is unable to create a new profile on a fat partition mounted on a Linux system, only a .parentlock file is created. See also bug https://bugzilla.mozilla.org/show_bug.cgi?id=309645.

split this article for products and OSes?

I think this article is very long and confusing as much as to the point it might be...

For example for Firefox on Windows this page could read:

Exit Firefox. Type firefox -p to start > run. Select old profile.

That's it. Of course, you could add explanation why this happens (firefox's in memory) and maybe advice them to use task manager to kill the hung process the next time they see the profile manager dialog... The good things here is Firefox 1.5 handles this issue differently, hopefully rendering this entire article to a purely documentational technical piece of trivia... --FatJohn 06:40, 11 November 2005 (PST)

multiple lock file names on Linux?

The article states that on Linux a profile's lock file is called ".lock".

This is not true as the following strace log file shows:

# strace -f firefox -safe-mode  2>&1 | grep -C5 "mozilla/firefox"  
...
[pid  6972] open("/home/daniel/.mozilla/firefox/vza5cawk.mx-network with proxy/.parentlock", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 23
[pid  6972] fcntl64(23, F_GETLK, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0, pid=339}) = 0
[pid  6972] fcntl64(23, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = -1 EAGAIN (Resource temporarily unavailable)
[pid  6972] close(23)                   = 0
...

These commands are executed when Profile Manager is shown and I click "Start Firefox". Accessing ".parentlock" may have to do with backwards compatibility according to https://bugzilla.mozilla.org/show_bug.cgi?id=151188

Thusly I added ".parentlock" to the list of lock file names on Linux. -- Daniel29 12:59, 19 January 2006 (UTC)

Needs complete Text of error dialog

Picture is nice, but also needs complete Text of error dialog; otherwise, don't expect the page to be found in web searches such as Google. Unfortunately the wording is there but it is broken up with variations for Thunderbird and SeaMonkey.

Google search (1 hit in MozillaZine KB, misses the subject article of this page):
site:kb.mozillazine.org OR site:support.mozilla.com/kb -intitle:talk "Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system."
Google search (3 hits in MozillaZine KB, including the subject article of this page):
site:kb.mozillazine.org OR site:support.mozilla.com/kb -intitle:talk "is already running, but is not responding. To open a new window, you must first close the existing" Firefox "process, or restart your system."

Hopefully people will find this article from the [picture] (which is not found), or from the article Browser will not start up where the wording is NOT broken up. -- DMcRitchie 16:17, 27 January 2009 (UTC)

I edited this article to include the complete text of the Firefox error dialog. Alice 01:16, 28 January 2009 (UTC)
In Firefox 3 (at least on my computer) you can click on such dialog pop-ups and press Ctrl+A and Ctrl+C to copy the text to the clipboard. That makes it easier: Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system. Dickvl 01:44, 28 January 2009 (UTC)
Thanks for the tip. It also works with Firefox 2 and supposedly with other "third-party" software on Windows. Ctrl+C alone is supposed to work for dialog boxes generated by Windows. (ref). Alice 00:51, 29 January 2009 (UTC)
Nicely done Alice. Thanks for the tip Dickvl. I've pack ratted it on a (non Firefox) page for others, but I use SnagIT. Sometimes in Window you have to (or had to) use Ctrl+Alt+C to copy. Two examples of Firefox dialogs: Help, About allows you to just copy information you need to copy. Help, Update with nothing found doesn't allow you to copy anything. -- DMcRitchie 23:58, 29 January 2009 (UTC)