[Oorexx-devel] rxapi queues

2019-03-05 Thread Bob Martin via Oorexx-devel
I have a program which runs every few seconds to check that several tasks are 
still running,
and restarts them if not.
The program fails on every build of ooRexx 5 that I have tried it on, back to 
11642

I have reduced the code to the minimum required to produce the error:

--
queue_name = rxqueue('Create')
call rxqueue 'Set',queue_name

do forever
   'ps -ef | grep rexx | rxqueue' queue_name
   do while queued() <> 0
  parse pull line
   end
   call SysSleep 1
end
exit
--

It fails after about 1000 passes through the loop with:

The REXX rxapi queuing system is not available.
grep: write error: Broken pipe



___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


Re: [Oorexx-devel] rxapi queues

2019-03-05 Thread Rick McGuire
What operating system are you running this on?

Rick

On Tue, Mar 5, 2019 at 4:54 AM Bob Martin via Oorexx-devel <
oorexx-devel@lists.sourceforge.net> wrote:

> I have a program which runs every few seconds to check that several tasks
> are still running,
> and restarts them if not.
> The program fails on every build of ooRexx 5 that I have tried it on, back
> to 11642
>
> I have reduced the code to the minimum required to produce the error:
>
> --
> queue_name = rxqueue('Create')
> call rxqueue 'Set',queue_name
>
> do forever
>'ps -ef | grep rexx | rxqueue' queue_name
>do while queued() <> 0
>   parse pull line
>end
>call SysSleep 1
> end
> exit
> --
>
> It fails after about 1000 passes through the loop with:
>
> The REXX rxapi queuing system is not available.
> grep: write error: Broken pipe
>
>
>
> ___
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


Re: [Oorexx-devel] rxapi queues

2019-03-05 Thread Enrico Sorichetti via Oorexx-devel
“ps -ef” is a linux command 
 

But the same happens on Darwin  after around 200 iterations 

E


> On 5 Mar 2019, at 11:44, Rick McGuire  wrote:
> 
> What operating system are you running this on?
> 
> Rick
> 
> On Tue, Mar 5, 2019 at 4:54 AM Bob Martin via Oorexx-devel 
>  > wrote:
> I have a program which runs every few seconds to check that several tasks are 
> still running,
> and restarts them if not.
> The program fails on every build of ooRexx 5 that I have tried it on, back to 
> 11642
> 
> I have reduced the code to the minimum required to produce the error:
> 
> --
> queue_name = rxqueue('Create')
> call rxqueue 'Set',queue_name
> 
> do forever
>'ps -ef | grep rexx | rxqueue' queue_name
>do while queued() <> 0
>   parse pull line
>end
>call SysSleep 1
> end
> exit
> --
> 
> It fails after about 1000 passes through the loop with:
> 
> The REXX rxapi queuing system is not available.
> grep: write error: Broken pipe
> 
> 
> 
> ___
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net 
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel 
> 
> ___
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel

___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


Re: [Oorexx-devel] rxapi queues

2019-03-05 Thread Jason Martin

OpenIndiana passed 30 minutes and still running:

Open Object Rexx Version 5.0.0 r11816
Build date: Mar  2 2019
Addressing mode: 64


On 03/05/19 04:53 AM, Bob Martin via Oorexx-devel wrote:

I have a program which runs every few seconds to check that several tasks are 
still running,
and restarts them if not.
The program fails on every build of ooRexx 5 that I have tried it on, back to 
11642

I have reduced the code to the minimum required to produce the error:

--
queue_name = rxqueue('Create')
call rxqueue 'Set',queue_name

do forever
'ps -ef | grep rexx | rxqueue' queue_name
do while queued() <> 0
   parse pull line
end
call SysSleep 1
end
exit
--

It fails after about 1000 passes through the loop with:

The REXX rxapi queuing system is not available.
grep: write error: Broken pipe



___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel




___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


Re: [Oorexx-devel] rxapi queues

2019-03-05 Thread Jason Martin

Over 1 hour stopping...


___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


Re: [Oorexx-devel] rxapi queues

2019-03-05 Thread Rick McGuire
I was able get a failure after just over 1000 on Ubuntu. Just committed a
fix that got me to over 1 before I decided to kill it.

Rick

On Tue, Mar 5, 2019 at 4:54 AM Bob Martin via Oorexx-devel <
oorexx-devel@lists.sourceforge.net> wrote:

> I have a program which runs every few seconds to check that several tasks
> are still running,
> and restarts them if not.
> The program fails on every build of ooRexx 5 that I have tried it on, back
> to 11642
>
> I have reduced the code to the minimum required to produce the error:
>
> --
> queue_name = rxqueue('Create')
> call rxqueue 'Set',queue_name
>
> do forever
>'ps -ef | grep rexx | rxqueue' queue_name
>do while queued() <> 0
>   parse pull line
>end
>call SysSleep 1
> end
> exit
> --
>
> It fails after about 1000 passes through the loop with:
>
> The REXX rxapi queuing system is not available.
> grep: write error: Broken pipe
>
>
>
> ___
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel