http://www.perlmonks.org?node_id=973368


in reply to SOAP::LITE client timeout makes ALL my Catalyst app to wait

Without more information, my guess is you're using the script/myapp_server.pl and you're running it in single threaded mode.

Use the -fork option to script/myapp_server.pl so that the server can serve more than one request at a time, or more preferentially use a forking web server like mod_perl or something similar.

and/or

Create a job queue for the functionality that happens in check_result and then somehow poll the server for job completion (perhaps using AJAX).

Replies are listed 'Best First'.
Re^2: SOAP::LITE client timeout makes ALL my Catalyst app to wait
by miguelele (Beadle) on May 30, 2012 at 21:38 UTC

    Thank you. I am using Nginx / Perl-fcgi, listening trough a port. (Mostly configured with default option...).

    But the SOAP requests go trough another port, so I do not understand how it can hang all i/o and processes.

    Migue.