Posts by retsil
-
-
-
Hi,
I am running conquest versions 1.4.17d and 1.4.15 and I have started getting the following error when receiving images. We use postgres version 9 with Redhat 7.
Quote
***Unable to update record
***SQL: UPDATE DICOMStudies SET StudyInsta = '1.2.841.113619.6.95.31.0.3.4.1.1109.13.2242784', StudyDate = '20150205', StudyTime = '114246.328000', StudyID = '2402784', StudyDescr = 'My Scan', AccessionN = 'C2232784', ReferPhysi = 'JONES^ GRAEME', PatientsAg = '021Y', StudyModal = 'CT\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\NM', PatientNam = 'SOMEONE^BLAH^^MR^', PatientBir = '19631021', PatientSex = 'M', PatientID = '4056834', AccessTime = 1423523232 WHERE StudyInsta = '1.2.840.113619.6.95.31.0.4.4.1.1109.14.2202784'
***Error: ERROR: value too long for type character varying(64)***Error saving to SQL: 4056834/1.2.840.113619.6.95.31.0.2.4.1.1109.13.2202784/1.3.12.2.1107.5.6.1.69214.20000015020422533493700000315/1.3.12.3.1107.5.6.1.69214.30000015020422533493700000372.dcm
Server Command := 0001
Message ID := 0f7e
FreeStore Left 455543 on /research/conquest
*** ERROR: value too long for type character varying(64)I have confirmed that the problem is with the StudyModal field and I have tried to alter the column width to accomodate, but I still get the same type of error, but with the larger field size.
The only reason I can think of why there might be a problem is that we recently upgraded to Redhat 7
-
Quote
This post is a bit off topic. Just describes a problem I've been having with the Siemens Syngo/E.Soft workstations. I guess it just demonstrates that it pays to read the conquest logs carefully.
Conquest has been built for 64 bit Fedora with PostgreSQL support. There are some minor tweaks necessary for a successful compile on Fedora described in another post (search for Fedora).
Thought I might share an experience of being reminded about a particular vendors feature.
In this case if you leave a checked tick box called "Retrieve through DICOM scripts" you get interesting behaviour. This changes the AE title for the C-Move command. I think it is for the purposes of debugging on a separate port and running a DICOM converter script. The default AE title for this configuration appears to be called DICOMReader_AE.
Output from dgate is shown below:
-
This is just a note that the Fedora patch indicated at the top of this post is still required for Conquest version 1.4.15.
-
I am pleased to report that I managed to successfully rebuild using the following config:
Quote
Compaq Laptop Evo N800v
Intel P4 Mobile 1.7Ghz
256 Mb RAM
2Gb Swap partition
Linux FC9 kernel 2.6.26
PostgreSQL 8.3.5
conquestlinux 1414DICOM data is stored over two NAS devices using "FileNameSyntax = 8". The NAS is mounted using the cifs filesystem driver
There are about 1700000 images in 2TB and the rebuild took about 3 days. -
I've been tracking the memory usage of dgate and it seems to have a stable low-water mark at 7Mb. It does spike up to 200Mb when regenerating some files.
It may be that the computer doesn't have enough RAM. It is an old laptop with 256Mb RAM and 256Mb Swapspace. I installed FC9 without Gnome or KDE.
I tried the following script
I've also figured out a way to get the dgate server process to restart if it dies.
I managed to rebuild 600,000 images before postgres reported out of memory errors. Will need to investigate expanding swapspace.
-
I seem to be only able to rebuild 200,000 images before I get the following error.
Quote
Thu Nov 6 19:38:20 2008 [Regen] /storage/NMUS_Data/dicom/1367206_AE_IT/1.2.840.113663.1500.1.12335.1.99.20040922.162032.203/1.2.528.1.1001.100.3.645.1577.21021204110.20041017024916578/1.2.528.1.1001.100.4.645.1577.20021204110.20043017024916625.dcm -SUCCESS
Thu Nov 6 19:39:18 2008 ***VR:ReAlloc out of memory allocating 242380800 bytes
Thu Nov 6 19:39:18 2008 ***A fatal error occurred (out of memory) - closing serverI try
Quote
./dgate --regendir:MAG0,1367206_AE_IT
and it seems to be ok.Is there a way to get around what looks to be a memory leak problem?
Thanks
-
The solution is to uninstall as a NT service. It appears that the NT service doesn't have the neccessary privlidges to access the NAS device event though it is open to guest users.
-
I made the following changes to npipe.cpp and it seemed to compile (conquestlinux1414)
Code -
Thank you Marcel, I apologise if these questions are getting too tedious. I wasn't sure whether to take the error quite so literally.
This seems to be a problem specific to storing images on an external NAS.
-
It appears that in FC9 and above that stropts.h has been removed
My previous attempts in FC7 have successed but I do receive warnings like
Quote
fattach is not implemented and will always failWhat kind of changes should I make to npipe.cpp to safely remove dependancies on stropts.h?
Interestingly, I found the same problem arising in the Ingres Database project.
Thanks
Robbie
-
I have a problem with trying to select and move studies for achiving.
I run the following code (I never get a chance to run the 3rd line)
It previously worked, but now I am getting the following errors when I attempt to select studies for archival.
Quote
20081104 09:11:59 ***Unable to determine size of file: 'K:\nmus_data\dicom\0605153_GA\1.2.840.113663.1100.16239782.1.1140428460.120060220.1094415\1.2.840.113663.1100.16229782.2.1.120060220.1094415\1.2.840.113663.1100.16329782.3.6.120060220.1094732.dcm'Use dir from the command line to verify that the file is there, and everything appears to be ok.
I've tried to rebuild the database too, but it only rebuild 1M images when it originally had 1.7M images.
Quote
DICOM server version 1.4.14. Date of this release: 20080902.
Windows XP SP2.Quote
Mysql 5.0.51a on Fedora Core 9 -
Thanks for that,
I managed to start moving image data to the archive deviceQuote
dgate --restoremagflags:
dgate --selectlruforarchival:100000,MAG0
dgate --movedatatodevice:MAG1,MAG0.ArchivingNote that I used --selectlruforarchival:100000,MAG0 because --selectlruforarchival:100000,0 doesn't work and repsonds with the answer Nothing to do.
-
The DICOM files were originally added to conquest using "dgate.exe --addimagefile"
It appears that the Patient ID had the initials of the operator included.Quote
[FINALARCHIVE] Query Tables: DICOMImages
17/10/2008 1:03:20 PM [FINALARCHIVE] Columns : DICOMImages.DeviceName, DICOMImages.ObjectFile
17/10/2008 1:03:20 PM [FINALARCHIVE] Where : DICOMImages.ImagePat = '2440681 AF\' and DICOMImages.DeviceName = '0'
17/10/2008 1:03:20 PM [FINALARCHIVE] Order : (null)
17/10/2008 1:03:20 PM [FINALARCHIVE] ***Unable to query for image records to compute total sizeI used dcmdump on the file and got
Quote
(0010,0020) LO [2440681 AF\] # 12, 2 PatientIDIt also appears that conquest can't find these patients when using DICOM remote query, however the entries do exist when I access via mysqladmin.
It appears to only be affecting about 600 images so I'll just move them out and re-initialise (0.04% of all images)
-
Thanks,
The archive appears to partially work now. However some records seem to have problems. I'm guessing that it is an escape caharcter problem with mysql.
Quote
mysql Ver 14.7 Distrib 4.1.20, for redhat-linux-gnu (i386) using readline 4.3Code17/10/2008 1:03:33 PM [FINALARCHIVE] Where : DICOMImages.ImagePat = '1x2x9x0 SPO' and DICOMImages.DeviceName = '0'17/10/2008 1:03:33 PM [FINALARCHIVE] Where : DICOMImages.ImagePat = '1x3x7x1 SPO\' and DICOMImages.DeviceName = '0' -
There are a few reasons why I'm considering a separating the NAS and DICOM server. It seems to be a model which my boss in favour of. We particularly like being able to store image in part 10 format on a 3rd party device. It is slower, but it is also pretty hard to stuff up. If the conquest server and the NAS are on the same device, then the whole thing becomes a black box. For example we may not be able to upgrade the NAS software without recompiling conquest. We may also want to migrate to a larger storage device without having to reconfigure conquest.
Interestingly we've *tried* other commercial DICOM servers, and many of them do not support having images on a NAS.
I think conquest is great. I've just had a few teething problems, that's all. I'm also getting used to the issues which come along with storing large amounts of data.
-
I'm looking at using a diskless x86 client to install the linux version of conquest. We've had problems with transfer speeds using Samba NAS devices. It can take days just to delete a directory tree with a million entries. I'm hoping to find using a NFS NAS in combination with linux conquest a lot more manageable. I was quite surprised that very few NAS devices offer NFS, even though most of them run linux (I presume that it would just be a security risk, particularly when they are marketed for home users)
Any recommendations for a good combination? I would prefer an x86 client so that I can install a standard (and familiar) linux distro.
x86 client
http://www.norhtec.com/products/mcjr/index.htmlNAS device
http://www.qnap.com/pro_detail_software.asp?p_id=85 -
In my case I've created two installations using mysql as a database backend
C:\dicomserver (SQLServer=conquest)
C:\alt_dicomserver (SQLServer=alt_conquest)
I'm rebuilding the "alt" server and then I should just be able to copy the mysql tables, overwriting the original dicomserver.
As you have shown, I can even re-import individual directories if new files have been added in the meantime.
Rebuild is about 59 hours for 1.8M instances on 2Tb.
Thanks
-
I have hit the limit of my NAS device (2Tb) and I'm looking to archive data to a secondary NAS device.
I added the new device as MAG1 and ran the followingdgate -as1000,0
dgate -v -amMAG0,MAG1The dgate starts printing the size of each dicom file to the console (Note I have added x in some places to protect patient identity).
QuoteK:\nmus_data\dicom\0x1x0x7\1.2.124.285.1.657524.816007.2x0x0x0x13x0x4\1.2.528.1.
1001.100.3.1673.1781.20021204110.200x0x0x2x5x5x5x2\1.2.528.1.1001.100.4.1673.178
1.20021204110.200x0x0x2x5x5x5x3.dcm = 225 KBand then after a few minutes I got the following error
Quote
***Unable to query for image records to compute total size
MoveDataToDevice: *** could not compute KB used for patient: x3x9x8x AF\
DGATE (1.4.14, build Tue Sep 02 22:39:12 2008) is running as threaded serverCode