Why nginx took so many memory? Is it right?

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

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,50831,50831#msg-50831

mine was 73 MB virt, 3 MB res (x1 child), my cgi process: 747 MB virt,
99 MB res (x2 child)

On Fri, Feb 5, 2010 at 3:34 PM, 21andy [email protected] wrote:

could you tell me how to fix it?
nginx mailing list
[email protected]
http://nginx.org/mailman/listinfo/nginx


Regards,
Kiswono P
GB

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs