You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Astghik Mkrtchyan <mk...@gmail.com> on 2011/02/07 11:19:52 UTC

Does tomcat use some kind of virtualization technology or sharing/mounting network filesystem?

Hi All!

 On Ubuntu 10.04 (65 bit, Desktop) I've set up Tomcat 6.0.26.  No additional
and unnecessary applications are running on that OS. Maybe only mail server
is a little bit heavy. On Tomcat I'm running only one application which is
actually search engine(I use Compass framework), indexed pages I'm keeping
as a file system on Tomcat dir (they have reasonable sizes, so no need now
to think up about server storage space) I have 2 mounted devices / & /usr.
But there is one issue I have. It's ok when I deploy the project on
app server (OS & all app installations were new at that point) . For about
1-2 weeks I got 800 GB disk usage (have seen it on webmin) of  1 terabyte
instead of max~~~ 200MB usage. Of course I forgot to remove old log files of
app server(logs are very large as the customer wanted to see everything is
possible to show), after deleting of them I still got smth about 600-700GB
disk space usage. I reboot my app server nothing was changed, then I reboot
the computer, I still had for 400-500 GB used(of /usr) . Then I started to
check all dirs sizes(du  --max-depth=1 -h), nothing suspicious I got.  Tomcat
is in /usr/share/. Didn't find anything strange in its all dirs too. This
can be only the result of search engine indexing, but nothing strange in
tomcat's temp dir again. But when I stopped tomcat and reboot the server, I
got the real usage size 46 GB.

My question is following:

Does tomcat use some kind of virtualization technology or sharing/mounting
network filesystem? Or what kind of reason can be for such behavior and how
to fix?

Thanks!
Astghik

Re: Does tomcat use some kind of virtualization technology or sharing/mounting network filesystem?

Posted by David Smith <da...@cornell.edu>.
Tomcat doesn't do anything that would cause that behavior.  It's disk
writing is mostly limited to just writing log files, expanding .war
files and compiling jsp files.  Ubuntu has a tool called "Disk Usage
Analyzer" which should be able to help you sort out what's going on with
your system.

--David


On 2/7/2011 5:19 AM, Astghik Mkrtchyan wrote:
> Hi All!
>
>  On Ubuntu 10.04 (65 bit, Desktop) I've set up Tomcat 6.0.26.  No additional
> and unnecessary applications are running on that OS. Maybe only mail server
> is a little bit heavy. On Tomcat I'm running only one application which is
> actually search engine(I use Compass framework), indexed pages I'm keeping
> as a file system on Tomcat dir (they have reasonable sizes, so no need now
> to think up about server storage space) I have 2 mounted devices / & /usr.
> But there is one issue I have. It's ok when I deploy the project on
> app server (OS & all app installations were new at that point) . For about
> 1-2 weeks I got 800 GB disk usage (have seen it on webmin) of  1 terabyte
> instead of max~~~ 200MB usage. Of course I forgot to remove old log files of
> app server(logs are very large as the customer wanted to see everything is
> possible to show), after deleting of them I still got smth about 600-700GB
> disk space usage. I reboot my app server nothing was changed, then I reboot
> the computer, I still had for 400-500 GB used(of /usr) . Then I started to
> check all dirs sizes(du  --max-depth=1 -h), nothing suspicious I got.  Tomcat
> is in /usr/share/. Didn't find anything strange in its all dirs too. This
> can be only the result of search engine indexing, but nothing strange in
> tomcat's temp dir again. But when I stopped tomcat and reboot the server, I
> got the real usage size 46 GB.
>
> My question is following:
>
> Does tomcat use some kind of virtualization technology or sharing/mounting
> network filesystem? Or what kind of reason can be for such behavior and how
> to fix?
>
> Thanks!
> Astghik


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Does tomcat use some kind of virtualization technology or sharing/mounting network filesystem?

Posted by Pid <pi...@pidster.com>.
On 07/02/2011 10:19, Astghik Mkrtchyan wrote:
> Does tomcat use some kind of virtualization technology or sharing/mounting
> network filesystem? Or what kind of reason can be for such behavior and how
> to fix?

No it doesn't.


p