Return to BSD News archive
Newsgroups: comp.unix.bsd.freebsd.misc Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.uwa.edu.au!DIALix!melbourne.DIALix.oz.au!seeware!news From: mark@seeware.DIALix.oz.au (Mark Hannon) Subject: Re: running out of processes? :-( Sender: news@seeware.DIALix.oz.au (Charlie Root) Nntp-Posting-Host: localhost Organization: SeeWare Software Message-ID: <DHz1Bw.5wL@seeware.DIALix.oz.au> References: <47vjal$coa@yama.mcc.ac.uk> Date: Mon, 13 Nov 1995 07:40:43 GMT Lines: 53 In article <47vjal$coa@yama.mcc.ac.uk>, ip@mcc.ac.uk (Ian Pallfreeman) writes: >So far I've been _very_ pleased with the 2.1 snapshots, all my problems have >been due to me. I've finally ditched my ancient Sun! > >Alas, I think I'm stuck. I habitually have half-a-dozen xloads, clock, xeyes, >and a variable number of xterms onto the various machines I babysit for a >living. And I'm pretty sure I'm running out of processes, since I'm getting >fork() failures with "resource temporarily unavailable". > >I've bumped the maxusers in the config, as I would customarily do with a SunOS >kernel rebuild, but to no effect. > >Does anybody have any suggestions as to what I need to tweak to give me more >processes? One perhaps vital item of information is that I'm starting all this >stuff up with xdm. > Recognise the problem, I use tcsh and have the following setup in /usr/X11R6/lib/xdm:- Xsession file ------------- #!/bin/sh | blah blah | # Start the appropriate xsession exec /usr/X11R6/lib/X11/xdm/Xsession.tcsh Xsession.tcsh file ------------------ #!/usr/local/bin/tcsh -f | blah | # Remove limits to the maximum no of processes unlimit maxproc | continues.... Use these two files as templates and you're in business. rgds/mark -- +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+ | Mark Hannon,| FreeBSD - Free Unix for your PC| mark@seeware.DIALix.oz.au| | Melbourne, | PGP key available by fingering | epamha@epa.ericsson.se | | Australia | seeware@melbourne.DIALix.oz.au | | +-=-=-=-=-=-=-+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+