We're Hiring!

OMERO.web "production" environment is very slow

Having a problem deploying OMERO? Please ask new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

The OMERO.server installation documentation begins here and you can find OMERO.web deployment documentation here.

OMERO.web "production" environment is very slow

Postby uestra » Mon Mar 01, 2010 12:27 pm

Hello,

i have problems with a very slow production installation. I used this howto:
http://www.openmicroscopy.org.uk/site/s ... nstall_web

now it needs about 4-5 minutes to see the login. this the same for every action after that.
there is no information in the logs:
Code: Select all
-rw-r--r-- 1 www-data www-data 0 2010-03-01 13:01 OMEROweb.log
-rw-r--r-- 1 www-data www-data 0 2010-03-01 12:57 OMEROweb.log.2010-03-01

the database permission:
Code: Select all
-rw-rw-rw- 1 www-data www-data 35840 2010-03-01 13:18 db.sqlite3

Code: Select all
the apache access.log looks good:
[code]
172.25.2.42 - - [01/Mar/2010:12:10:21 +0000] "GET /webclient/login/?url=/webclient/logout/ HTTP/1.1" 200 996 "http://172.25.103.93/webclient/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2) Gecko/20100115 Firefox/3.6"

i have checked the troubleshooting site, but now i need help.

best regards
mike
uestra
 
Posts: 12
Joined: Wed Feb 24, 2010 9:51 am

Re: OMERO.web "production" environment is very slow

Postby cxallan » Mon Mar 01, 2010 12:33 pm

Using mod_python?
cxallan
Site Admin
 
Posts: 509
Joined: Fri May 01, 2009 8:07 am

Re: OMERO.web "production" environment is very slow

Postby uestra » Mon Mar 01, 2010 1:49 pm

Yes i use mod_python. Enabled with 'a2enmod python'.
The VHost:
Code: Select all
<VirtualHost *:80>
        ServerAdmin webmaster@localhost
        ServerName server1
        DocumentRoot /var/www
        <Directory />
                Options FollowSymLinks
                AllowOverride None
        </Directory>
        <Location "/">
                SetHandler python-program
                PythonHandler django.core.handlers.modpython
                SetEnv DJANGO_SETTINGS_MODULE omeroweb.settings
                PythonDebug On
                PythonPath "['/home/omero/omero_dist/lib/python', '/home/omero/omero_dist/lib/python/omeroweb'] + sys.path"
        </Location>

        <Directory /var/www/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
        </Directory>
</VirtualHost>

It is an Ubuntu 9.10 VM in a VMware ESX Server and Omero-Beta-4.1.1.
uestra
 
Posts: 12
Joined: Wed Feb 24, 2010 9:51 am

Re: OMERO.web "production" environment is very slow

Postby cxallan » Mon Mar 01, 2010 2:07 pm

We haven't noticed that but we're also not running Ubuntu 9.10 here. I'll see if I can whip up a virtual machine and check it out. There's a ticket for this up on the Trac now which you have been CC'd on:

http://trac.openmicroscopy.org.uk/omero/ticket/1838

Let me know if you'd like your e-mail address taken off the CC of the ticket.
cxallan
Site Admin
 
Posts: 509
Joined: Fri May 01, 2009 8:07 am

Re: OMERO.web "production" environment is very slow

Postby uestra » Tue Mar 02, 2010 9:48 am

I have installed a virtual Kernel package:
linux-virtual
new vmware tools
and:
disable tcp windowscaling
rewrite omero websettings

Restart Omero and the Apache. After that, the installation is fast enough.
So this was a configuration Problem.

Thanks
Mike
uestra
 
Posts: 12
Joined: Wed Feb 24, 2010 9:51 am


Return to Installation and Deployment

Who is online

Users browsing this forum: No registered users and 1 guest