Page 1 of 1

session crash while running matlab

Posted: 2011/07/19 11:56:26
by avi_levy
I am running matlab 2010b on centOS5.6.
Matlab opened without any error either in the computer terminal or in VNCSERVER.
While running bench (of matlab) the session or the vncserver are crashing.
In some cases the bench run for the first time without any problems, however it will crash the session or the vncserver on the 2-3 runs of the same code.
Any idea how to solve this issue?
Thanks
Avi

session crash while running matlab

Posted: 2011/07/19 13:32:10
by gerald_clark
Welcome to CentOS.
New users should read:
http://www.centos.org/modules/newbb/viewforum.php?forum=47

Please do not double post.

The term "crash" is not very descriptive.
Error messages and a history of what you have done to
troubleshoot the problem would be more helpful.

Re: session crash while running matlab

Posted: 2011/07/20 16:00:07
by avi_levy
"crash" means that the processes are killed.
In the vncserver case I need to delete the locks file in order to run the server again.
In the session case it kill the session and all the processes within it and a new login screen is obtained.

Re: session crash while running matlab

Posted: 2011/07/20 17:40:18
by pschaff
That's pretty severe. Any problems other than with Matlab? Try running "top" to monitor memory usage, and "free -m" before and after each Matlab "bench" (benchmark?) run. May be a memory leak.

Re: session crash while running matlab

Posted: 2011/07/20 18:28:04
by avi_levy
Thanks, Memory is not a problem. I have plenty before and after (see bellow) the first time runing the benchmark. The vncserver crashed on the second run.

total used free shared buffers cached
Mem: 7995 1494 6501 0 31 991
-/+ buffers/cache: 472 7523
Swap: 23446 0 23446
[

I have the same problem on various machines (intel and AMD processors) all runing the same OS and software.
I don't have similar problems with other softwares

When running matlab without grapic mode (matlab -nodisplay) the problem vanished. However I don't have any graphics.

Any sugssition how to solve this problem?

Re: session crash while running matlab

Posted: 2011/07/20 19:20:42
by pschaff
A [url=http://www.mathworks.com/support/?s_cid=global_nav]MathWorks bug report[/url] or other support request is all I can suggest. It does not seem to be a CentOS problem.