home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.aix
- Path: sparky!uunet!elroy.jpl.nasa.gov!usc!rpi!batcomputer!lynx@msc.cornell.edu!jaguar.msc.cornell.edu!rick
- From: rick@jaguar.msc.cornell.edu (Rick Cochran)
- Subject: Re: xdm consuming ulimit resources
- Message-ID: <1992Nov23.175933.13880@msc.cornell.edu>
- Sender: news@msc.cornell.edu
- Organization: Cornell Materials Science Center
- References: <18NOV199211475690@ctrvx1.vanderbilt.edu>
- Date: Mon, 23 Nov 1992 17:59:33 GMT
- Lines: 49
-
- In article <18NOV199211475690@ctrvx1.vanderbilt.edu>, umarsa00@ctrvx1.vanderbilt.edu (PROF. A.S. UMAR, (615)322-2459) writes:
- |> I have an RS/6000 with a bunch of X-stations. We have been running xdm
- |> for user auth. I have just realized that when I telnet directly to
- |> the workstation I get different ulimits compared to when I login
- |> via xdm from a X-station. The effect of this is that I do not have
- |> enough stack space to run XL fortran. So when you telnet directly the
- |> fortran works fine but when you login via xdm one gets the error:
- |> "Could not load program xlfentry
- |> Error was: Not enough space"
- |> message. I doubled my ulimits in /etc/security/limits file and restarted the
- |> system. This worked fine for ulimit -a from a telnet login but not from an
- |> xdm login. Here is a comperative ulimit -a output for the same user:
- |>
- |> via telnet via xdm
- |> ---------- -------
- |>
- |> time unlimited time unlimited
- |> file 2097151 file unlimited
- |> data 262144 data 131072
- |> stack 65536 stack 16384
- |> memory 32768 memory unlimited
- |> coredump 2048 coredump unlimited
- |>
- |> Where is and why xdm is changing these limits. I don't think xdm itself
- |> can consume so much. HEEEEEELP!!!!
- |>
- |> umar@compsci.cas.vanderbilt.edu Prof.A.S. Umar
- |> umarsa00@vuctrvax.bitnet Department of Physics & Astronomy
- |> Tel: (615) 322-2459 Vanderbilt University
- |> Fax: (615) 343-7263 Nashville, TN 37235
- |>
-
- This is because:
-
- 1) MIT xdm does not use "setpcred" (an IBMism) to get the proper limits.
-
- 2) xdm is run by "init" which has a restricted set of limits.
-
- You can either fix xdm to use setpcred or (if you don't care about per-user
- limits) start xdm like so:
-
- if [ -f /usr/bin/X11/xdm -a -f /usr/local/xdm/xdm-config ] ; then
- su root "-c /usr/bin/X11/xdm -config /usr/local/xdm/xdm-config"
- fi
-
- --
- |Rick Cochran 607-255-7223 rick@msc.cornell.edu|
- |Cornell Materials Science Center rick@crnlmsc2.bitnet|
- |E20 Clark Hall, Ithaca, N.Y. 14853 cornell!msc.cornell.edu!rick|
-