Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

#3954 closed defect (wontfix)

Can't Open file Text file busy

Reported by: kweigold@… Owned by: Christian Boos
Priority: high Milestone:
Component: version control/changeset view Version: 0.10
Severity: major Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christian Boos)

Every once in a while our trac will lock up when accesing a changeset. The following traceback is what we are seeing. Each time a change set is accessed a diffrent revision is listed as locked. After about a half an hour it will be usable again. This issue begin after upgrading to trac .10

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 356, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 224, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.4/site-packages/trac/versioncontrol/web_ui/changeset.py", line 255, in process_request
    diff_args, diff_options)
  File "/usr/lib/python2.4/site-packages/trac/versioncontrol/web_ui/changeset.py", line 501, in _render_html
    diffs = _content_changes(old_node, new_node)
  File "/usr/lib/python2.4/site-packages/trac/versioncontrol/web_ui/changeset.py", line 452, in _content_changes
    old_content = mview.to_unicode(old_content, old_node.content_type)
  File "/usr/lib/python2.4/site-packages/trac/versioncontrol/api.py", line 299, in <lambda>
    content_type = property(lambda x: x.get_content_type())
  File "/usr/lib/python2.4/site-packages/trac/versioncontrol/svn_fs.py", line 614, in get_content_type
    return self._get_prop(core.SVN_PROP_MIME_TYPE)
  File "/usr/lib/python2.4/site-packages/trac/versioncontrol/svn_fs.py", line 622, in _get_prop
    return fs.node_prop(self.root, self._scoped_svn_path, name, self.pool())
  File "/usr/lib/python2.4/site-packages/libsvn/fs.py", line 380, in svn_fs_node_prop
    return apply(_fs.svn_fs_node_prop, args)
SubversionException: ("Can't open file '/mnt/svn/repo/db/revs/37158': Text file busy", 26)

Attachments (0)

Change History (4)

comment:1 by Christian Boos, 18 years ago

Description: modified (diff)
Keywords: needinfo added

Is the '/mnt/svn/repo/db/revs/37158' mounted over NFS?

And what is the backend used by your repository, bdb or fsfs?

in reply to:  1 comment:2 by anonymous, 18 years ago

Replying to cboos:

No… it's using CIFS (aka SMB).

The back end is using fsfs.

comment:3 by kweigold@…, 18 years ago

I was looking around in the code when this was discovered. I was thinking that it had something to do with the new ability to diff branches and diffrent revisions.

comment:4 by Christian Boos, 18 years ago

Keywords: needinfo removed
Resolution: wontfix
Status: newclosed

Well, in http://subversion.tigris.org/faq.html#nfs, there's a mention of a locking problem that happened in a working copy accessed through Samba, so this kind of things can happen.

I don't think there's anything special to do in Trac here, the code is simply trying to access a file that should have been properly locked and apparently is not, due to the deficiencies of the underlying shared filesystem.

You try to setup a mirror using svnsync.

I'm setting this as wontfix, as besides providing support for remote repositories (see #493), I don't see what we could do.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christian Boos to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.