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

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.

Replies are listed 'Best First'.
Re^4: Soap calls using multithreading running out of memory
by noxxi (Pilgrim) on Jan 26, 2017 at 09:36 UTC

    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.

Re^4: Soap calls using multithreading running out of memory
by bsshetty17 (Acolyte) on Jan 27, 2017 at 05:33 UTC

    Yes, I am using HTTPS