Forum: NGINX Why nginx took so many memory? Is it right?

Posted by 21andy (Guest)
on 2010-02-05 09:35
(Received via mailing list)
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 by Kiswono Prayogo (Guest)
on 2010-02-05 09:49
(Received via mailing list)
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 <nginx-forum@nginx.us> wrote:
> could you tell me how to fix it?
> nginx mailing list
> nginx@nginx.org
> http://nginx.org/mailman/listinfo/nginx
>



--
Regards,
Kiswono P
GB
Posted by Dinh Pham (pcdinh)
on 2010-02-05 10:18
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
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.