Page 1 of 1

OMERO.web "production" environment is very slow

PostPosted: Mon Mar 01, 2010 12:27 pm
by uestra
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

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

PostPosted: Mon Mar 01, 2010 12:33 pm
by cxallan
Using mod_python?

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

PostPosted: Mon Mar 01, 2010 1:49 pm
by uestra
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.

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

PostPosted: Mon Mar 01, 2010 2:07 pm
by cxallan
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.

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

PostPosted: Tue Mar 02, 2010 9:48 am
by uestra
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