Re: portmap fails after NR_OPEN increased

Alan Cox (alan@lxorguk.ukuu.org.uk)
Wed, 1 Sep 1999 18:36:40 +0100 (BST)


> I've installed a Red Hat 6.0 machine and recompile the kernel (2.2.5
> supplied, by Red Hat on the CDROM) increasing file_max and NR_OPEN (as
> described in the proc.txt under Documentation). Now whenever I try to
> start portmapper service it dies immidietly withe error:
> Sep 1 19:47:20 gamedev portmap[8179]: run_svc returned unexpectedly
>
> Any of the hackers (in the right sense of the word) can help me solve
> this?

Sunrpc doesnt like it if you do that. Put the numbers back as they were
and use ulimit to raise them for the programs you want to raise the handles
per process and /proc/sys for controlling total file handles on the box.

The doc there is a bit misleading as RH ships the large-fd-set patch built in

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/