www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eric.r.c...@exgate.tek.com
Subject RE: mod_proxy/3202: High system utilization with v1.3.3
Date Wed, 14 Oct 1998 00:20:00 GMT
The following reply was made to PR mod_proxy/3202; it has been noted by GNATS.

From: eric.r.cook@exgate.tek.com
To: apbugs@hyperreal.org, apache-bugdb@apache.org
Cc:  Subject: RE: mod_proxy/3202: High system utilization with v1.3.3
Date: Tue, 13 Oct 1998 17:15:28 -0700

 More Info:
 
 From 'truss -f -p PID' of an httpd process (included below) I can see that
 'fork' is called TWICE ON EACH HIT!  The first fork closes 6 file
 descriptors, the second does a 'setsid' and an 'lseek'.  
 
 From looking at the mod_proxy code, it looks like the offender is
 detached_proxy_garbage_coll, called by ap_proxy_garbage_coll, called in
 proxy_ftp.c and proxy_http.c.
 
 I have NoCache * set in httpd.conf.
 
 Regards,
 
 Eric
 
 Truss output:
 
 10381:  fcntl(18, F_SETLKW, 0x000D7944) (sleeping...)
 10381:  fcntl(18, F_SETLKW, 0x000D7944)                 = 0
 10381:  getmsg(15, 0xEFFFF6E0, 0xEFFFF6D4, 0xEFFFF6EC)  = 0
 10381:  sigprocmask(SIG_BLOCK, 0xEFFFF498, 0xEFFFF590)  = 0
 10381:  open("/dev/tcp", O_RDWR)                        = 3
 10381:  ioctl(3, I_PUSH, "sockmod")                     = 0
 10381:  ioctl(3, I_STR, 0xEFFFF3E0)                     = 0
 10381:  ioctl(3, I_SETCLTIME, 0xEFFFF494)               = 0
 10381:  ioctl(3, I_SWROPT, 0x00000002)                  = 0
 10381:  sigprocmask(SIG_SETMASK, 0xEFFFF484, 0xEFFFF474) = 0
 10381:  ioctl(3, I_STR, 0xEFFFF2F8)                     = 0
 10381:  sigprocmask(SIG_SETMASK, 0xEFFFF474, 0xEFFFF450) = 0
 10381:  ioctl(15, I_FDINSERT, 0xEFFFF53C)               = 0
 10381:  getmsg(15, 0xEFFFF6E0, 0x00000000, 0xEFFFF4A4)  = 0
 10381:  sigprocmask(SIG_SETMASK, 0xEFFFF590, 0x00000000) = 0
 10381:  fcntl(18, F_SETLKW, 0x000D7968)                 = 0
 10381:  sigaction(SIGUSR1, 0xEFFFF6D8, 0xEFFFF75C)      = 0
 10381:  ioctl(3, TI_GETMYNAME, 0xEFFFF6F4)              = 0
 10381:  sigprocmask(SIG_BLOCK, 0xEFFFF620, 0xEFFFF694)  = 0
 10381:  ioctl(3, I_STR, 0xEFFFF620)                     = 0
 10381:  sigprocmask(SIG_SETMASK, 0xEFFFF694, 0x00000000) = 0
 10381:  read(3, " G E T   h t t p : / / w".., 4096)     = 267
 10381:  sigaction(SIGUSR1, 0xEFFFD5E0, 0xEFFFD664)      = 0
 10381:  time()                                          = 908323734
 10381:  time()                                          = 908323734
 10381:  door_info(4, 0xEFFFB218)                        = 0
 10381:  door_call(4, 0xEFFFB2B0, 0x00002000, 0x0000006A, 0x00000000) = 0
 10381:  open("/dev/tcp", O_RDWR)                        = 5
 10381:  ioctl(5, I_PUSH, "sockmod")                     = 0
 10381:  ioctl(5, I_STR, 0xEFFFD2E8)                     = 0
 10381:  ioctl(5, I_SETCLTIME, 0xEFFFD39C)               = 0
 10381:  ioctl(5, I_SWROPT, 0x00000002)                  = 0
 10381:  sigprocmask(SIG_SETMASK, 0xEFFFD38C, 0xEFFFD37C) = 0
 10381:  ioctl(5, I_STR, 0xEFFFD200)                     = 0
 10381:  sigprocmask(SIG_SETMASK, 0xEFFFD37C, 0xEFFFD358) = 0
 10381:  sigprocmask(SIG_BLOCK, 0xEFFFD368, 0xEFFFD3DC)  = 0
 10381:  ioctl(5, I_STR, 0xEFFFD368)                     = 0
 10381:  sigprocmask(SIG_SETMASK, 0xEFFFD3DC, 0x00000000) = 0
 10381:  fcntl(5, F_GETFL, 0x00000000)                   = 2
 10381:  sigprocmask(SIG_BLOCK, 0xEFFFD130, 0xEFFFD1D4)  = 0
 10381:  putmsg(5, 0xEFFFD1E4, 0x00000000, 0)            = 0
 10381:  getmsg(5, 0xEFFFD1E4, 0x00000000, 0xEFFFD0DC)   = 0
 10381:  sigprocmask(SIG_SETMASK, 0xEFFFD1D4, 0x00000000) = 0
 10381:  getmsg(5, 0xEFFFD1E4, 0xEFFFD130, 0xEFFFD13C)   = 0
 10381:  write(5, " G E T   h t t p : / / w".., 237)     = 237
 10381:  read(5, " H T T P / 1 . 0   2 0 0".., 4096)     = 137
 10381:  read(5, " < ! D O C T Y P E   h t".., 8192)     = 1460
 10381:  read(5, " G H T = 5 8   B O R D E".., 8192)     = 2920
 10381:  writev(3, 0xEFFFB35C, 2)                        = 4517
 10381:  read(5, " 2 , 1 7 7 , 4 9 6 "    ".., 8192)     = 3043
 10381:  read(5, 0xEFFFB478, 8192)                       = 0
 10381:  write(3, " 2 , 1 7 7 , 4 9 6 "    ".., 3043)    = 3043
 10381:  close(5)                                        = 0
 10381:  fork()                                          = 13482
 13482:  fork()          (returning as child ...)        = 10381
 13482:  close(18)                                       = 0
 13482:  close(17)                                       = 0
 13482:  close(16)                                       = 0
 13482:  close(15)                                       = 0
 13482:  close(3)                                        = 0
 13482:  close(5)                                        Err#9 EBADF
 13482:  fork()                                          = 13484
 13484:  fork()          (returning as child ...)        = 13482
 13484:  setsid()                                        = 13484
 13482:  lseek(0, 0, SEEK_CUR)                           = 0
 13484:  lseek(0, 0, SEEK_CUR)                           = 0
 13482:  _exit(0)
 13484:  _exit(0)
 10381:      Received signal #18, SIGCLD, in waitid() [default]
 10381:        siginfo: SIGCLD CLD_EXITED pid=13482 status=0x0000
 10381:  waitid(P_PID, 13482, 0xEFFFD330, WEXITED|WTRAPPED) = 0
 10381:  time()                                          = 908323735
 10381:  write(17, " 1 9 2 . 1 5 8 . 9 9 . 1".., 112)    = 112
 10381:  times(0xEF6F0870)                               = 19061694
 10381:  sigprocmask(SIG_BLOCK, 0xEFFFF3B8, 0xEFFFF448)  = 0
 10381:  ioctl(3, I_STR, 0xEFFFF3B8)                     = 0
 10381:  sigprocmask(SIG_SETMASK, 0xEFFFF448, 0x00000000) = 0
 10381:  poll(0xEFFFD4A8, 1, 2000)                       = 0
 10381:  close(3)                                        = 0
 10381:  sigaction(SIGUSR1, 0xEFFFF6D8, 0xEFFFF75C)      = 0
 10381:  close(5)                                        Err#9 EBADF
 10381:  fcntl(18, F_SETLKW, 0x000D7944) (sleeping...)
 
 -----Original Message-----
 From: apbugs@hyperreal.org [mailto:apbugs@hyperreal.org]
 Sent: Tuesday, October 13, 1998 4:00 PM
 To: eric.r.cook@tek.com
 Subject: Re: mod_proxy/3202: High system utilization with v1.3.3
 
 
 Thank you very much for your problem report.
 It has the internal identification `mod_proxy/3202'.
 The individual assigned to look at your
 report is: apache. 
 
 >Category:       mod_proxy
 >Responsible:    apache
 >Synopsis:       High system utilization with v1.3.3
 >Arrival-Date:   Tue Oct 13 16:00:00 PDT 1998

Mime
View raw message