Matlab takes 5 minutes to start and opens many thousands of connections to license server

1 view (last 30 days)
Hello,
I have a couple of machines with Matlab 2012a installed. Both are connected to the same network, and configured to use the same license server.
The machines run Linux, and I am running Matlab headlessly using the command '/usr/local/MATLAB/R2012a/bin/matlab -nosplash -nodesktop -nodisplay -r "1+1,quit"' to test.
-- On machine 1, Matlab returns almost immediately (under 3 seconds). If I run 'netstat' at the same time, I see just a couple of connections go out to the license server.
-- On machine 2, Matlab takes 5-8 minutes (!) to respond. Running netstat again, I see many thousands (~20,000) of connections out to the license server, mostly in TIME_WAIT.
-- Machine 1 runs Ubuntu 12.04. Machine 2 runs CentOS 6.5.
We're stuck as to how to debug this issue further - does anybody know what would cause Matlab to behave in this way? The installs are identical, and I've verified access to the Matlab License Server is not firewalled, as I can open a connection to the port using 'telnet mylicenseserver 1705', where 1705 is the license server port.
Many thanks,
Neil

Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!