You are viewing a plain text version of this content. The canonical link for it is here.
Posted to kandula-dev@ws.apache.org by Ma...@t-systems.com on 2010/03/01 09:18:53 UTC

Jar/Mar files in temp directory are not getting deleted

Hi all,

 

I repost this message in the dev list, since I think this is more a bug
than a misunderstanding. But please correct me if I am wrong.

 

After using Axis2 for about a year, I have discovered that Axis2 creates
a lot of temporary jar/mar/aar copies on my temp folder. That way in the
last 7 months 1256 folders with 18722 files were created which now use
about 4GB of my disk space. It seems to me that every time I restart my
Tomcat the files are generated again.

 

I have read now in several older posts that others also have the
problem. I understand that Axis2 generates these temp files for
performance reasons, but why does it not  delete them afterwards? Is
this fixed in the current Axis version?

I am using Axis2 version 1.5.

 

Hoping for help,

Matthias

 

Users with the same problem:

http://markmail.org/message/bo77yh2kvlb7k6fe?q=list:org.apache.ws.axis-u
ser+temp+mar

http://markmail.org/message/yv5b2lf6jasabsh2?q=list:org.apache.ws.axis-u
ser+temp+mar

http://markmail.org/message/kknpneit4ojlvgzg?q=list:org.apache.ws.axis-u
ser+temp+jar

http://markmail.org/message/nvyt4xsf54yefosn?q=list:org.apache.ws.axis-u
ser+cached+archives


Re: Jar/Mar files in temp directory are not getting deleted

Posted by Amila Suriarachchi <am...@gmail.com>.
On Mon, Mar 1, 2010 at 1:48 PM, <Ma...@t-systems.com> wrote:

>  Hi all,
>
>
>
> I repost this message in the dev list, since I think this is more a bug
> than a misunderstanding. But please correct me if I am wrong.
>
>
>
> After using Axis2 for about a year, I have discovered that Axis2 creates a
> lot of temporary jar/mar/aar copies on my temp folder. That way in the last
> 7 months 1256 folders with 18722 files were created which now use about 4GB
> of my disk space. It seems to me that every time I restart my Tomcat the
> files are generated again.
>

Do you create configuration context objects when runing the Axis2 server. If
you create service client objects it causes new configuration contexts and
hence new temp files.

Can you please test with the current axis2 trunk?

Here is what it has to do.
When creating a configuration context object it creates a separate folder
for that. with a lck file
eg.
axis2-tmp-1271903426405701734.tmp
axis2-tmp-1271903426405701734.tmp.lck

when the server shuts down it deletes the
axis2-tmp-1271903426405701734.tmp.lck. At the restart it finds the folders
without .lck file and delete them.

thanks,
Amila.

>
>
> I have read now in several older posts that others also have the problem. I
> understand that Axis2 generates these temp files for performance reasons,
> but why does it not  delete them afterwards? Is this fixed in the current
> Axis version?
>
> I am using Axis2 version 1.5.
>
>
>
> Hoping for help,
>
> Matthias
>
>
>
> Users with the same problem:
>
>
> http://markmail.org/message/bo77yh2kvlb7k6fe?q=list:org.apache.ws.axis-user+temp+mar
>
>
> http://markmail.org/message/yv5b2lf6jasabsh2?q=list:org.apache.ws.axis-user+temp+mar
>
>
> http://markmail.org/message/kknpneit4ojlvgzg?q=list:org.apache.ws.axis-user+temp+jar
>
>
> http://markmail.org/message/nvyt4xsf54yefosn?q=list:org.apache.ws.axis-user+cached+archives
>



-- 
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/

Re: Jar/Mar files in temp directory are not getting deleted

Posted by Amila Suriarachchi <am...@gmail.com>.
On Mon, Mar 1, 2010 at 1:48 PM, <Ma...@t-systems.com> wrote:

