Article View: news.software.nntp
Article #38851Re: INN 2.2 (malloc on expiry problems - still)
From: Jon Harley
Date: Tue, 27 Jul 1999 00:00
Date: Tue, 27 Jul 1999 00:00
44 lines
2504 bytes
2504 bytes
Adam Bentley <ccx009@coventry.ac.uk> writes: >On Mon, 26 Jul 1999, John P Speno wrote: >> Have you increased the memory limits for your expiration process? >> (hint: see man ulimit). >umm, yes, but as a non root user you cannot increase the limits beyond >those already set. Only root can do that, and I cannot get the ulimit >settings to be inherited across an su, ie.... > >#!/bin/sh >ulimit -thing value >su - news </path/to/news.daily > >does not pass the new settings..... according to DEC support whom I spoke >to yesterday there is no way to pass the settings over like this, you have >to start tweaking kernel parameters..... ;-( Presumably you're so keen to use su so that the programs in news.daily create their files with the right ownership? What about if you: * run news.daily without expire * make expire setuid to news * run expire in the same sub-shell as the ulimit command ie (ulimit -whatever; expire -whatever) I believe this will allow expire to use the ulimits you set. Failing that I suppose you could run expire as root and change the file ownerships afterwards (guess INN'd have to be down for the duration, though). Otherwise, perhaps you need to ask in one of the comp.unix groups - this is really a unix question more than a news-specific question! Jon -- _____________________________________________________________________________ Dr JW Harley J.W.Harley@warwick.ac.uk UNIX/ATM/SAP Consultant See http://www.warwick.ac.uk/J.W.Harley/ for IT Services Department full contact details, PGP public key, CV etc University of Warwick
Technical Details
Message-ID:
<7nk22a$dlo$1@holly.csv.warwick.ac.uk>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<7ni07r$j0r$1@leofric.coventry.ac.uk> <19990726181906.D35939F74@lopan.isc-net.upenn.edu> <Pine.OSF.4.10.9907271029200.4384-100000@singer>Show Full Headers
Complete Article Headers
Message-ID: <7nk22a$dlo$1@holly.csv.warwick.ac.uk> Subject: Re: INN 2.2 (malloc on expiry problems - still) Date: Tue, 27 Jul 1999 00:00:00 +0000 From: Jon.Harley@warwick.ac.uk (Jon Harley) References: <7ni07r$j0r$1@leofric.coventry.ac.uk> <19990726181906.D35939F74@lopan.isc-net.upenn.edu> <Pine.OSF.4.10.9907271029200.4384-100000@singer> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 505732362 X-Complaints-To: abuse@csv.warwick.ac.uk X-Trace: holly.csv.warwick.ac.uk 933071754 14008 137.205.18.18 (27 Jul 1999 10:35:54 GMT) Organization: University of Warwick, UK NNTP-Posting-Date: 27 Jul 1999 10:35:54 GMT Newsgroups: news.software.nntp