No more port numbers available

47 views
Skip to first unread message

lwlodar

unread,
May 8, 2007, 4:31:53 AM5/8/07
to jBASE
Hi,

Is there any limitation for background processes, started using
PHANTOM command ? I found no information about this command at jBASE
page, and it seems that there is a limit of 300 processes.

Running command: PHANTOM ls
i got message:
PHANTOM ls
Phantom process started on process id 704704
[704704] Done : ls
No more port numbers available
connect: The file access permissions do not allow the specified
action.

?? Is there any way for changing this limit ??

Kind regards
Leszek

Jim Idle

unread,
May 8, 2007, 11:16:27 AM5/8/07
to jB...@googlegroups.com
You should be able to change this by looking in your config sub
directory and editing the relevant config file (in fact this is the
answer to all such questions). I think there is a jpml.config in there,
but you should find it.

Next though - 300 background processes? Are you sure about that - what
are they all doing?

Jim

Lawrence J. Rizzo

unread,
May 8, 2007, 11:26:36 AM5/8/07
to jB...@googlegroups.com
I have received this same error but it seemed to be because of the setting
of jbcconnect. Try commenting that out and see if that error goes away.

Apparently there is some risk to doing this if the programming used named
common and there are subsequent calls to a program running at the same time
so please be aware of this!

Greg Cooper

unread,
May 8, 2007, 11:27:36 AM5/8/07
to jB...@googlegroups.com
Or you can use PH-ALLOCATE, for example to allocate another 400 lines for background use between ports 3000 and 3399 use this
 
   PH-ALLOCATE 3000 3399 (B
 
See also the PH-LINES command. Both commands documented in the "jBASE Background Processing" document which should be downloadable.
 
But Jim is correct -- 300 is a lot of phantoms, are you sure you need more?
 
Greg

David M Meyer

unread,
May 8, 2007, 12:33:05 PM5/8/07
to jB...@googlegroups.com
Yes, more then 300 ports could be needed, we need 316 just for printers because they use up a background port per printer, then there is another 26 for RF Gun processing throw in a few more for some miscellaneous process and we need about 350 to start up our system.  Our EOD process can have a 1 or 2 background process running for each of our locations ( there are 27) so we have configured our to start with 600 ports assigned to background processes, just to be safe.
 
In the jbase/config/Config_jPML file the background ports are defined with the statement:
 
port_background = 10000 10600
 
 
 
System                                       : IBM P570
OS Release                                 : AIX 5.3.0.0
jBASE RELEASE Information        : Major 3.4 , Minor 8 , Patch 0351
User License                                : 350+
 
 
David
 


From: jB...@googlegroups.com [mailto:jB...@googlegroups.com] On Behalf Of Greg Cooper
Sent: Tuesday, May 08, 2007 10:28 A
To: jB...@googlegroups.com
Subject: Re: No more port numbers available

lwlodar

unread,
May 9, 2007, 8:20:10 AM5/9/07
to jBASE
Hello,

it happens when developers like implementing phantoms, and you have
many Globus environments at a single machine,

Thanks for help,

Leszek

On May 8, 6:33 pm, "David M Meyer" <dav...@inlandtruck.com> wrote:
> Yes, more then 300 ports could be needed, we need 316 just for printers because they use up a background port per printer, then
> there is another 26 for RF Gun processing throw in a few more for some miscellaneous process and we need about 350 to start up our
> system. Our EOD process can have a 1 or 2 background process running for each of our locations ( there are 27) so we have
> configured our to start with 600 ports assigned to background processes, just to be safe.
>
> In the jbase/config/Config_jPML file the background ports are defined with the statement:
>
> port_background = 10000 10600
>
> System : IBM P570
> OS Release : AIX 5.3.0.0
> jBASE RELEASE Information : Major 3.4 , Minor 8 , Patch 0351
> User License : 350+
>
> David
>
> _____
>

> > Leszek- Hide quoted text -
>
> - Show quoted text -

Reply all
Reply to author
Forward
0 new messages