Re: [Pharo-users] RFB on 2.0 + linux - semaphore primitive failed

2013-09-24 Thread Mariano Martinez Peck
OK. I think I am having the same issue here. I am using Pharo2.0 Latest
update: #20619, and a Mac VM of  Mar 13 2013.
I have a SmalltalkHub image running with RFB. If I save the image with the
RFBServer running, my image freezes. If the server is stopped while saving,
there is no problem. The hung seems to be AFTER the image save itself,
because if I kill the process and start again, the image was saved.

Does somebody remember if this was solve or not? if not, I will try to
debug a bit.


On Tue, Sep 3, 2013 at 4:25 PM, Stéphane Ducasse
stephane.duca...@inria.frwrote:

 Hi Paul2

  Paul Wilke wrote
  Hi,
  we have a similar problem. Which VM should one use? We had the StackVM
 in
  productive use but now after using Pharo 2.0 we have this primitive
 error
  and a stuck image. We found one cause in a the netname resolver.

 Can you explain what is the netname resolver problem.

 
  I would greatly appreciate an info about which vm exactly to use or how
 to
  further diagnose this problem.
  Kind regards,
  Paul
 
 
  I ended up reverting back to Pharo 1.4 and don't have plans to use Pharo
 2
  in production.

 If you do not give us more information we will never be able to fix it.
 And may be 3.0 will still have the problem and you will start using system
 that is 3 year old.
 I can understand that you get in a situation where you cannot do otherwise
 but do not expect
 us to fix magically things.

 Stef



  --
  View this message in context:
 http://forum.world.st/RFB-on-2-0-linux-semaphore-primitive-failed-tp4701741p4706301.html
  Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
 





-- 
Mariano
http://marianopeck.wordpress.com


Re: [Pharo-users] RFB on 2.0 + linux - semaphore primitive failed

2013-09-03 Thread Paul DeBruicker
Paul Wilke wrote
 Hi,
 we have a similar problem. Which VM should one use? We had the StackVM in
 productive use but now after using Pharo 2.0 we have this primitive error
 and a stuck image. We found one cause in a the netname resolver.
 
 I would greatly appreciate an info about which vm exactly to use or how to
 further diagnose this problem.
 Kind regards,
 Paul


I ended up reverting back to Pharo 1.4 and don't have plans to use Pharo 2
in production.  



--
View this message in context: 
http://forum.world.st/RFB-on-2-0-linux-semaphore-primitive-failed-tp4701741p4706301.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] RFB on 2.0 + linux - semaphore primitive failed

2013-09-03 Thread Stéphane Ducasse
Hi Paul2

 Paul Wilke wrote
 Hi,
 we have a similar problem. Which VM should one use? We had the StackVM in
 productive use but now after using Pharo 2.0 we have this primitive error
 and a stuck image. We found one cause in a the netname resolver.

Can you explain what is the netname resolver problem. 

 
 I would greatly appreciate an info about which vm exactly to use or how to
 further diagnose this problem.
 Kind regards,
 Paul
 
 
 I ended up reverting back to Pharo 1.4 and don't have plans to use Pharo 2
 in production.  

If you do not give us more information we will never be able to fix it. 
And may be 3.0 will still have the problem and you will start using system that 
is 3 year old. 
I can understand that you get in a situation where you cannot do otherwise but 
do not expect 
us to fix magically things.

Stef



 --
 View this message in context: 
 http://forum.world.st/RFB-on-2-0-linux-semaphore-primitive-failed-tp4701741p4706301.html
 Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
 




[Pharo-users] RFB on 2.0 + linux - semaphore primitive failed

2013-07-31 Thread Paul DeBruicker
Hi -

In Pharo2 do I need to stop and start the RFB server?  I 've been
getting a

primitive #signal in Semaphore failed

error after the image starts.  I'm using this version of RFB

RFB-MarianoMartinezPeck.41

Thanks

Paul



Re: [Pharo-users] RFB on 2.0 + linux - semaphore primitive failed

2013-07-31 Thread Mariano Martinez Peck
Maybe this is related to #maxExternalSemaphores: ?

Did you try sending a large number?  For my seaside images where I have RFB
I do:

Smalltalk vm maxExternalSemaphoresSilently: 65535.

Cheers,


On Wed, Jul 31, 2013 at 3:45 PM, Paul DeBruicker pdebr...@gmail.com wrote:

 Hi -

 In Pharo2 do I need to stop and start the RFB server?  I 've been
 getting a

 primitive #signal in Semaphore failed

 error after the image starts.  I'm using this version of RFB

 RFB-MarianoMartinezPeck.41

 Thanks

 Paul




-- 
Mariano
http://marianopeck.wordpress.com


Re: [Pharo-users] RFB on 2.0 + linux - semaphore primitive failed

2013-07-31 Thread Paul DeBruicker
I don't know.  I don't get the errors that used to occur with the max
semaphores being exceeded.  I thought Igor Stasenko fixed that issue in
the VM so the array that holds the semaphores grows without blocking.
Or something.



What I do know is that if I 'abandon' that warning and save  quit and
then reopen the image then the UI is locked and I have to use Seaside's
WAScreenshot tool to suspend and resume the UI to unfreeze it.





On 07/31/2013 11:57 AM, Mariano Martinez Peck wrote:
 Maybe this is related to #maxExternalSemaphores: ?
 
 Did you try sending a large number?  For my seaside images where I have
 RFB I do:
 
 Smalltalk vm maxExternalSemaphoresSilently: 65535.
 
 Cheers,
 
 
 On Wed, Jul 31, 2013 at 3:45 PM, Paul DeBruicker pdebr...@gmail.com
 mailto:pdebr...@gmail.com wrote:
 
 Hi -
 
 In Pharo2 do I need to stop and start the RFB server?  I 've
 been
 getting a
 
 primitive #signal in Semaphore failed
 
 error after the image starts.  I'm using this version of RFB
 
 RFB-MarianoMartinezPeck.41
 
 Thanks
 
 Paul
 
 
 
 
 -- 
 Mariano
 http://marianopeck.wordpress.com




Re: [Pharo-users] RFB on 2.0 + linux - semaphore primitive failed

2013-07-31 Thread Igor Stasenko
On 31 July 2013 22:17, Paul DeBruicker pdebr...@gmail.com wrote:
 I don't know.  I don't get the errors that used to occur with the max
 semaphores being exceeded.  I thought Igor Stasenko fixed that issue in
 the VM so the array that holds the semaphores grows without blocking.
 Or something.

You can have as big as you want array with semaphores.
There is no limits and maxExternalSemaphoresSilently is just does
nothing and ignored.



 What I do know is that if I 'abandon' that warning and save  quit and
 then reopen the image then the UI is locked and I have to use Seaside's
 WAScreenshot tool to suspend and resume the UI to unfreeze it.


weird. i would start from figuring out, why primitive failed..and for
which semaphore.


-- 
Best regards,
Igor Stasenko.