Re: [exim] Exim under Solaris Zones?

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Jason Bergstrom
Datum:  
To: exim-users
Betreff: Re: [exim] Exim under Solaris Zones?
> On 2012-10-02 at 09:58 -0700, Jason Bergstrom wrote:
> > I do run Exim under Solaris Zones (sparc) and see no issues.
> >
> > You may be right about the (default 256) number of file descriptors,
> > as the max is now higher. This could be set either in
> > the startup script with ulimit -n, in /etc/project, or
> > with prctl (process.max-file-descriptor).
>
> Is there something reasonable, consistent with administrator
> expectations, that Exim could do on start-up on Solaris to either change
> or report on suspicious limits?
>
> Is this the same as the per-process RLIMIT_NOFILE but capped within the
> zone? Is there something equivalent to getrlimit(RLIMIT_NOFILE, ...)
> which could be used to get the limit?
>
> If a default install is likely to cause issues, I think it would be best
> to log something on start-up, and perhaps show the warning with "exim
> --version" (aka "exim -bV") too. Logging the anomaly but not attempting
> to override whatever the sysadmin has done seems, to me, to be the best
> approach, but I'm not a Solaris admin.
>
> -Phil
>

The Solaris getrlimit is standard, by you may want to look at:
http://www.opensolarisforum.org/man/man2/setrctl.html

By default zones are not capped, so would inherit the values from
the global (which is probably the value they are seeing).

Jason,
bergie@???