Bug 967 - When xfs is restarted, X would not reconnect.
Summary: When xfs is restarted, X would not reconnect.
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: XFree86
Version: 5.2
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Preston Brown
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 1999-01-26 04:36 UTC by Aleksey Nogin
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2000-02-03 02:14:53 UTC

Attachments (Terms of Use)

Description Aleksey Nogin 1999-01-26 04:36:37 UTC
I have "tcp/some.host:7100" as the only element in my
FontPath. When the fontserver on "some.host" is restarted,
X  server starts behaving very badly - CPU utilization goes
to 100%, it would not allow any new application to start
(application would just freeze), etc. If I change the
FontPath (using xset fp ...) to something that does not
include tcp/some.host:7100 and back to "tcp/some.host:7100",
everything comes back to normal.

This was true for RH 5.0 and 5.1 and is still true for

Comment 1 David Lawrence 1999-03-18 16:24:59 UTC
Exactly how did you restart your font server? You should not use
SIGHUP instead use SIGUSR1. See man page.

Comment 2 Aleksey Nogin 1999-03-18 17:06:59 UTC
I restarted xfs by rebooting the computer it was running on.

Comment 3 Preston Brown 1999-03-22 21:01:59 UTC
make sure xfs is enabled.  As root, do a 'chkconfig --add xfs'.  This
should solve your problems.

Comment 4 Preston Brown 1999-03-22 21:03:59 UTC
Scratch that, I thought you were using 5.9 Beta.  You are still using
5.2.  We do not enable/configure/run xfs by default in Red Hat Linux
5.2 -- how are you starting it?  See the man page for configuration
information, it is most likely you have misconfigured the font
server.  We cannot locally duplicate the problem.

Comment 5 Aleksey Nogin 1999-03-22 21:10:59 UTC
I think you misunderstood me. Xfs is restarted fine when computer is
rebooted, the problem is that X server still tries to use the old TCP
connection and does not try to open a new one util I explicitly tell
it to do so (using xset).

P.S. I start xfs from init. In /etc/inittab I have:

mojave|~>grep xfs /etc/inittab
xf:345:respawn:/usr/bin/X11/xfs -config /etc/X11/fs/config -port 7100
xc:345:respawn:/usr/bin/X11/xfs -config /etc/X11/fs/config-cyrfirst
-port 7200

Comment 6 Aleksey Nogin 1999-06-08 02:31:59 UTC
I wanted to add that this problem is 100% reproducable on several
different machines and that it is very annoying.

Comment 7 Preston Brown 1999-06-11 18:13:59 UTC
I need to get this straight:  Are you experiencing errors when you
already have X up and running and you "restart" the font server? i.e.
kill it and restart it, or kill -HUP it?  If this is the case, this is
a known deficiency in the font server, but there is a work-around.  If
you make changes to the config file and you want the server to pick up
on them, send it the SIGUSR1 signal, i.e. killall -USR1 xfs.

I'm not sure what you mean when you say 'old tcp connection'.  If you
reboot the machine, all sockets get recycled.  There shouldn't be any
'old tcp connections' lying around at all.

Comment 8 Aleksey Nogin 1999-06-11 19:04:59 UTC
Yes, I am referring to that "known deficiency in the font server" and
I am saying that your workaround is not enough for me.

I am running X and xfs on _different_ machines. In fact, a single xfs
serves several X servers on several different machines. When the xfs
computer is rebooted, all those X servers go in a really bad state.

My question is: if I can make X recover by hands (using xset), why can
not X be programmed to detect that xfs connection went away and
recover on its own?

Comment 9 Aleksey Nogin 2000-02-03 02:14:59 UTC
This bug does not exist in RedHat 6.1 - when xfs is restarted, X now properly

Comment 10 Preston Brown 2000-02-03 16:47:59 UTC

Note You need to log in before you can comment on or make changes to this bug.