Public bug reported:

Version: ubuntu 10.04
Steps to reproduce:
1.Start an m1.large instance using the AMI ami-fd4aa494
2. apt-get update; apt-get upgrade
3. apt-get install openoffice.org-writer
4. wget http://www.artofsolving.com/files/DocumentConverter.py
5. copy an odt file in /tmp/test.odt
6. run: python DocumentConverter.py test.odt test.pdf

This last step should take less than 1 second and should report : ERROR! failed 
to connect to OpenOffice.org on port 8100
On an m1.large this takes 10 seconds. 
I did the same steps on a c1.xlarge machine and everything was ok (less then 1 
sec response time). I created an ami and when I tried to start on a m1.large 
machine it took 10 seconds. Even on c1.xlarge is not always fast. For some 
instances takes also 10 seconds.

If you start soffice: /usr/lib/openoffice/program/soffice.bin 
-nofirststartwizard -headless -nologo -norestore 
"-accept=socket,host=127.0.0.1,port=8100;urp;StarOffice.ServiceManager" 
the conversion time will be 30 seconds while on a local machine or on a 
c1.xlarge is less than 1 second.

This is not a bug of python because I tried to do the conversion using
java. The connection between java and soffice is faster but still it
takes 20 seconds for conversion.

** Affects: ubuntu
     Importance: Undecided
         Status: New

-- 
ec2 (ami-fd4aa494) pyhton/soffice connection slow
https://bugs.launchpad.net/bugs/600199
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to