Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: backend restart && 502 Bad Gateway
On Fri, 16 Nov 2007, Монашёв Михаил wrote:
Здравствуйте, Андрей.
Вам надо использовать "graceful restart" Апача - по сигналу USR1
После этого Апач начинает разбухать.
Быть может, я его готовлю как-то по-особенному ??
Apache Server Status for www.zvuki.ru
Server Version: Apache/1.3.22 (Unix) mod_perl/1.26
Current Time: Friday, 16-Nov-2007 17:28:10 MSK
Restart Time: Friday, 07-Sep-2007 13:33:37 MSD
Parent Server Generation: 70
Server uptime: 70 days 4 hours 54 minutes 33 seconds
last pid: 17090; load averages: 0.56, 0.72, 1.06 up 70+05:24:11 17:31:23
305 processes: 304 sleeping, 1 stopped
CPU states: 16.7% user, 0.0% nice, 0.0% system, 0.0% interrupt, 83.3% idle
Mem: 749M Active, 878M Inact, 234M Wired, 72M Cache, 112M Buf, 65M Free
Swap: 2060M Total, 53M Used, 2006M Free, 2% Inuse
PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU
COMMAND
85096 www 8 0 4440K 2244K nanslp 2 3:48 0.00% 0.00% httpd
86759 www 20 0 13316K 10516K lockf 0 0:52 0.00% 0.00% httpd-zvuki
85263 www 20 0 13748K 10860K lockf 0 0:50 0.00% 0.00% httpd-zvuki
85307 www 20 0 13972K 11028K lockf 0 0:50 0.00% 0.00% httpd-zvuki
86758 www 20 0 13620K 11000K lockf 0 0:50 0.00% 0.00% httpd-zvuki
85150 www 20 0 11640K 9268K lockf 0 0:50 0.00% 0.00% httpd-zvuki
85260 www 20 0 12912K 10304K lockf 0 0:50 0.00% 0.00% httpd-zvuki
85320 www 20 0 13364K 10544K lockf 0 0:50 0.00% 0.00% httpd-zvuki
85151 www 20 0 13424K 10628K lockf 2 0:49 0.00% 0.00% httpd-zvuki
kaa@zvuki:S$ /usr/local/apache/bin/httpd-zvuki -l
Compiled-in modules:
http_core.c
mod_env.c
mod_log_config.c
mod_mime.c
mod_negotiation.c
mod_status.c
mod_include.c
mod_autoindex.c
mod_dir.c
mod_cgi.c
mod_imap.c
mod_actions.c
mod_alias.c
mod_access.c
mod_auth.c
mod_setenvif.c
mod_realip.c
mod_perl.c
mod_rewrite.c
suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec
kaa@zvuki:S$
--
Best regards,
Andrew Kopeyko <kaa@xxxxxxxx>
|