On Thu, 18 Aug 2011 07:15:21 -0700
Chris Ohmstede <[email protected]> wrote:

> On 08/18/2011 08:01 AM, Chris wrote:
> > On Thu, 18 Aug 2011 17:59:50 +0530
> > Its Me For Testing<[email protected]>  wrote:
> >
> >> Hi Guys,
> >>
> >> When i convert large PDF file to SWF my CPU utilization is very high and 
> >> the
> >> server is hanging sometimes. I am using windows 2008 server. I am unable to
> >> use this tool. Kindly help me for this issue.
> >>
> >> Thanks,
> >>
> >> Karthik
> > 1. Check your your various server logs for clues.
> >
> > 2. Presumably this is being triggered under PHP - memorry/resource 
> > allocation?
> >
> > 3. Are you expecting too much? i.e. very large pdf with lots of image and 
> > font data,
> >     and no resources available to cope?
> >
> > 4. AFAICR Windows eats memory and resources for breakfast.  You might want 
> > to check out the
> >     Process Expolrer for further clues:
> >
> >       http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx
> >
> > ( 5<evil grin>   Windows 2008??  Swap to a Linux server!</evin grin>   )
> >
> > HTH.
> >
> > Regards,
> >
> >
> > Chris

> pdf2swf is a command line app with no user interface.  It's not waiting 
> for user input, therefore once started it uses 100% of the processor 
> because that's all it's doing, processing.

Come off it Chris. Microsoft has been attempting multi-tasking graphical o/s 
since Windows Version 1, and
multithreading has been around since mid 1950's!   Even DOS ( and my old ZX81 ) 
could cope with doing more
than one thing at a time. ;o)
 
> To slow down it's processor usage, you will need to do this at the operating 
> system level.

( Chris 2 gets really pedantic ): processor usage does not slow down!  If it 
did that, we'd be back to
pre one-oh-eight-six performance.  There is something called a context 
switching - a dialog between the
o/s and the processor, so that resources are (un)equally divided.
 
> Lower the thread priority of the  terminal pdf2swf is running in

A bit tricky, if ( as I suspect ), this is being triggered under PHP, instead 
of a terminal.  'It's him'
didn't actually say.

> (I don't use  Windows very often so I can't say exactly how to do this.)  If 
> it's a 
> single processor server, you might look into hyper-threading.

Hyperthreading is an Intel-proprietary technological term for simultaneoues ( 
hah! ) multithreading
on it's own processor range.  But it's usage is not cross platform.


Chris 
-- 
<[email protected]>

---------------
SWFTools-common is a self-managed list. To subscribe/unsubscribe, or amend an 
existing subscription, please kindly point your favourite web browser 
at:<http://lists.nongnu.org/mailman/listinfo/swftools-common>

Reply via email to