session crash while running matlab

Issues related to software problems.
Post Reply
avi_levy
Posts: 5
Joined: 2010/07/23 07:04:19

session crash while running matlab

Post by avi_levy » 2011/07/19 11:56:26

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

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

session crash while running matlab

Post by gerald_clark » 2011/07/19 13:32:10

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.

avi_levy
Posts: 5
Joined: 2010/07/23 07:04:19

Re: session crash while running matlab

Post by avi_levy » 2011/07/20 16:00:07

"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.

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: session crash while running matlab

Post by pschaff » 2011/07/20 17:40:18

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.

avi_levy
Posts: 5
Joined: 2010/07/23 07:04:19

Re: session crash while running matlab

Post by avi_levy » 2011/07/20 18:28:04

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?

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: session crash while running matlab

Post by pschaff » 2011/07/20 19:20:42

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.

Post Reply