Re: [Xpert]X Port numbers not be reused

2002-05-27 Thread Dr Andrew C Aitchison

On Fri, 24 May 2002, Mark Cuss wrote:

> We run a RedHat 7.2 server in our office (been up for 180 days).  We
> run X on the server, and clients connect to the server with their
> Windows boxes using Exceed.  This had always worked very
> well untilyesterday, we noticed that the port numbers that X
> uses for the client connections don't seem to be "recycled".  From
> what I understand, X starts its port numbers at 6000.  Over the
> course of the past six months, the port numbers have slowly crawled
> up to the 50,000 range.  This poses a problem for us as we use ports
> in the 50,000 range for inter process communications between our
> software and these ports are now being used by X so we aren't able
> to open them.

>  I tried killing the X server (CTRL-ALT-BACKSPACE).  I also tried
> restarting the xfs service as well as the network service but with
> no luck - X continues to use ports in the 50,000 range instead of
> starting again at the first free port after 6000.

I'd be very suprised if the XFree86 server is using any port other
than 6000+, and display number is either 0 or given
on the command line.

Have your tried restarting xdm or sshd ?
As someone else suggested, Exceed might be involved; does restarting
that help ?

Can you confirm from the output of "lsof" that it is indeed the
X server which is using these ports ?

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert]X Port numbers not be reused

2002-05-24 Thread David L. Gehrt

> On May 24, 2002 07:53 am, Mark Cuss wrote:

> In this case, Exceed on your desktops are the servers, the applications on 
> your Linux Box are the clients. Applications on the Linux Box connect to the 
> Server on a user's desktop on port 6000. If there are high numbered ports 
> being used on the Linux box, it is very likely something else that  is useing
 
> the ports. type:
> netstat --ip -l -p -e
> as root on the Linux Box to see who is running what program listening on what
> port. There may be steadily increasing-source-ported out-going connections if
 
> your users use webbrowsers on the Linux Box and do not log out each night. 
> This shouldn't interfere with your system anyways.
> 
> > I tried killing the X server (CTRL-ALT-BACKSPACE).  I also tried restarting
> > the xfs service as well as the network service but with no luck - X
> > continues to use ports in the 50,000 range instead of starting again at the
> > first free port after 6000.
> 
> It's Probably not X useing these ports. 


I have had a similar problem from time to time, and with X processes that
I fire up using X  forwarding in SSH.  I occasionally have to go in and
delete the x ports that get blocked by my firewall rules. 

I do not know what is going on with Mark's users, but my excess ports
are related to X, or ssh and I would like to know how to get rid of the
unconnected ports without manual intervention.

dlg
___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert]X Port numbers not be reused

2002-05-24 Thread Trent Whaley

On May 24, 2002 07:53 am, Mark Cuss wrote:
>
> We run a RedHat 7.2 server in our office (been up for 180 days).  We run X
> on the server, and clients connect to the server with their Windows boxes
> using Exceed.  This had always worked very well  untilyesterday
> ... the port numbers have slowly crawled up to the 50,000 range. 

In this case, Exceed on your desktops are the servers, the applications on 
your Linux Box are the clients. Applications on the Linux Box connect to the 
Server on a user's desktop on port 6000. If there are high numbered ports 
being used on the Linux box, it is very likely something else that  is useing 
the ports. type:
netstat --ip -l -p -e
as root on the Linux Box to see who is running what program listening on what 
port. There may be steadily increasing-source-ported out-going connections if 
your users use webbrowsers on the Linux Box and do not log out each night. 
This shouldn't interfere with your system anyways.

> I tried killing the X server (CTRL-ALT-BACKSPACE).  I also tried restarting
> the xfs service as well as the network service but with no luck - X
> continues to use ports in the 50,000 range instead of starting again at the
> first free port after 6000.

It's Probably not X useing these ports. 

___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



[Xpert]X Port numbers not be reused

2002-05-24 Thread Mark Cuss



Hello all
 
We run a RedHat 7.2 server in our office (been up 
for 180 days).  We run X on the server, and clients connect to the server 
with their Windows boxes using Exceed.  This had always worked very 
well  untilyesterday, we noticed that the port numbers that X uses 
for the client connections don't seem to be "recycled".  From what I 
understand, X starts its port numbers at 6000.  Over the course of the past 
six months, the port numbers have slowly crawled up to the 50,000 
range.  This poses a problem for us as we use ports in the 50,000 range for 
inter process communications between our software and these ports are now being 
used by X so we aren't able to open them.
 
I tried killing the X server 
(CTRL-ALT-BACKSPACE).  I also tried restarting the xfs service as well as 
the network service but with no luck - X continues to use ports in the 50,000 
range instead of starting again at the first free port after 6000.
 
If anyone has seen this before or has any hints on 
how to resolve this, please let me know - it would be greatly 
appreciated.
 
The machine is:
    Dual Pentium III Coppermine 1 
GHz server (Dell Poweredge 1400)
    768 MB RAM
    108 GB SCSI disk 
space
    Video card is an on-board ATI 
Rage XL
    XFree 4.1.0 (RedHat 7.2 
stock)
    Kernel 2.4.13 (compiled from 
vanilla source)
 
If anyone needs any more details please let me 
know
 
Thanks
 
Mark CussReal Time Systems AnalystCDL 
Systems Ltd.Suite 2303553 - 31 Street NWCalgary, AlbertaT2L 
2K7
 
Phone (403) 289-1733 extension 226Email:  
[EMAIL PROTECTED]URL: www.cdlsystems.com