in reply to Re: Soap calls using multithreading running out of memory
in thread Soap calls using multithreading running out of memory

Can you suggest any thread safe module and to create a soap request and get response xml?

  • Comment on Re^2: Soap calls using multithreading running out of memory

Replies are listed 'Best First'.
Re^3: Soap calls using multithreading running out of memory
by Corion (Patriarch) on Jan 25, 2017 at 10:31 UTC

    If you're using SSL (https), then maybe the SSL modules are not thread-safe.

    Personally, I would look at running the SOAP transfer in a separate process and avoid threads then.

      SOAP::Lite uses LWP which in the current versions will use IO::Socket::SSL by default for the TLS which then uses Net::SSleay. These modules should be thread safe for a long time already. But it impossible to say what versions of the modules the OP is actually using nor it is possible to point out specific problems without having code to reproduce the problem.

      Yes, I am using HTTPS