Hi all,
I need to tune my web server (Debian squeeze 64bit, Apache-worker, MySQL).
During bechmark test, I got this kind of error:
Quote:
[Mon Feb 27 17:04:22 2012] [alert] (11)Resource temporarily unavailable: apr_thread_create: unable to create worker thread
[Mon Feb 27 17:04:22 2012] [apc-error] apc_mmap: mmap failed: Cannot allocate memory
Out of memory (Needed 593128 bytes)
[apc-error] apc_mmap: mmap failed: Cannot allocate memory
|
So I think I must increase some limits of www-data user.
I put this in /etc/security/limits.conf:
but if I do:
su - www-data
ulimit -a
I don't see any difference.
What is the correct way to adjust those settings for Apache user in Debian?
Thankyou