[SLE] Netscape lock files.
Hello all, I have never really looked at where the lock file in the netscape directory points, but I have been having really bad Netscape crashes this morning and I saw this and was wondering if it is normal or did something get screwed up to cause it to point somewhere it shouldn't. If it's normal for this file to point here, then it's just Netscape being it's usual crappy self. Although, I haven't had any trouble with it until I went to the 2.2.14 kernel and the nVidia xserver. My display is 1152X968 16 bit colour. lrwxrwxrwx 1 ben users 14 Jan 21 11:52 lock -> 10.10.0.1:7008 Thanks for any opinions, -- Ben Rosenberg mailto:ben@whack.org -------------------- "Success is how high you bounce when you hit bottom" --Gen. George Patton -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Ben Rosenberg wrote:
Hello all,
I have never really looked at where the lock file in the netscape directory points, but I have been having really bad Netscape crashes this morning and I saw this and was wondering if it is normal or did something get screwed up to cause it to point somewhere it shouldn't. If it's normal for this file to point here, then it's just Netscape being it's usual crappy self. Although, I haven't had any trouble with it until I went to the 2.2.14 kernel and the nVidia xserver.
My display is 1152X968 16 bit colour.
lrwxrwxrwx 1 ben users 14 Jan 21 11:52 lock -> 10.10.0.1:7008
I don't know about the port number but the IP I'm guessing is your local IP. No? My lock file points to something similar but on a different port. Okay I take it back. It looks like: IP#:process number. I bet netscape is process 7008 on your machine. 10.10.0.1 is your local IP. Nick -- -------------------------------------------------- Nick Zentena "Microsoft has unjustifiably jeopardized the stability and security of the operating system." U.S. District Judge Thomas Penfield Jackson Nov 5/1999 -------------------------------------------------- -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
On Fri, 21 Jan 2000, Ben Rosenberg wrote: [snip]
I have never really looked at where the lock file in the netscape directory points, but I have been having really bad Netscape crashes this morning and I saw this and was wondering if it is normal or did something get screwed up to cause it to point somewhere it shouldn't. If it's normal for this file to point here, then it's just Netscape being it's usual crappy self. Although, I haven't had any trouble with it until I went to the 2.2.14 kernel and the nVidia xserver.
My display is 1152X968 16 bit colour.
lrwxrwxrwx 1 ben users 14 Jan 21 11:52 lock -> 10.10.0.1:7008 [snip]
It looks to me like it's your IP address and the process ID of netscape, probably a cheap way of creating a lock file without actually writing any data--the directory entry says it all. Here's mine: lock -> 10.64.6.51:5406 and 'ps auwx' shows: jcunning 5406 0.4 35.2 38724 22200 ? R Jan 20 7:51 /opt/netscape/netscape Jim Cunning -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Jim Cunning wrote:
On Fri, 21 Jan 2000, Ben Rosenberg wrote:
[snip]
I have never really looked at where the lock file in the netscape directory points, but I have been having really bad Netscape crashes this morning and I saw this and was wondering if it is normal or did something get screwed up to cause it to point somewhere it shouldn't. If it's normal for this file to point here, then it's just Netscape being it's usual crappy self. Although, I haven't had any trouble with it until I went to the 2.2.14 kernel and the nVidia xserver.
My display is 1152X968 16 bit colour.
lrwxrwxrwx 1 ben users 14 Jan 21 11:52 lock -> 10.10.0.1:7008
[snip]
It looks to me like it's your IP address and the process ID of netscape, probably a cheap way of creating a lock file without actually writing any data--the directory entry says it all. Here's mine:
lock -> 10.64.6.51:5406
and 'ps auwx' shows:
jcunning 5406 0.4 35.2 38724 22200 ? R Jan 20 7:51 /opt/netscape/netscape
You are correct in guessing that it is a <ip address>:<pid> but the reason for doing it isn't to save space, a symbolic link is a file containing the exact text of the link. The reason is that creation of the symbolic link is an atomic process that returns an error if the file exists, using a file would require some complications that don't always work well, especially with NFS mounted file systems. /Michael -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Michael Salmon wrote:
Jim Cunning wrote:
On Fri, 21 Jan 2000, Ben Rosenberg wrote:
[snip]
I have never really looked at where the lock file in the netscape directory points, but I have been having really bad Netscape crashes this morning and I saw this and was wondering if it is normal or did something get screwed up to cause it to point somewhere it shouldn't. If it's normal for this file to point here, then it's just Netscape being it's usual crappy self. Although, I haven't had any trouble with it until I went to the 2.2.14 kernel and the nVidia xserver.
My display is 1152X968 16 bit colour.
lrwxrwxrwx 1 ben users 14 Jan 21 11:52 lock -> 10.10.0.1:7008
[snip]
It looks to me like it's your IP address and the process ID of netscape, probably a cheap way of creating a lock file without actually writing any data--the directory entry says it all. Here's mine:
lock -> 10.64.6.51:5406
and 'ps auwx' shows:
jcunning 5406 0.4 35.2 38724 22200 ? R Jan 20 7:51 /opt/netscape/netscape
You are correct in guessing that it is a <ip address>:<pid> but the reason for doing it isn't to save space, a symbolic link is a file containing the exact text of the link. The reason is that creation of the symbolic link is an atomic process that returns an error if the file exists, using a file would require some complications that don't always work well, especially with NFS mounted file systems.
/Michael
Interesting! Mine points to 127.0.0.2:18557, which is assigned to my Hostname. -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (5)
-
ben@whack.org
-
jcunning@cts.com
-
JerryKreps@alltel.net
-
Michael.Salmon@uab.ericsson.se
-
zentena@hophead.dyndns.org