From: Bruce L. <le...@ma...> - 2004-03-12 19:59:49
|
Apologies in advance for any stupid errors. I am running ids on Mac OS X 10.2.8 (Darwin) with Apache 1.3.29 ImageMagick 5.5.7, and Perl 5.6.0 ... 792 mb RAM. Perl seems to be having memory problems when running ids. I have put together below a number of snippets trying to make sense of this problem. PLEASE help.... I'm about to pull my hair out in frustration! On a sidenote, it seems that ids is absolutely incapable of dealing with album names with ampersands in them. The main problem is manifesting as inability to do initial generate of album pages. NOTE: my photos are approximately 5-6 MB each. My photo library is close to 2000 photos. ids has been able to generate some of the smallest albums intermittently, but returns a server error 500 on most, or simply never returns anything. There seems to be NO logic to which pictures it is able to work with, and which cause problems. They were nearly all created by a Minolta 7i, imported by Image Capture into iPhoto Libraries. There seem to be consistent problems with lines 70 and 579 in idsshared.pm as well as line 253 in index.cgi From my httpd/error_log: ########### [Fri Mar 12 12:42:55 2004] index.cgi: main::generateAlbumEntry('./albums/Albums') called at /Volumes/38 GB Disk/ids-0.82//index.cgi line 253 [Fri Mar 12 12:42:55 2004] index.cgi: main::generateHome() called at /Volumes/38 GB Disk/ids-0.82//index.cgi line 105 [Fri Mar 12 12:43:17 2004] index.cgi: Exception 315: unknown field with tag 700 (0x2bc) ignored. (albums/Albums/Dokumentation Obersalzberg/Hilfswerk.tif) at /idsShared.pm [Fri Mar 12 12:43:17 2004] index.cgi: main::generateAlbumPreview('./albums/Albums') called at /Volumes/38 GB Disk/ids-0.82//index.cgi line 226 [Fri Mar 12 12:43:17 2004] index.cgi: main::generateAlbumEntry('./albums/Albums') called at /Volumes/38 GB Disk/ids-0.82//index.cgi line 253 [Fri Mar 12 12:43:17 2004] index.cgi: main::generateHome() called at /Volumes/38 GB Disk/ids-0.82//index.cgi line 105 *** malloc: vm_allocate(size=1296650240) failed with 3 *** malloc[751]: error: Can't allocate region Out of memory! [Fri Mar 12 12:44:24 2004] [error] [client 192.168.1.1] Premature end of script headers: /Volumes/38 GB Disk/ids-0.82//index.cgi *** malloc: vm_allocate(size=1296650240) failed with 3 *** malloc[752]: error: Can't allocate region Out of memory! ############ Also from error log: ####### [Fri Mar 12 02:32:40 2004] [error] [client 192.168.1.1] Premature end of script headers: /Volumes/38 GB $ *** malloc: vm_allocate(size=1296650240) failed with 3 *** malloc[527]: error: Can't allocate region Out of memory! [Fri Mar 12 02:35:52 2004] [error] [client 192.168.1.1] Premature end of script headers: /Volumes/38 GB $ ####### I also tried doing previewmaker.pl ... In this instance, it couldn't make a preview for one picture, for (apparently) no reason: ######### [Fri Mar 12 01:35:18 2004] previewmaker.pl: Exception 450: Unsupported marker type 0x36 (albums/Various/Becky Senior.JPG) at /idsShared.pm line 579 [Fri Mar 12 01:35:18 2004] previewmaker.pl: main::createDisplayImage(100, '', 'albums/Various/Becky Senior.JPG') called at /Volumes/38 GB Disk/ids-0.82/previewmaker.pl line 70 Created preview for "albums/Various/Becky Senior.JPG" Created preview for "albums/Various/Mikkelsen.JPG" Created preview for "albums/Various/Phi Mu Alpha.JPG" Created preview for "albums/Various/PICT0022.JPG" Created preview for "albums/Various/Tara & Jon Apartment.JPG" Created preview for "albums/Various/Tara & Jon in black.JPG" Created preview for "albums/Various/Tara & Jon Wedding Reception.JPG" Created preview for "albums/Various/Tara at School.JPG" Created preview for "albums/Various/Tara Senior2.JPG" Created preview for "albums/Various/Tara Shower 1.JPG" Created preview for "albums/Various/Tara Shower 2.JPG" Created preview for "albums/Various/Tara with Flowers.JPG" Created preview for "albums/Sample Album/Orange Flower.jpg" [Fri Mar 12 01:35:18 2004] previewmaker.pl: Created path "image-cache/Albums/Wife Album" at /idsShared.pm line 569. ###### The first time I ran previewmaker, it ended before it finished, with this (taken from terminal): ######## Created preview for "albums/Albums/Wien/PICT0013.TIF" [Fri Mar 12 01:39:40 2004] previewmaker.pl: Exception 315: unknown field with tag 34665 (0x8769) ignored. (albums/Albums/Wien/PICT0014.TIF) at /idsShared.pm line 579 [Fri Mar 12 01:39:40 2004] previewmaker.pl: main::createDisplayImage(100, '', 'albums/Albums/Wien/PICT0014.TIF') called at /Volumes/38 GB Disk/ids-0.82/previewmaker.pl line 70 Content-type: text/html <H1>Software error:</H1> <CODE>Exception 430: Unable to open file (image-cache/Albums/Wien/PICT0014_disp100.jpg.0) at /idsShared.pm line 612. </CODE> <P> For help, please send mail to this site's webmaster, giving this error message and the time and date of the error. [Fri Mar 12 01:39:41 2004] previewmaker.pl: Exception 430: Unable to open file (image-cache/Albums/Wien/PICT0014_disp100.jpg.0) at /idsShared.pm line 612. [Bruce-Lewins-Computer:/Volumes/38 GB Disk/ids-0.82] lewinb% ###### I ran it again, and as it got further into the albums, ids started returning this message almost continuously as it went through the photos: ####### [Fri Mar 12 03:22:33 2004] previewmaker.pl: main::createDisplayImage(100, '', 'albums/Albums/Andra/PICT0113.TIF') called at /Volumes/38 GB Disk/ids-0.82/previewmaker.pl line 70 Created preview for "albums/Albums/Andra/PICT0113.TIF" [Fri Mar 12 03:22:35 2004] previewmaker.pl: Exception 315: unknown field with tag 34665 (0x8769) ignored. (albums/Albums/Andra/PICT0114.TIF) at /idsShared.pm line 579 [Fri Mar 12 03:22:35 2004] previewmaker.pl: main::createDisplayImage(100, '', 'albums/Albums/Andra/PICT0114.TIF') called at /Volumes/38 GB Disk/ids-0.82/previewmaker.pl line 70 Created preview for "albums/Albums/Andra/PICT0114.TIF" [Fri Mar 12 03:22:37 2004] previewmaker.pl: Exception 315: unknown field with tag 34665 (0x8769) ignored. (albums/Albums/Andra/PICT0115.TIF) at /idsShared.pm line 579 [Fri Mar 12 03:22:37 2004] previewmaker.pl: main::createDisplayImage(100, '', 'albums/Albums/Andra/PICT0115.TIF') called at /Volumes/38 GB Disk/ids-0.82/previewmaker.pl line 70 Created preview for "albums/Albums/Andra/PICT0115.TIF" [Fri Mar 12 03:22:38 2004] previewmaker.pl: Exception 315: unknown field with tag 34665 (0x8769) ignored. (albums/Albums/Andra/PICT0116.TIF) at /idsShared.pm line 579 [Fri Mar 12 03:22:38 2004] previewmaker.pl: main::createDisplayImage(100, '', 'albums/Albums/Andra/PICT0116.TIF') called at /Volumes/38 GB Disk/ids-0.82/previewmaker.pl line 70 Created preview for "albums/Albums/Andra/PICT0116.TIF" [Fri Mar 12 03:22:40 2004] previewmaker.pl: Exception 315: unknown field with tag 34665 (0x8769) ignored. (albums/Albums/Andra/PICT0117.TIF) at /idsShared.pm line 579 ######### |