From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dermot Paikkos Newsgroups: gmane.os.tru64.managers Subject: memory woes with imagemagick Date: Fri, 19 Mar 2004 13:03:59 +0000 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <405AEFBF.25238.9F71E8@localhost> Reply-To: dermot@sciencephoto.com NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-Trace: sea.gmane.org 1079701480 8651 80.91.224.253 (19 Mar 2004 13:04:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 19 Mar 2004 13:04:40 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Fri Mar 19 14:04:28 2004 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1B4Jfn-0006Ss-00 for ; Fri, 19 Mar 2004 14:04:27 +0100 Original-Received: (qmail 9416 invoked by uid 5); 19 Mar 2004 13:04:16 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 9401 invoked by uid 49493); 19 Mar 2004 13:04:16 -0000 Original-Received: from dermot@sciencephoto.com by sws1 by uid 49491 with qmail-scanner-1.16 (iscan: v3.1/v5.600-1011/622/49252. clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(0.0/5.0):. Processed in 1.218235 secs); 19 Mar 2004 13:04:16 -0000 Original-Received: from unknown (HELO emroute3.ornl.gov) (160.91.4.110) by 0 with SMTP; 19 Mar 2004 13:04:15 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.2-X17 #30899) with ESMTP id <0HUT000CJQZ235@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 19 Mar 2004 08:04:14 -0500 (EST) Original-Received: from helios.sciencephoto.co.uk (helios.sciencephoto.co.uk [194.200.237.129]) by emroute3.ornl.gov (PMDF V6.2-X17 #30899) with ESMTP id <0HUT000FUQYPLC@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 19 Mar 2004 08:04:03 -0500 (EST) Original-Received: from [194.200.237.140] (helo=dione) by helios.sciencephoto.co.uk with esmtp (Exim 3.16 #3) id 1B4JfM-0001tu-00 for tru64-unix-managers@ornl.gov; Fri, 19 Mar 2004 13:04:00 +0000 Original-To: tru64-unix-managers@ornl.gov X-Mailer: Pegasus Mail for Windows (v4.12a) Content-description: Mail message body Priority: normal Xref: main.gmane.org gmane.os.tru64.managers:6651 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:6651 Hi Managers, DS10 TRU64 5.1, 1280 RAM, 768 SWAP. I hope this isn't too OT but I am struggling to understand what is happening to my system resources. I recently added 1024MB of RAM to our system. The system itself is relatively under used. CPU usage is minimal and although there is a DB on the system as it only serves 40 users it has not problem coping. One of the labour intensive tasks I do ask of it is to run the user app imagemagick. I recently upgraded to v5.7.7 as this version had better memory management. I compiled it with Q8 rather that Q16 as this was said to require less RAM. The problem is that even after adding the extra RAM I am not able to convert some images even when they are relatively small. Imagemagick will fail with an "Insufficient memory (case 4)" on a 15MB (uncompressed) file. Yet vmstat seems to show some free RAM: r w u act free wire fault cow zero react pin pout in 3 270 32 125K 17K 15K 3251 173 474 0 239 0 72 1K 3 270 32 130K 13K 15K 8469 40 219 0 4404 0 85 63 3 270 32 134K 8741 15K 8556 0 0 0 4537 0 74 300 3 270 32 137K 6476 15K 4497 0 6 0 3571 0 48 88 The amount of free pages does drop from 13k to 8741 (and the number of fault rockets a bit). At his point IM should use swap or a TMPDIR, both of which have bags of space. However it doesn't and the batch process tried to continue to the next file without releasing the RAM. Eventually the swap space is filled and the console spits out "swap space below 10%" and no one can log in. All very bad!!! Has anyone tried IM on Tru64? Thomas Blinn suggested I ask the list for a recent Makefile as my compile may not be as effective as it might. The IM Makefile is probably intended for a 32bit environment and hence I might be able to get better resource management with a TRU64 makefile. Any suggestions? Thanx. Dp. ~~ Dermot Paikkos * dermot@sciencephoto.com Network Administrator @ Science Photo Library Phone: 0207 432 1100 * Fax: 0207 286 8668