commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mladen Turk (JIRA)" <>
Subject [jira] Commented: (DAEMON-192) Make jsvc enforce /etc/security/limits.conf , or add a parameter for setting limits
Date Tue, 18 Jan 2011 08:18:46 GMT


Mladen Turk commented on DAEMON-192:

Hmm, since it's hardly that jsvc will be invoked outside the shell think that setting ulimit
directly will
be much better solution then playing with setrlimit system calls within jsvc.
Giving a notice and an example in documentation would be much better then
breaking compatibility by introducing a new cmdline option.

Think I'll resolve this case by updating the documentation and couple of example scripts.

> Make jsvc enforce /etc/security/limits.conf , or add a parameter for setting limits
> -----------------------------------------------------------------------------------
>                 Key: DAEMON-192
>                 URL:
>             Project: Commons Daemon
>          Issue Type: Improvement
>          Components: Jsvc
>         Environment: Linux, maybe all Unixes
>            Reporter: Roberto Resoli
>            Priority: Minor
> When launched with -user parameter, jsvc downgrades user via setuid() system call, but
the operating system limits (max number of open files, for example) remains the same. 
> This is not convenient for running daemons (like Tomcat) which very often need a customization
of such limits. 

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message