[jboss-user] empty servlet responses
Andreas Tschritter
andreas.tschritter at fredhopper.com
Mon Feb 18 11:36:30 EST 2008
Hi Stephen,
thanks for your tip, but the Axis client that handles the http connection aborts only on -1.
The GC I cannot stop, but I monitored it via its logging and during that time there was non.
Is there a way to see when that linux defragmenting process kicks in?
Andreas
Stephen Davidson wrote:
> Hi Andreas.
>
> This is just a WAG, but are you using InputStream to read your file? And/or are
> you aborting when 0-bytes read? If so, I would change that to -1, as 0-bytes
> can occur when the filesystem and/or JVM is busy. I could be off base here, but
> a 'while (bytesRead <= 0)' would cause the symptoms you are seeing.
>
> -Steve
> PS> Two items you can not turn off on your platform;
> - GC
> - Kernel level file access -- linux has a background file process running to
> reorg files to keep them from becoming fragmented.
>
>
> Andreas Tschritter wrote:
>
>>Hi,
>>
>>we are running an Axis 1.4 server app inside a JBoss 4.0.2 AS with
>>basically everything disabled but the tomcat. It is quite simple, for
>>every call it
>>gets some XML from another app running on the same AS, adds the SOAP
>>envelope and returns that.
>>We test this app with a test client does very frequent requests.
>>During the test runs from time to time we get an empty response from the
>>server.
>>When this happens, it often happens a small number of times during some
>>seconds and then everything is ok again for one or more hours.
>>On the server, with Axis logging set to debug and jboss/tomcat logging
>>set to info, there are no errors and the requests during that time seem
>>to work
>>like all the others. Also, there is no garbage collection during that
>>time. Only thing I've noticed is that the requests at that time take a
>>bit longer.
>>It also seems to happen less when logging is set to a low level and much
>>logging output s produced.
>>Only the Jboss + apps is running on that machine, nothing else, not even
>>crons. Its a quad-core AMD64 with 8GB RAM running debian 4.0, the jboss
>>VM has
>>5GB heap assigned.
>>Does anybody have an idea what could cause this or what we could do to
>>find / fix the issue?
>>
>>thanks,
>>
>>Andreas Tschritter
>>
>>_______________________________________________
>>jboss-user mailing list
>>jboss-user at lists.jboss.org
>>https://lists.jboss.org/mailman/listinfo/jboss-user
>
>
> _______________________________________________
> jboss-user mailing list
> jboss-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-user
More information about the jboss-user
mailing list