[
https://jira.jboss.org/jira/browse/JBAS-7102?page=com.atlassian.jira.plug...
]
Brian Stansberry commented on JBAS-7102:
----------------------------------------
I've added a test that farms a 150MB file[1] and it passes, with the test taking <
25 secs to run (which includes time to write out the 150MB file).
I'll comment in more detail on the forum thread, but here are a couple suggestions:
1) Stop the hot deployment scanner thread before doing lengthy I/O operations (e.g.
copying in files) in the farm/ (or deploy/) folders. Then restart it when I/O is done.
This avoids the hot deployment scanning running and seeing partially completed I/O.
The scanner can be stopped by invoking the JMX stop() operation on the
jboss.deployment:flavor=URL,type=DeploymentScanner MBean. This can be done via the
jmx-console or via the twiddle utility in $JBOSS_HOME/bin.
2) Make sure your network is tuned to limit losses of UDP packets. Among other things,
increase the OS maximum network read and write buffers; e.g. on Linux
sysctl -w net.core.rmem_max=26214400
sysctl -w net.core.wmem_max=1048576
[1]
https://svn.jboss.org/repos/jbossas/branches/Branch_5_x/testsuite/src/mai...
Problem sending large files via farm service
--------------------------------------------
Key: JBAS-7102
URL:
https://jira.jboss.org/jira/browse/JBAS-7102
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Clustering, ProfileService
Affects Versions: JBossAS-5.1.0.GA
Reporter: Brian Stansberry
Assignee: Brian Stansberry
Priority: Critical
Fix For: JBossAS-6.0.0.Alpha1
Users have reported issues sending large files over the AS 5.1 farming service; see forum
thread.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira