Hi,
If you are using IIS7, you can limit the max CPU usage per application pool:

http://www.iis.net/ConfigReference/system.applicationHost/applicationPools/add/cpu



________________________________
 From: Keith O <kuujinbo.mail.l...@googlemail.com>
To: Post all your questions about iText here 
<itext-questions@lists.sourceforge.net> 
Sent: Thursday, December 29, 2011 6:59 PM
Subject: Re: [iText-questions] CPU Utilization Problem
 
Hi,

On Thu, Dec 29, 2011 at 7:48 AM, ashok.arumugam <ashok.arumu...@dci.in> wrote:
> Hi, I am facing 100% CPU utilization problem when splitting PDF files using
> ITextSharp. I am having a web service that splits pages of PDF file into
> separate pdf file. Hosted this web service online.

If you're hosting online do you have a dedicated server? If not, most
of the shared ASP.NET hosting plans are **not** made to support high
loads. From what I've seen, this can be put anywhere from 100-250
accounts on a single VM.

> Hi, I am facing 100% CPU utilization problem when splitting PDF files using
> ITextSharp. I am having a web service that splits pages of PDF file into
> separate pdf file. Hosted this web service online. When 50-100 number of
> people access this web service, there is no issues in splitting. But when
> more number of people access this web service, the CPU performance is
> getting downgraded and the total server is down and does not responding the
> users. Please find the utilization stats of the function from the image
> below. Can any one help me how to resolve this issue?

If you do have a dedicated server, is it optimzed to handle large
loads? Here's one reference:

http://msdn.microsoft.com/en-us/library/ff647786.aspx

Also, have you tested any other web services not using iTextSharp on
the same server that are handling that kind of load?

You're also probably not going to get much help unless you post a
short, stand-alone example or code snippet to show everyone what
you're doing...

keith

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to