Doubt on configuration

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

 



Hi,
Following is the configuration I am using.

<IfModule worker.c>
ServerLimit 2
StartServers 1
ThreadLimit 256
MaxClients 256
MinSpareThreads 1
MaxSpareThreads 256
ThreadsPerChild 256
MaxRequestsPerChild 0
</IfModule>


It launches two daemon (PIDs 25578 and 25579)  and one root (25577).
After it runs for an hour I get the following error
(24)Too many open files: apr_socket_accept: (client socket)
 and one of the daemon process is killed (PID 25579) and another daemon processes (PID 25623)gets created.


But when I use this configuration it works fine.
<IfModule worker.c>
ServerLimit 2
StartServers 1
ThreadLimit 128
MaxClients 128
MinSpareThreads 1
MaxSpareThreads 128
ThreadsPerChild 128
MaxRequestsPerChild 0
</IfModule>

I am not very clear as why this problem is happening.May be something silly I am doing.Thanks in advance.

regards
-A
[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux