What about using cfcontent for getting and starting the download of
the large audio files. Will this have an affect on Java memory usage
by involving OpenBD more in the process? Cfcontent is used to make
sure the file is downloaded as an attachment rather than getting
played by a media player or worst of all, Quicktime.

Magnus

On Jan 23, 1:22 am, "Nitai @ Razuna" <[email protected]> wrote:
> Hi,
>
> As you might be aware, we are running Razuna on Tomcat and have some
> rather fair experiences with large uploads as some customers are
> uploading 500MB or more files to Razuna. We have come up with these
> best setting within Tomcat:
>
> <Connector port="8080" protocol="HTTP/1.1"
>                 connectionTimeout="3000"
>                 redirectPort="8443"
>                 useBodyEncodingForURI="true"
>                 enableLookups="false"
>                 maxThreads="400"
>                 maxKeepAliveRequests="100"
>                 acceptCount="100"
>                 compression="on"
>          />
>
> Furthermore, you want, no you MUST, enable APR in Tomcat. Without it,
> Tomcat is much slower.
>
> Also, the right settings how to start up Tomcat are very important.
> Here are the ones that have worked best for us:
>
> JAVA_OPTS="-server -Xss1024k -Xms1G -Xmx3G -XX:MaxPermSize=512m
> -XX:NewSize=512m $JAVA_OPTS -Djava.awt.headless=true
> -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true "
>
> The "-server" one is crucial as it minimized the RAM usage on our box
> a lot. Adjust the RAM settings to your needs. To get the RAM settings
> correct is a magic in itself. Even the pros over at SpringSource
> (Tomcat gurus) say that each application and usage needs different RAM
> settings. We have played with various settings for over a year and are
> still tweaking.
>
> I promote the use of a front end server to Tomcat, since you can tell
> the front end server to fetch the static components and let Tomcat
> handle the dynamic ones. This also improves performance and lifts the
> weight off Tomcat. Using Apache is not always the best as Apache is
> bloated and using way too much resources. I have had stellar
> performances with Nginx. But your experience and comfort level might
> vary.
>
> Kind Regards,
> Nitai
>
> On Sat, Jan 23, 2010 at 2:53 AM, Magnus <[email protected]> wrote:
> > For the site Derek is taking about, the traffic being may be small in
> > terms of visitors but the files involved are large: uploading and
> > downloading audio files from a few hundred kb in size all the way up
> > to 100+ MB. Is this a factor in the memory issue for tomcat?
>
> --
> See for yourself how easy it is to manage files today. Join the revolution!
>
> Razuna SaaS On-Demand - Hosted Digital Asset Management 
> Solutionhttp://www.razuna.com/
>
> Razuna - Open Source Digital Asset Managementhttp://www.razuna.org/
>
> Follow us on Twitterhttp://twitter.com/razunahq

-- 
Open BlueDragon Public Mailing List
 http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
 mailing list - http://groups.google.com/group/openbd?hl=en

 !! save a network - please trim replies before posting !!

Reply via email to