[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apache - too many open files



Merhaba,
Doruk Fisek <dfisek@fisek.com.tr> writes:

> Sun, 28 May 2006 17:09:16 +0300, cfb@cafer.org (Cafer Şimşek) :
>
>> Sarge üzerinde Apache 2.0.54 koşuyor. Pek çok vhost tanımı var
>> (1000'den fazla). Her vhost için CustomLog tanımlı ve Apache
>> başlayamıyor. error.log şunu diyor:
>> [Sun May 28 17:03:43 2006] [error] (24)Too many open files: could not
>> open transfer log file /var/log/apache2/access.log.
>> Vhost'lardaki CustomLog direktifini kaldırdığımda sorun ortadan
>> kalkıyor. Vhost'lar için ayrı ayrı log tutmak gerekiyor, bu
>> şart. Sorunu çözmek için ne yapabilirim?
>
> Linux'ta her kullanici icin belli bir file descriptor limiti var
> ontanimli olarak. ulimit -n ile bunu gorebilirsiniz (buyuk olasilikla
> 1024). ulimit komutu ile bunu degistirebilirsiniz.
>
> /etc/security/limits.conf dosyasi ile de kullanici bazli limitleri
> duzenlemeniz mumkun.

limits.conf dosyasına

www-data         soft    nofile          204800


satırını eklemiştim ama sorun çözülmemişti. 

>
>                    Doruk
>
> --
> FISEK ENSTITUSU - http://www.fisek.com.tr
> Ankara : 0.312.3857026  /  Istanbul : 0.216.4284693
>
>
> -- 
> To UNSUBSCRIBE, email to debian-user-turkish-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>

-- 
ghost in the shell

Cafer 'cfb' Şimşek
http://cafer.org



Reply to: