/proc/sys/fs/file-max maximum?

2002-09-16 Thread Marco Kammerer
Hello

with the command
cat /proc/sys/fs/file-max
it is possible to see the value of the filehandles.

with
echo 8192  /proc/sys/fs/file-max
its possbile to change the value to 8092 for example!

What are your values? And what is the maxium that can be handled on woody
2.4.18?

I need the increase the value because I have virtualhosts on my webserver
and the log to diff files.

beside: OK :) Another possiblity would be to log to one file and split that
file every 24 h but right now I have seperate logfiles for each vhost.

Marco





Re: /proc/sys/fs/file-max maximum?

2002-09-16 Thread Russell Coker
On Mon, 16 Sep 2002 16:47, Marco Kammerer wrote:
 with the command
 cat /proc/sys/fs/file-max
 it is possible to see the value of the filehandles.

 with
 echo 8192  /proc/sys/fs/file-max
 its possbile to change the value to 8092 for example!

 What are your values? And what is the maxium that can be handled on woody
 2.4.18?

Last time I played with this (about kernel 2.4.16 I think) I found that I 
could have a single process with about 89500 file handles open at once, I 
never tested the limit for the number of file handles for the entire system, 
but I suspect it was not much more than that.

 I need the increase the value because I have virtualhosts on my webserver
 and the log to diff files.

 beside: OK :) Another possiblity would be to log to one file and split that
 file every 24 h but right now I have seperate logfiles for each vhost.

My logtools package has everything you need for that.

-- 
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
From field.




hi

2002-09-16 Thread Bety Lora
http://www.geocities.com/alikahomapage/alika
http://www.lizaclub.da.ru
http://www.sokarim.tk





traffic shapper.deb

2002-09-16 Thread Thedore Knab
I was wondering if anyone is using shaper.deb to manage bandwidth.

http://packages.debian.org/testing/net/shaper.html

The kernel modules that this package depends on are experimental in the
2.4.19 kernel.

I would like to implement it, but I experimental kernel modules scare me
on servers. 


-Ted




Re: /proc/sys/fs/file-max maximum?

2002-09-16 Thread Craig Sanders
On Mon, Sep 16, 2002 at 05:02:07PM +0200, Russell Coker wrote:
  I need the increase the value because I have virtualhosts on my
  webserver and the log to diff files.
 
  beside: OK :) Another possiblity would be to log to one file and
  split that file every 24 h but right now I have seperate logfiles
  for each vhost.
 
 My logtools package has everything you need for that.

is there any way to handle separate error logs in apache yet, without
having 1 filehandle per vhost error.log per server process?

my vhosting setup puts everything related to one vhost under one user's
home directory - in public_html/, cgi-bin/, www_logs/ subdirectories.

it would be nice to have one logger process which had file handles open
to each vhost's log files, and each apache process having only 2 handles
(one for error.log, one for access log) open to the logger.

splitting the access log is easy with stuff like your logtools.  

AFAICT, though, it's not possible to do that for the error log because
it's just unstructured STDERR, no information is logged about which
vhost a given error.log entry is for.

craig

-- 
craig sanders [EMAIL PROTECTED]

Fabricati Diem, PVNC.
 -- motto of the Ankh-Morpork City Watch