• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 520
  • Last Modified:

antcall is slow in linux

<antcall target = " "> is suddenly slow in Linux from yesterday .It is use to be very fast.

Below is my script

<target name="netchange-load-partinterchange" depends="netchange-resolve-partinterchange">
    <for param="file">
      <path>
        <fileset dir="${load.xml.dir}">
          <include name="${date}-xrefs-*.xml.resolved" />
          <include name="${date}-unspaced-*.xml.resolved" />
        </fileset>
      </path>
      <sequential>
        <antcall target="massload-update">
          <param name="massload.file" value="@{file}" />
        </antcall>
      </sequential>
    </for>  
  </target>
One difference is  we have more files in the  our directory "load.xml.dir"(5000 files).
Is this causing the slowness?

Please help me in this.
0
vvsrk76
Asked:
vvsrk76
  • 2
2 Solutions
 
jlevieCommented:
The number of files in a directory can have a big affect on the speed of file operations and that may be what is happening here. It should be easy to set up a test to determine if that is what is happening.
0
 
vvsrk76Author Commented:
Thank You

I will test on Test Env

Thanks for your time
0
 
vvsrk76Author Commented:
Thank you..
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now