Slow speed when uping a file from WAS 6.0
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere Application Server > Slow speed when uping a file from WAS 6.0




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Slow speed when uping a file from WAS 6.0  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-20-05 12:54 PM

To resume to situation i've a servlet wich retrieve a text/pdf/xml/excel doc
ument from IBM On demand content manager and then write the stream in the re
s.getOutputStream().

Some lines of code:

private void processRequest(HttpServletRequest req, HttpServletResponse res)
 throws ServletException, IOException {

byte[] pdfByteArray = null;
pdfByteArray = odHit.retrieve(ODConstant.NATIVE); // retrieve from Ondemande
 Content Manager
sMimeType = odHit.getMimeType();
res.setContentType(sMimeType);
res.setContentLength(pdfByteArray.length);
res.getOutputStream().write(pdfByteArray, 0, pdfByteArray.length);
res.getOutputStream().flush();
res.getOutputStream().close();
}



For big files (like 150Mo) sometimes i've lost the stream...and i've have always a up s
treamin speed of 400/500ko/s on my network. Here ( http://publib.boulder.ibm.com/i
) I saw that we could tune tcp/ip parameter s but I di d not find the chgtcpa command anywhere. Anyone have already use it? Perhaps some tuning on http server side? My architecture: - 100Mbits network (i've made some test with a ftp server and it's ok), - xSeries PIV 3Ghz Dual Core, 4Gig RAM - Linux Redhat Advanced Server 4.0 - WAS 6.0.2.1 (last update) - IBM HTTP Server 6.0.2.1 (last update) Thanks for your responses!




[ Post a follow-up to this message ]



    Re: Slow speed when uping a file from WAS 6.0  
Henk


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-20-05 11:06 PM

Hi,

CHGTCPA is an iSeries command and cannot be found on any other platform.
Do all the components of your network (switches, hubs, nic's) have the
correct settings for speed (10/100/1000M) and duplex (Half/Full)?


Rgds,

Henk

<laurent.s@speos.be> schreef in bericht
news:1636520246.1127214577342.JavaMail.wassrvr@ltsgwas007.sby.ibm.com...
> To resume to situation i've a servlet wich retrieve a text/pdf/xml/excel
> document from IBM On demand content manager and then write the stream in
> the res.getOutputStream().
>
> Some lines of code:
>
> private void processRequest(HttpServletRequest req, HttpServletResponse
> res) throws ServletException, IOException {
>
> byte[] pdfByteArray = null;
> pdfByteArray = odHit.retrieve(ODConstant.NATIVE); // retrieve from
> Ondemande Content Manager
> sMimeType = odHit.getMimeType();
> res.setContentType(sMimeType);
> res.setContentLength(pdfByteArray.length);
> res.getOutputStream().write(pdfByteArray, 0, pdfByteArray.length);
> res.getOutputStream().flush();
> res.getOutputStream().close();
> }
>
>
>
> For big files (like 150Mo) sometimes i've lost the stream...and i've have
> always a up streamin speed of 400/500ko/s on my network. Here (
> http://publib.boulder.ibm.com/infoc.../v6r0/index.jsp ) I saw
> that we could tune tcp/ip parameters but I did not find the chgtcpa
> command anywhere. Anyone have already use it?
> Perhaps some tuning on http server side?
>
> My architecture:
> - 100Mbits network (i've made some test with a ftp server and it's ok),
> - xSeries PIV 3Ghz Dual Core, 4Gig RAM
> - Linux Redhat Advanced Server 4.0
> - WAS 6.0.2.1 (last update)
> - IBM HTTP Server 6.0.2.1 (last update)
>
> Thanks for your responses!







[ Post a follow-up to this message ]



    Re: Slow speed when uping a file from WAS 6.0  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-20-05 11:06 PM

Okay for CHGTCPA
No network problem, i transfer some file a 14mo/s via ftp






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 07:30 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register