Hi Manjula, When do you get the timeout error? Is it after you fired a query, or when you just started the Perl code.
The first time you run the perl code, the 'action' should be set to 'clean' so it gets all the meta info from data sources. But for better performance, in subsequent runs, 'action' should be set to 'cached' unless you wanted to rebuild your local registry to bring it in-sync with the source (when you think it's out of date). If timeout happens during long running queries, you may consider to break a big long query into smaller one. Maybe you can show us some examples of your query, let's see if it could be optimized. Cheers, Junjun From: Manjula Dharmawardhana <[email protected]<mailto:[email protected]>> Date: Thu, 21 Jul 2011 12:27:52 -0400 To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: [BioMart Users] Any solution for connect:timeout When I try to get data from COSMIC Biomart, I repeatedly get this error at various stages of the script "Problems with the web server: 500 Can't connect to www.sanger.ac.uk:80<http://www.sanger.ac.uk:80> (connect: timeout)" I am using only the perl API to access the database. Code is working some of the time but very slow also. What may be the problem. This occurs even when Internet connection is very stable. Additionally, what are the other formatters available other than 'TSV' Any help is greatly appreciated. Thanking in advance Manjula -- [http://www.linkedin.com/img/webpromo/btn_myprofile_160x33.png]<http://lk.linkedin.com/in/manjulapra> This communication (including any attachments) is intended for the use of the intended recipient only and may contain information that is confidential, privileged or legally protected. Any unauthorized use or dissemination of this communication is strictly prohibited. If you have received this communication in error, please immediately notify [email protected]<mailto:[email protected]> by return e-mail message and delete all copies of the original communication. Thank you for your cooperation.
_______________________________________________ Users mailing list [email protected] https://lists.biomart.org/mailman/listinfo/users
