Edgewall Software
Modify

Opened 19 years ago

Closed 17 years ago

#1557 closed defect (worksforme)

Database "locked" when attaching large files

Reported by: Emmanuel Blot Owned by: Jonas Borgström
Priority: normal Milestone:
Component: wiki system Version: devel
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

When a large (1.5MB) file is attached to a Wiki page, the upload sometimes ends up with the following error:

Operational error: Database is locked

I attempt to upload the file against a tracd standalone server (being the only user, performing a single HTTP request at a time), and against Apache 2.0.53 + mod_python.

tracd dumps the following traces on std output while the file is being uploaded (or before any byte transfer ?)

0.0 10.0
0.039999961853 10.0
0.130000114441 10.0
0.301000118256 10.0
0.621000051498 10.0
1.26200008392 10.0
1.89299988747 10.0
2.53399991989 10.0
3.17499995232 10.0
3.81599998474 10.0
4.45700001717 10.0
5.09800004959 10.0
5.73900008202 10.0
6.3789999485 10.0
7.01999998093 10.0
7.66100001335 10.0
8.30200004578 10.0
8.9430000782 10.0
9.57400012016 10.0
10.2149999142 10.0

Attachments (0)

Change History (1)

comment:1 by Christian Boos, 17 years ago

Resolution: worksforme
Status: newclosed

The "database is locked" error should be much less frequent now.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström 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.