0
|
1 .. _troubleshooting:
|
|
2
|
|
3 Troubleshooting
|
|
4 ===============
|
|
5
|
16
|
6 As a general rule, when you encounter an issue, always make sure that
|
|
7 you use the `most recent version
|
|
8 <http://www.orthanc-server.com/download.php>`__ of Orthanc.
|
|
9
|
|
10 Also make a search on the `Orthanc Users discussion group
|
|
11 <https://groups.google.com/forum/#!forum/orthanc-users>`__, and make a
|
|
12 search in the present Orthanc Book (there is a search field at the top
|
|
13 of this page). Your issue might indeed have already been discussed in
|
|
14 the past or in the FAQ.
|
|
15
|
|
16
|
|
17 Orthanc Explorer
|
|
18 ----------------
|
|
19
|
0
|
20 * **I cannot login to Orthanc Explorer**: For security reasons, access
|
|
21 to Orthanc from remote hosts is disabled by default. Only the
|
|
22 localhost is allowed to access Orthanc. You have to set the
|
|
23 ``RemoteAccessAllowed`` option in the :ref:`configuration file
|
|
24 <configuration>` to ``true``. It is then strongly advised to set
|
|
25 ``AuthenticationEnabled`` to ``true`` and to add a user to the
|
|
26 ``RegisteredUsers`` option, also in the configuration file.
|
16
|
27
|
|
28
|
|
29 Performance issues
|
|
30 ------------------
|
|
31
|
41
|
32 * **Run-time debug assertions**: If performance is important to you,
|
|
33 make sure to add the option ``-DCMAKE_BUILD_TYPE=Release`` when
|
|
34 invoking ``cmake`` while :ref:`compiling Orthanc
|
|
35 <compiling>`. Indeed, by default, `run-time debug assertions
|
|
36 <https://en.wikipedia.org/wiki/Assertion_(software_development)#Assertions_for_run-time_checking>`_
|
|
37 are enabled, which can seriously impact performance, especially if
|
|
38 your Orthanc server stores a lot of DICOM instances.
|
|
39
|
|
40 Note that the `official Docker images
|
|
41 <https://github.com/jodogne/OrthancDocker>`__ of Orthanc <= 1.0.0
|
|
42 were not compiled in ``Release`` mode. As a consequence, to improve
|
|
43 performance, make sure to use either the mainline version of the
|
43
|
44 container (run ``docker pull jodogne/orthanc`` to ensure you use the
|
|
45 most recent version of the mainline), or versions more recent than
|
107
|
46 ``jodogne/orthanc:1.3.0``.
|
41
|
47
|
44
|
48 * **Orthanc slows down if storing many files**: The default database
|
|
49 engine that is built in Orthanc is `SQLite
|
|
50 <https://www.sqlite.org/>`__. As SQLite is above all a lightweight
|
|
51 database engine, it is not designed to `store very large datasets
|
|
52 <https://www.sqlite.org/whentouse.html>`__. If you are sure that you
|
|
53 have properly disabled run-time debug assertions (cf. above), but
|
|
54 still experience degradation in performance over time, you should
|
|
55 seriously consider switching to a more scalable database engine. To
|
|
56 this end, you can notably check out the :ref:`official PostgreSQL
|
|
57 plugin <postgresql>`.
|
|
58
|
|
59 As a rule of thumb, the performance of the default SQLite engine
|
|
60 built in Orthanc should run fine up to about 50,000 DICOM instances.
|
|
61
|
|
62
|
18
|
63 * **Orthanc Explorer is slow under Windows on the localhost**:
|
|
64
|
|
65 - Favor ``127.0.0.1`` instead of ``localhost`` when specifying the
|
|
66 network address of a server. Users have reported that this minor
|
|
67 change `can massively improve performance
|
|
68 <https://groups.google.com/d/msg/orthanc-users/tTe28zR0nGk/Lvs0STJLAgAJ>`__
|
|
69 on Windows. Starting with Orthanc 1.0.1, the samples from the
|
|
70 source distribution have been adapted in this way.
|
|
71
|
|
72 - As an alternative, you can disable IPv6 support. This is a
|
|
73 Windows-specific problem that is discussed `here
|
|
74 <http://superuser.com/questions/43823/google-chrome-is-slow-to-localhost>`__
|
|
75 and `here
|
|
76 <http://stackoverflow.com/questions/1726585/firefox-and-chrome-slow-on-localhost-known-fix-doesnt-work-on-windows-7>`__.
|
16
|
77
|
42
|
78 * If you experience **slow DICOM transfers under GNU/Linux**, please
|
|
79 read the `following bug report
|
16
|
80 <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=785400>`__. This
|
42
|
81 issue does *not* affect all the versions of GNU/Linux. A patch to
|
|
82 this issue is shipped with the Orthanc source code. In order to take
|
|
83 advantage of this patch, you need to statically link Orthanc against
|
|
84 DCMTK by using the ``-DUSE_SYSTEM_DCMTK=OFF`` flag `when invoking
|
|
85 CMake
|
16
|
86 <https://bitbucket.org/sjodogne/orthanc/src/default/LinuxCompilation.txt>`__.
|
|
87
|
|
88
|
|
89 Windows-specific issues
|
|
90 -----------------------
|
|
91
|
0
|
92 * Under Windows, Orthanc creates the "OrthancStorage" folder, and
|
|
93 crashes with the error "**SQLite: Unable to open the database**":
|
|
94 Your directory name is either too long, or it contains special
|
|
95 characters. Please try and run Orthanc in a folder with a simple
|
|
96 name such as ``C:\Orthanc``.
|
55
|
97
|
|
98 * If **Orthanc crashes when handling one large DICOM file**, this most
|
|
99 probably indicates a memory allocation error. Indeed, the `official
|
|
100 Windows binaries
|
|
101 <http://www.orthanc-server.com/download-windows.php>`__ are compiled
|
|
102 using a 32bit compiler. As a consequence, Orthanc only has access to
|
|
103 less than 4GB of RAM. If this is an important limitation for you,
|
|
104 precompiled command-line versions of Orthanc for Windows 64bit are
|
|
105 available courtesy of `Osimis
|
|
106 <http://www.osimis.io/en/download.html>`__.
|