| From | Sent On | Attachments |
|---|---|---|
| somebody nobody | Aug 16, 2007 3:15 am | |
| Igor Clark | Aug 16, 2007 3:37 am | |
| Igor Sysoev | Aug 16, 2007 4:03 am | |
| Brice Figureau | Aug 16, 2007 4:20 am | |
| somebody nobody | Aug 16, 2007 4:21 am | |
| somebody nobody | Aug 16, 2007 4:31 am | |
| seun...@public.gmane.org | Aug 16, 2007 4:46 am | |
| Brice Figureau | Aug 16, 2007 4:52 am | |
| seun...@public.gmane.org | Aug 16, 2007 5:00 am | |
| Joey | Aug 16, 2007 7:45 am | |
| Aleksandar Lazic | Aug 17, 2007 1:18 am | |
| seun...@public.gmane.org | Aug 18, 2007 11:21 pm |
| Subject: | Re: Nginx isn't as fast as i expect | |
|---|---|---|
| From: | Brice Figureau (bric...@public.gmane.org) | |
| Date: | Aug 16, 2007 4:20:16 am | |
| List: | ru.sysoev.nginx | |
On Thu, 2007-08-16 at 12:16 +0200, somebody nobody wrote:
user nobody nogroup; worker_processes 10;
uh 10 ? That sounds like a lot to me. I think you should not use more than 1 worker_process per processor or core.
sendfile off;
I don't know if solaris has sendfile but usually sendfile is faster (or more resource friendly) than using read/write combinations.
location ~ \.php$ { include /nginx/conf/fcgi.conf; fastcgi_pass unix:/tmp/fastcgi.socket; fastcgi_index index.php; }
Are you sure Apache is using the same FastCGI settings as nginx ones? How are you spawning your fastcgi process? If you are using lighttpd's spawn-cgi make sure you have the same number of PHP processes as what you are using with Apache. Did you try a tcp socket instead of a unix one ?
Can you give us the ab parameters you used, especially the concurrency ?
-- Brice Figureau <brice+ngin...@public.gmane.org>