>  Hi all,
>
>
>
> I repost this message in the dev list, since I think this is more a bug
> than a misunderstanding. But please correct me if I am wrong.
>
>
>
> After using Axis2 for about a year, I have discovered that Axis2 creates a
> lot of temporary jar/mar/aar copies on my temp folder. That way in the last
> 7 months 1256 folders with 18722 files were created which now use about 4GB
> of my disk space. It seems to me that every time I restart my Tomcat the
> files are generated again.
>

Do you create configuration context objects when runing the Axis2 server. If
you create service client objects it causes new configuration contexts and
hence new temp files.

Can you please test with the current axis2 trunk?

Here is what it has to do.
When creating a configuration context object it creates a separate folder
for that. with a lck file
eg.
axis2-tmp-1271903426405701734.tmp
axis2-tmp-1271903426405701734.tmp.lck

when the server shuts down it deletes the
axis2-tmp-1271903426405701734.tmp.lck. At the restart it finds the folders
without .lck file and delete them.

thanks,
Amila.

>
>
> I have read now in several older posts that others also have the problem. I
> understand that Axis2 generates these temp files for performance reasons,
> but why does it not  delete them afterwards? Is this fixed in the current
> Axis version?
>
> I am using Axis2 version 1.5.
>
>
>
> Hoping for help,
>
> Matthias
>
>
>
> Users with the same problem:
>
>
> http://markmail.org/message/bo77yh2kvlb7k6fe?q=list:org.apache.ws.axis-user+temp+mar
>
>
> http://markmail.org/message/yv5b2lf6jasabsh2?q=list:org.apache.ws.axis-user+temp+mar
>
>
> http://markmail.org/message/kknpneit4ojlvgzg?q=list:org.apache.ws.axis-user+temp+jar
>
>
> http://markmail.org/message/nvyt4xsf54yefosn?q=list:org.apache.ws.axis-user+cached+archives
>



-- 
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/

Re: Jar/Mar files in temp directory are not getting deleted

Posted by Amila Suriarachchi <am...@gmail.com>.
On Mon, Mar 1, 2010 at 1:48 PM, <Ma...@t-systems.com> wrote:

>  Hi all,
>
>
>
> I repost this message in the dev list, since I think this is more a bug
> than a misunderstanding. But please correct me if I am wrong.
>
>
>
> After using Axis2 for about a year, I have discovered that Axis2 creates a
> lot of temporary jar/mar/aar copies on my temp folder. That way in the last
> 7 months 1256 folders with 18722 files were created which now use about 4GB
> of my disk space. It seems to me that every time I restart my Tomcat the
> files are generated again.
>

Do you create configuration context objects when runing the Axis2 server. If
you create service client objects it causes new configuration contexts and
hence new temp files.

Can you please test with the current axis2 trunk?

Here is what it has to do.
When creating a configuration context object it creates a separate folder
for that. with a lck file
eg.
axis2-tmp-1271903426405701734.tmp
axis2-tmp-1271903426405701734.tmp.lck

when the server shuts down it deletes the
axis2-tmp-1271903426405701734.tmp.lck. At the restart it finds the folders
without .lck file and delete them.

thanks,
Amila.

>
>
> I have read now in several older posts that others also have the problem. I
> understand that Axis2 generates these temp files for performance reasons,
> but why does it not  delete them afterwards? Is this fixed in the current
> Axis version?
>
> I am using Axis2 version 1.5.
>
>
>
> Hoping for help,
>
> Matthias
>
>
>
> Users with the same problem:
>
>
> http://markmail.org/message/bo77yh2kvlb7k6fe?q=list:org.apache.ws.axis-user+temp+mar
>
>
> http://markmail.org/message/yv5b2lf6jasabsh2?q=list:org.apache.ws.axis-user+temp+mar
>
>
> http://markmail.org/message/kknpneit4ojlvgzg?q=list:org.apache.ws.axis-user+temp+jar
>
>
> http://markmail.org/message/nvyt4xsf54yefosn?q=list:org.apache.ws.axis-user+cached+archives
>



-- 
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/

Re: Jar/Mar files in temp directory are not getting deleted

Posted by Amila Suriarachchi <am...@gmail.com>.
On Mon, Mar 1, 2010 at 1:48 PM, <Ma...@t-systems.com> wrote:

