Re: ulimit for mysql and www-data

2001-12-26 Thread Vasil Kolev
I had the same problem (with apache) , and found that the best way is to add ulimit -n 32000 ulimit -u 2048 at the begining of /etc/init.d/apache And I think that is the best way to do it. sometning like /etc/rc.boot/ulimit_optimize possibly won't work, because limits are inherited through fork(

Re: ulimit for mysql and www-data

2001-12-26 Thread Vasil Kolev
I had the same problem (with apache) , and found that the best way is to add ulimit -n 32000 ulimit -u 2048 at the begining of /etc/init.d/apache And I think that is the best way to do it. sometning like /etc/rc.boot/ulimit_optimize possibly won't work, because limits are inherited through fork

ulimit for mysql and www-data

2001-12-25 Thread Patrick Hsieh
Hello list, I am running a dedicated apache/php/mysql website on Debian 3.0(woody). MySQL server runs as "mysql" uid; Apache "www-data". It seems that the default ulimit value does not meet the requirement as a dedicated machine. The Debian GNU/Linux box ships dual PentiumIII-1G with 1G RAM. I am

ulimit for mysql and www-data

2001-12-25 Thread Patrick Hsieh
Hello list, I am running a dedicated apache/php/mysql website on Debian 3.0(woody). MySQL server runs as "mysql" uid; Apache "www-data". It seems that the default ulimit value does not meet the requirement as a dedicated machine. The Debian GNU/Linux box ships dual PentiumIII-1G with 1G RAM. I am