Why nginx took so many memory? Is it right?

Dinh Pham lists at ruby-forum.com
Fri Feb 5 12:18:00 MSK 2010


Here is mine

http://www.flickr.com/photos/pcdinh/4331535395/sizes/o/

1 box: 8-core, 4GB RAM, RAID 1
CentOS 5.4 32 bit
PHP 5.3
About 15 millions PHP requests per day

What I have done

- Custom build - Static linked
- Remove unneeded PHP extensions


21andy wrote:
> My server: 8 core CPU , 2G memory ,  CentOS 5.3 64bit
> 
> nginx take 40M memory per thread, is it right?
> 
> I see other guys only 11M memory per-thread
> 
> and the php-cgi also take 40M memory per thread
> 
> I see other guys only 8M memory per-thread
> 
> could you tell me how to fix it?
> 
> thank you very much.
> 
> please see the pic
> http://www.21andy.com/temp/nginx_memory.gif
> 
> Posted at Nginx Forum: 
> http://forum.nginx.org/read.php?2,50831,50831#msg-50831

-- 
Posted via http://www.ruby-forum.com/.



More information about the nginx mailing list