>  Hi all,
>
>
>
> I repost this message in the dev list, since I think this is more a bug
> than a misunderstanding. But please correct me if I am wrong.
>
>
>
> After using Axis2 for about a year, I have discovered that Axis2 creates a
> lot of temporary jar/mar/aar copies on my temp folder. That way in the last
> 7 months 1256 folders with 18722 files were created which now use about 4GB
> of my disk space. It seems to me that every time I restart my Tomcat the
> files are generated again.
>

Do you create configuration context objects when runing the Axis2 server. If
you create service client objects it causes new configuration contexts and
hence new temp files.

Can you please test with the current axis2 trunk?

Here is what it has to do.
When creating a configuration context object it creates a separate folder
for that. with a lck file
eg.
axis2-tmp-1271903426405701734.tmp
axis2-tmp-1271903426405701734.tmp.lck

when the server shuts down it deletes the
axis2-tmp-1271903426405701734.tmp.lck. At the restart it finds the folders
without .lck file and delete them.

thanks,
Amila.

>
>
> I have read now in several older posts that others also have the problem. I
> understand that Axis2 generates these temp files for performance reasons,
> but why does it not  delete them afterwards? Is this fixed in the current
> Axis version?
>
> I am using Axis2 version 1.5.
>
>
>
> Hoping for help,
>
> Matthias
>
>
>
> Users with the same problem:
>
>
> http://markmail.org/message/bo77yh2kvlb7k6fe?q=list:org.apache.ws.axis-user+temp+mar
>
>
> http://markmail.org/message/yv5b2lf6jasabsh2?q=list:org.apache.ws.axis-user+temp+mar
>
>
> http://markmail.org/message/kknpneit4ojlvgzg?q=list:org.apache.ws.axis-user+temp+jar
>
>
> http://markmail.org/message/nvyt4xsf54yefosn?q=list:org.apache.ws.axis-user+cached+archives
>



-- 
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/

Re: Jar/Mar files in temp directory are not getting deleted

Posted by Amila Suriarachchi <am...@gmail.com>.
On Mon, Mar 1, 2010 at 1:48 PM, <Ma...@t-systems.com> wrote:

>  Hi all,
>
>
>
> I repost this message in the dev list, since I think this is more a bug
> than a misunderstanding. But please correct me if I am wrong.
>
>
>
> After using Axis2 for about a year, I have discovered that Axis2 creates a
> lot of temporary jar/mar/aar copies on my temp folder. That way in the last
> 7 months 1256 folders with 18722 files were created which now use about 4GB
> of my disk space. It seems to me that every time I restart my Tomcat the
> files are generated again.
>

Do you create configuration context objects when runing the Axis2 server. If
you create service client objects it causes new configuration contexts and
hence new temp files.

Can you please test with the current axis2 trunk?

Here is what it has to do.
When creating a configuration context object it creates a separate folder
for that. with a lck file
eg.
axis2-tmp-1271903426405701734.tmp
axis2-tmp-1271903426405701734.tmp.lck

when the server shuts down it deletes the
axis2-tmp-1271903426405701734.tmp.lck. At the restart it finds the folders
without .lck file and delete them.

thanks,
Amila.

>
>
> I have read now in several older posts that others also have the problem. I
> understand that Axis2 generates these temp files for performance reasons,
> but why does it not  delete them afterwards? Is this fixed in the current
> Axis version?
>
> I am using Axis2 version 1.5.
>
>
>
> Hoping for help,
>
> Matthias
>
>
>
> Users with the same problem:
>
>
> http://markmail.org/message/bo77yh2kvlb7k6fe?q=list:org.apache.ws.axis-user+temp+mar
>
>
> http://markmail.org/message/yv5b2lf6jasabsh2?q=list:org.apache.ws.axis-user+temp+mar
>
>
> http://markmail.org/message/kknpneit4ojlvgzg?q=list:org.apache.ws.axis-user+temp+jar
>
>
> http://markmail.org/message/nvyt4xsf54yefosn?q=list:org.apache.ws.axis-user+cached+archives
>



-- 
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/