Hi Christopher,

Thank you for your insights and sorry for a late reply.

This specific issue seemed do be because of limited bandwidth at the data
centre and it had now been fixed.
We are having some other problem as well, but these seem to come from
inefficient modules at the moment and we are investigating at full pace.


> What is the JkMount directive(s) that you are trying to undo with
> JkUnMount?

JkMount /* customer


> Whenever you turn off /Tomcat/ they get fast again? Do you just have
> to stop Tomcat or do you have to de-configure it in httpd.conf?

Only stopping Tomcat is required. This would correspond with the bandwidth
issue.


> Wait, you have a server with 64GiB of RAM? Cool. And it serves images
> for a living? Weird.

It is both cool and weird. :P
The reason for 64Gb is basically that when things break down, more ram and
cpu delays the problem. We are looking for ways to reduce memory usage.


> Up. Grade.

We are looking into it, but 7.0.26 seems to be associated with this Ubuntu
version.
Is it a huge difference? I really don't want to rock this boat any more
that absolutely necessary.


Again, thank you for your time and insights!


Best Regards


Jim




On 24 June 2014 14:45, Christopher Schultz <ch...@christopherschultz.net>
wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Jim,
>
> On 6/23/14, 4:21 PM, Jim Lindqvist wrote:
> > I have I server with Apache and Tomcat through jk_mod and the
> > perfonrmance is awful. This is mostly confined to images as far as
> > I know, but it is hard to tell.
> >
> > The images are served from Apache with the help of the following
> > lines: # Serve static content from /resources and /data using
> > Apache instead of Tomcat worker Alias /resources
> > /var/lib/tomcat7/webapps/customer/resources JkUnMount /resources/*
> > customer Alias /data /var/lib/tomcat7/webapps/customer/data
> > JkUnMount /data/* customer
>
> What is the JkMount directive(s) that you are trying to undo with
> JkUnMount?
>
> > It seems that whenever Tomcat is running, Apache grinds to almost
> > standstill, but whenever I tun off apache images seems to spring to
> > life again.
>
> Whenever you turn off /Tomcat/ they get fast again? Do you just have
> to stop Tomcat or do you have to de-configure it in httpd.conf?
>
> > I could really use some input. I feel like I have tries all the
> > settings I can find, but any changes seems to make the situation
> > worse and it doesn't get better when I turn the settings back.
>
> Can you give us some performance numbers? How have you tested?
>
> > All the guides I can find focus on servers from 64Mb - 512Mb, but I
> > can get up to 64Gb and some serious processing power. I don't mind
> > using a less than perfect configuration as long as it works.
>
> Wait, you have a server with 64GiB of RAM? Cool. And it serves images
> for a living? Weird.
>
> > This is the output from version.sh: Using CATALINA_BASE:
> > /usr/share/tomcat7 Using CATALINA_HOME:   /usr/share/tomcat7 Using
> > CATALINA_TMPDIR: /usr/share/tomcat7/temp Using JRE_HOME:
> > /usr/lib/jvm/java-7-oracle Using CLASSPATH:
> >
> /usr/share/tomcat7/bin/bootstrap.jar:/usr/share/tomcat7/bin/tomcat-juli.jar
> >
> >
> Server version: Apache Tomcat/7.0.26
>
> Up. Grade.
>
> What version of Apache httpd? What version of mod_jk? What is your
> mod_jk configuration (workers.properties)?
>
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
> Comment: GPGTools - http://gpgtools.org
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQIcBAEBCAAGBQJTqXMGAAoJEBzwKT+lPKRYPhkP+wV2ecvTUrKUy+r/B1fYfXxQ
> rpczIZfYXpYnRlz9dOFtd5H1H6fuxa851Biwk7tCiC+tB1OJl8sY1OFHzX5AzheH
> dty5n1jIzZgIOF+fURgkMvz7Ukx8gOFD5uxttt02ZzsYeKtJWeTWm7yviPa09LYv
> bu9k7d11WQNAF1R83HPfJhkELV7kT/vAAGkFLfVq/d83EsjUx8kSzyqJu1WDw1T6
> AzBKxJh4+JN4+zayymfF0HsHWL/VfwyYiQAAnwd7NpeWEmtpgUEy9heEze0Y1le0
> 8zCBhIkcLTyKU+ipZIW4av2k6vIuPhrgzjx2GuizRqXHTiqFmfFt3T8RPdEcPPyB
> UqYqIxgtNxWFA6pzNDdoQI5KKY920TSpdACBr8HBQBUQpSIuUjns+bXDAKdAkLQd
> UiqDz8cSxXVJnmyshv+ZIK16hkU9xfalqYB7LoqPgBdCESnJHUYssNT6SfTScLRC
> jeCyvELYv0aSaeKX/9PlC3D3bmU5L+FS06bRxmF2N8Q8YPFVRrw8mWYaIA2HFcwm
> LbJEoVEYGZcE1qoh4hoqp/bzfjXWiJ8i9+4ldqsKHakVfyCxnmbHoiDjoZABE4kk
> fzOWIEapbjVshHr1FdPo/xyb2HIzgUPqTgZwdf0bM5MabY2aUzOKRETgL8z8b8Ck
> vTOtBPphAfBnDrX5bUkm
> =6/W1
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

Reply via email to