Prev: trading
Next: closing curly brace unrecognized
From: Andrzej Kozlowski on 13 Oct 2009 07:22 I have been experiencing rare but very irritating problems running Mathematica 7.01 under Mac OS 10.6 (Snow Leopard) on a MacBook. What happens is that for some reason the kernel suddenly quits during an evaluation. When I try to restart it (by evaluating some expression) I get the message: "The kernel failed to start because you attempted to run more Mathematica kernels than you have licensed." There are two buttons, Purchase and Cancel. I find it rather annoying that the Purchase button is selected by default but not half as annoying as the fact that clicking on either button produces no effect. Everything is actually frozen and there is no way out other than force quitting Mathematica. Has anyone experienced anything similar? As I mentioned - this seems fairly rare; it has happened twice since I installed Snow Leopard about a month ago and I can't reproduce it. Andrzej Kozlowski
From: Patrick Scheibe on 13 Oct 2009 23:16 Hi, no, it's not that worse. I didn't had this but it would help to kill the frozen kernel which is occupying your licence. Just open a "Terminal" (it's a program under a subdirectory of the Applications dir, you should find it). Type an adapted version of this: ps -u patrick | grep Math and you get something like 502 704 ?? 76:55.60 /Applications/Mathematica.app/Contents/ MacOS/Mathematica -psn_0_135201 502 55843 ?? 1:05.73 /Applications/Mathematica.app/Contents/ MacOS/MathKernel -mathlink -linkmode connect -linkprotocol SharedMemory -linkname bze_shm 502 55844 ?? 0:16.46 /Applications/Mathematica.app/ SystemFiles/Links/JLink/JLink.app/Contents/MacOS/JavaApplicationStub - init /tmp/m000001558431 -mathlink -linkmode connect -linkprotocol SharedMemory -linkname 4hs_shm 502 55846 ?? 0:11.44 /Applications/Mathematica.app/ SystemFiles/Converters/Binaries/MacOSX-x86-64/TIFF.exe -mathlink - linkmode connect -linkprotocol SharedMemory -linkname j54_shm you have to kill the MathKernel bei either using the process id: kill -9 55843 or by killall -9 MathKernel Hope this helps. Cheers Patrick Am Oct 13, 2009 um 1:18 PM schrieb Andrzej Kozlowski: > Actually the situation is even worse than I described below. When I > try to restart Mathematica after force quitting it, I get the message > that the 2-user limit on this license has been reached. Contact > Wolfram Research or an authorized Mathematica distributor for > information on upgrding your license configuration. > > It seems that I have to restart my computer to be able to use > Mathematica again, which is really getting somewhat ridiculous. > > Andrzej Kozlowski > > > On 13 Oct 2009, at 17:56, Andrzej Kozlowski wrote: > >> I have been experiencing rare but very irritating problems running >> Mathematica 7.01 under Mac OS 10.6 (Snow Leopard) on a MacBook. What >> happens is that for some reason the kernel suddenly quits during an >> evaluation. When I try to restart it (by evaluating some expression) >> I get the message: "The kernel failed to start because you attempted >> to run more Mathematica kernels than you have licensed." There are >> two buttons, Purchase and Cancel. I find it rather annoying that the >> Purchase button is selected by default but not half as annoying as >> the fact that clicking on either button produces no effect. >> Everything is actually frozen and there is no way out other than >> force quitting Mathematica. >> >> Has anyone experienced anything similar? As I mentioned - this seems >> fairly rare; it has happened twice since I installed Snow Leopard >> about a month ago and I can't reproduce it. >> >> Andrzej Kozlowski >> > >
From: Jason Ledbetter on 13 Oct 2009 23:17 I have recently started running into the same... In my case it seems to be happening as a result of some interaction between Wolfram Workbench running one instance of mathematica and my 'normal' mathematica session running. It seems as though something isn't quite cleaning itself up sometimes.. I've been able to recover w/o a reboot by manually killing all Mathematica processes and restarting the application however. -jbl On Tue, Oct 13, 2009 at 7:18 AM, Andrzej Kozlowski <akoz(a)mimuw.edu.pl>wrote: > Actually the situation is even worse than I described below. When I > try to restart Mathematica after force quitting it, I get the message > that the 2-user limit on this license has been reached. Contact > Wolfram Research or an authorized Mathematica distributor for > information on upgrding your license configuration. > > It seems that I have to restart my computer to be able to use > Mathematica again, which is really getting somewhat ridiculous. > > Andrzej Kozlowski > > > On 13 Oct 2009, at 17:56, Andrzej Kozlowski wrote: > > > I have been experiencing rare but very irritating problems running > > Mathematica 7.01 under Mac OS 10.6 (Snow Leopard) on a MacBook. What > > happens is that for some reason the kernel suddenly quits during an > > evaluation. When I try to restart it (by evaluating some expression) > > I get the message: "The kernel failed to start because you attempted > > to run more Mathematica kernels than you have licensed." There are > > two buttons, Purchase and Cancel. I find it rather annoying that the > > Purchase button is selected by default but not half as annoying as > > the fact that clicking on either button produces no effect. > > Everything is actually frozen and there is no way out other than > > force quitting Mathematica. > > > > Has anyone experienced anything similar? As I mentioned - this seems > > fairly rare; it has happened twice since I installed Snow Leopard > > about a month ago and I can't reproduce it. > > > > Andrzej Kozlowski > > > >
From: Joel Reymont on 13 Oct 2009 23:18 I'm running the 7.0.1 on Snow Leopard. It hasn't quit on me yet but I suspect that the kernel might actually be running in the background and you need to kill it. Either that or there's some 'lock file' left behind that tells a new kernel that an old kernel is still running. I'm sorry I can't be more helpful but I'll be on the lookout for this issue.
From: Bill Rowe on 13 Oct 2009 23:20
On 10/13/09 at 7:18 AM, akozlowski(a)gmail.com (Andrzej Kozlowski) wrote: >I have been experiencing rare but very irritating problems running >Mathematica 7.01 under Mac OS 10.6 (Snow Leopard) on a MacBook. What >happens is that for some reason the kernel suddenly quits during an >evaluation. When I try to restart it (by evaluating some expression) >I get the message: "The kernel failed to start because you attempted >to run more Mathematica kernels than you have licensed." There are >two buttons, Purchase and Cancel. I find it rather annoying that the >Purchase button is selected by default but not half as annoying as >the fact that clicking on either button produces no effect. >Everything is actually frozen and there is no way out other than >force quitting Mathematica. >Has anyone experienced anything similar? As I mentioned - this seems >fairly rare; it has happened twice since I installed Snow Leopard >about a month ago and I can't reproduce it. Yes, I've seen something very similar which as you say is very rare. It has only occurred once or twice since I installed Snow Leopard about a month ago. Far too seldom to associate it with a specific action on my part. I will note I was having another problem with Mathematica and Snow Leopard which I now attribute to a third party utility I had installed, Key Cue. That utility would produce a display of all the key board shortcuts available in a program after holding a trigger key down for a while. With Key Cue installed, I Mathematica would beep indicating an error. Mathematica acted as if I tried to evaluate something without having anything selected. Whenever this problem occurred, Mathematica's memory consumption would significantly increase. It only took a few times until several swap files would be created significantly slowing Mathematica. I've not had this problem since removing Key Cue from my system. I've also not experienced the other issue since removing Key Cue. But this may be entirely coincidental given how rarely the other has occurred. |