Re: Setting system-wide ulimits (esp. # of open files)

2004-01-04 Thread Holger Rauch
Hi! On Sat, 03 Jan 2004, Shaul Karl wrote: > There might be a switch to the kernel, perhaps by using /proc, which > let you do that. Or so I believe. I assume that if the kernel enforces a > lower limit then you wouldn't be able to change it without instructing > the kernel otherwise. However

Re: Setting system-wide ulimits (esp. # of open files)

2004-01-04 Thread Holger Rauch
Hi! Thanks for your reply! On Sat, 03 Jan 2004, Jan Minar wrote: > > On Sat, 03 Jan 2004, GCS wrote: > > I tried that too, but got an "Operation not permitted" message as soon as > > I logged in as a regular user. > > Exactly. This is a feature. Mere users can't higher their hard limits, > so

Re: Setting system-wide ulimits (esp. # of open files)

2004-01-03 Thread Shaul Karl
On Sat, Jan 03, 2004 at 08:12:42PM +0100, GCS wrote: > On Sat, Jan 03, 2004 at 08:04:02PM +0100, Holger Rauch <[EMAIL PROTECTED]> wrote: > > Any other ideas on what else I could try in order to increase the # > > of open file descriptors to 32000 for all users and why the approach with > > editing

Re: Setting system-wide ulimits (esp. # of open files)

2004-01-03 Thread Jan Minar
> On Sat, 03 Jan 2004, GCS wrote: > I tried that too, but got an "Operation not permitted" message as soon as > I logged in as a regular user. Exactly. This is a feature. Mere users can't higher their hard limits, so they can't DoS the system. Either use sudo/su for the particular task, or set

Re: Setting system-wide ulimits (esp. # of open files)

2004-01-03 Thread Holger Rauch
Hi! Thanks for your quick reply! On Sat, 03 Jan 2004, GCS wrote: > [...] > Maybe put the relevant lines into /etc/profile? Someone really know a > better solution, this one is ugly IMHO. I tried that too, but got an "Operation not permitted" message as soon as I logged in as a regular user. G

Re: Setting system-wide ulimits (esp. # of open files)

2004-01-03 Thread GCS
On Sat, Jan 03, 2004 at 08:04:02PM +0100, Holger Rauch <[EMAIL PROTECTED]> wrote: > Any other ideas on what else I could try in order to increase the # > of open file descriptors to 32000 for all users and why the approach with > editing /etc/security/limits.conf didn't work (and what I could do to

Setting system-wide ulimits (esp. # of open files)

2004-01-03 Thread Holger Rauch
Hi! I'm running Debian testing in conjunction with kernel 2.6.0. I've got an application demanding up to 32000 sockets in certain circumstances. So, I wanted to set the # of open file descriptors on a system-wide basis. I'm using bash as the shell for all my user accounts. Here's what I tried: 1