Re: ulimit e Too many open files

2005-08-08 Per discussione Alessandro De Zorzi
Alessandro De Zorzi wrote:

 quale è il metodo migliore per impostare un valore + alto di default?

sarà semplice ma non è molto chiaro come impostare un valore di default
per ulimit (almeno dai post che si trovano con Google c'è un po' di
confusione, che condivido...)

ora sto cercando di impostare ulimti per avre un valore di open files
maggiore di 1024 tramite

/etc/security/limits.conf
/etc/login.defs

Alessandro De Zorzi


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



ulimit e Too many open files

2005-08-06 Per discussione Alessandro De Zorzi
Scusate, ma se invocando

# ulimit

ottengo unlimited

immagino non ci siano limiti, invece su un server con i log di apache
separati per ogni virtual host ottengo in error_log

[Sat Aug 06 13:07:20 2005] [error] (24)Too many open files: could not
open transfer log file /var/log/apache2/access_log.
[Sat Aug 06 11:17:23 2005] [error] (24)Too many open files: could not
open transfer log file /var/log/apache2/access_log.

ora impostando ulimit

# ulimit -n 5120

ok manuale e documentazione, ma mi stampa unlimited è unlimited o no?
per conto mio no :-P

Alessandro


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: ulimit e Too many open files

2005-08-06 Per discussione Sandro Tosi
 # ulimit
 
 ottengo unlimited
 
 immagino non ci siano limiti, invece su un server con i log di apache
 separati per ogni virtual host ottengo in error_log

# ulimit -a

-- 
Sandro Tosi (aka Morpheus, matrixhasu)
My (little) site: http://matrixhasu.altervista.org/



Re: ulimit e Too many open files

2005-08-06 Per discussione Alessandro De Zorzi
Sandro Tosi wrote:

 # ulimit -a

grazie, in effetti

man ulimit
ulimit --help
ulimit -h

non dicono molto :-P

da ulimit -a si vede chiaramente che il limite dei file di default è 1024
open files(-n) 1024

resta il fatto che l'invocazione del comando è forviante :-P

grazie
Alessandro


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: ulimit e Too many open files

2005-08-06 Per discussione Alessandro De Zorzi
Sandro Tosi wrote:

 # ulimit -a


quale è il metodo migliore per impostare un valore + alto di default?

Alessandro


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: ulimit e Too many open files

2005-08-06 Per discussione Sandro Tosi
 grazie, in effetti
 
 man ulimit
 ulimit --help
 ulimit -h
 
 non dicono molto :-P

# man 1 bash

Ciao

-- 
Sandro Tosi (aka Morpheus, matrixhasu)
My (little) site: http://matrixhasu.altervista.org/