X font server does not like long PIDs

Alan Coopersmith Alan.Coopersmith at Sun.COM
Mon Mar 17 18:01:46 PDT 2008

Stephan A. Maciej wrote:
> Hi,
> under Linux, you can set the maximum PID via doing
> echo N >/proc/sys/kernel/pid_max
> Typically, N is 32768, so that PIDs are 5 digits or less. The X font server 
> relies on this and fails to daemonize if the decimal representation of 
> getpid()'s return value is longer than 5 digits. The following patch fixes 
> the problem for me. Diff is against xfs-1.0.4.

Thanks - pushed to git master.

	-Alan Coopersmith-           alan.coopersmith at sun.com
	 Sun Microsystems, Inc. - X Window System Engineering

More information about the xorg mailing list