tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Dermot Paikkos <dermot@sciencephoto.com>
Subject: memory woes with imagemagick
Date: Fri, 19 Mar 2004 13:03:59 +0000	[thread overview]
Message-ID: <405AEFBF.25238.9F71E8@localhost> (raw)

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



                 reply	other threads:[~2004-03-19 13:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox