Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
High memory usage under php
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
ewildgoose
Tux's lil' helper
Tux's lil' helper


Joined: 02 Mar 2003
Posts: 75

PostPosted: Fri Mar 28, 2008 2:51 pm    Post subject: High memory usage under php Reply with quote

Hi

I am trying to get the ram requirements down on my server. I ran up a bunch of php interpreters under fastcgi using the lighttp starter script and I see huge virtual memory usage for each interpreter (85MB)

# ps axu
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
nginx 27121 0.0 0.3 85456 7620 ? Ss 14:24 0:00 /usr/bin/php-cgi
nginx 27122 0.0 0.1 85456 3084 ? S 14:24 0:00 /usr/bin/php-cgi
nginx 27123 0.0 0.1 85456 3084 ? S 14:24 0:00 /usr/bin/php-cgi

Can anyone suggest why the virtual usage is quite so high? Fairly default install of PHP 5.2 in a new virtual machine..

Any way to reduce memory requirements here?

Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum