Re: Cd to nonexistent directory in /proc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2011-06-17 at 19:46 -0430, Patrick O'Callaghan wrote:
> On Fri, 2011-06-17 at 15:03 -0700, Jonathan Ryshpan wrote:
> > Investigating a hanging instance of googleearth (wich process number
> > 3110), I noticed that it's possible to 
> > 	cd /proc/3110
> > while on the other hand
> > 	ls /proc
> > does not show 3110 as being in the proc directory.
> > 
> > Any ideas what's going on?

> I can't imagine how that could happen, unless the directory entry
> disappeared between you doing the cd and the ls, perhaps because the
> process terminated. OTOH is you can reproduce this reliably, it could
> merit a Bugzilla report.

There's been a suggestion of a race condition.  Possibly, but if so it
was a very slow race.  The condition persisted over (I'd say) at least
10 minutes, during which time I did a number of "cd"s and "ls"s,
repeatedly getting the results reported above.  Unfortunately by now,
it's no longer possible to "cd /proc/3110" on the system.

If the condition ever repeats, I'll report further.  I was prompted to
look by the existence of
	/home/jonrysh/.googleearth/instance-running-lock
	(which is supposed to be a symbolic link to /proc/<googleearth-process>)
at a time when googleearth was not running.  Others may want to
investigate when this happens, which it does for me every month or so.

jon

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux