Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: nginx-0.6.29
- To: nginx-ru@xxxxxxxxx
- Subject: Re: nginx-0.6.29
- From: Veaceslav Grecea <veaceslav.grecea@xxxxxxxxx>
- Date: Tue, 18 Mar 2008 18:56:51 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:reply-to:organization:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; bh=bX2vqf7+d96Qy4KjeVqfCJwttmZ9ix1SMOhMa7GpXo8=; b=Tx8IxTK7+66xc/EKVp7Q5GsnZu7xSLHwJRNF9XdTr3JLsnqpRDkEOFHJ2NW7oSTiKbrocSTrmWqF4A91++wbJusAfl1tiM3429MqCGoFAreEhEf3OOPQKD7Gnnj5oisE0q8l/hSCvIQKRYWvyAKqXBS/f3lUO//Dq1ELLfmYo1k=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:reply-to:organization:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=es5MdczzhZh5AUY9jAcqLDcaYhvDMMvX2xE/JFTHgGLxPzJHKVxQ5bA6IN6sNZNqzIZO4sx+TFD9TiT8drjp8UMkqcM9cW25J84v6T5e6Lc5L47NwFde6UMRgDpOUuqFJVPp8D46zrtDcB/0hs3Wvdk4ncLnNRXagkJ6wsxsjXg=
- In-reply-to: <20080318145633.GI26331@xxxxxxxxxxxxx>
- Organization: Home
- References: <20080318142111.GF26331@xxxxxxxxxxxxx> <1244345903.20080318175056@xxxxxxxxxxxxx> <20080318145633.GI26331@xxxxxxxxxxxxx>
On Вторник 18 марта 2008, Igor Sysoev wrote:
> Разрешает profiler для worker'ов.
> ./configure --with-google_perftools_module
> nginx.conf:
> google_perftools_profiles /path/to/profile;
> Профайлы сохраняются в /path/to/profile.<worker_pid>
# nginx -V
nginx version: nginx/0.6.29
configure
arguments: --prefix= --conf-path=/etc/nginx/nginx.conf --sbin-path=/usr/sbin
--error-log-path=/var/log/nginx/nginx.error.log
--http-log-path=/var/log/nginx/nginx.log
--http-client-body-temp-path=/var/spool/nginx/tmp/client
--http-proxy-temp-path=/var/spool/nginx/tmp/proxy
--http-fastcgi-temp-path=/var/spool/nginx/tmp/fastcgi
--pid-path=/var/run/nginx.pid
--user=_nginx --group=_nginx --with-http_ssl_module --with-cc-opt=-I
/usr/include/pcre/
--with-rtsig_module --with-select_module --with-poll_module --with-mail
--with-mail_ssl_module --with-imap --with-imap_ssl_module --with-md5=YES
--with-sha1=YES
--with-http_ssl_module --with-http_realip_module --with-http_addition_module
--with-http_sub_module --with-http_dav_module --with-http_flv_module
--with-http_stub_status_module --with-google_perftools_module
--with-http_perl_module
Добавил в nginx.conf:
http {
....
google_perftools_profiles /var/tmp/nginx_profile;
....
}
# nginx -t
2008/03/18 18:46:05 [emerg] 28635#0: unknown
directive "google_perftools_profiles" in /etc/nginx/nginx.conf:97
2008/03/18 18:46:05 [emerg] 28635#0: the configuration
file /etc/nginx/nginx.conf test failed
# strings /usr/sbin/nginx | grep google_perf
ngx_google_perftools_module
configure arguments: --prefix= <skipped>
google_perftools
google_perftools_profiles
Что я не правильно делаю ?
--
wbr, slavutich
|