httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "M.D. DeWar" <m...@s-wit.net>
Subject Re: [users@httpd] server is sloooowww
Date Fri, 06 Feb 2004 18:22:49 GMT


> Hi,
>
> Since this is FreeBSD lets see a sample of iostat 1 and netstat 1 these
will tell us if your server have a reason to be slow. I had Apache2, an
older version, just start acting like that. I had no load worse than before
but it just started choking on the most simple static requests, very much
the same config even including the Zend optimizer. I poked at every obvious
thing I could find, but nothing was wrong. I ended up throwing in the towel
and installing 1.3. Of course everything was fine then. But I never figured
out what happened either.
>
> Thanks,
>
> Eric

Thanks Eric,
Hope I get this right. I tried a few different options.
spiderman# iostat -C
      tty             ad0              ad1             acd0             cpu
 tin tout  KB/t tps  MB/s   KB/t tps  MB/s   KB/t tps  MB/s  us ni sy in id
   0   21  0.00   0  0.00   0.00   0  0.00   0.00   0  0.00  37  0  7  0 56
spiderman# iostat -d
             ad0              ad1             acd0              fd0
  KB/t tps  MB/s   KB/t tps  MB/s   KB/t tps  MB/s   KB/t tps  MB/s
  0.00   0  0.00   0.00   0  0.00   0.00   0  0.00   0.00   0  0.00
spiderman# iostat -h
      tty             ad0              ad1             acd0             cpu
 tin tout  KB/t tps  MB/s   KB/t tps  MB/s   KB/t tps  MB/s  us ni sy in id
   0   21  0.00   0  0.00   0.00   0  0.00   0.00   0  0.00  37  0  7  0 56
spiderman# iostat -I
      tty             ad0              ad1             acd0             cpu
 tin tout  KB/t xfrs   MB   KB/t xfrs   MB   KB/t xfrs   MB  us ni sy in id
   0   21  0.00   0  0.00   0.00   0  0.00   0.00   0  0.00  37  0  7  0 56

netstat
Active Internet connections (including servers)
Proto Recv-Q Send-Q  Local Address          Foreign Address        (state)
tcp4       0      0  68.156.89.119.3258     68.156.89.119.8000     TIME_WAIT
tcp4       0      0  68.156.89.119.80       216.220.164.125.1482
FIN_WAIT_1
tcp4       0      0  68.156.89.119.3254     66.98.159.41.80
ESTABLISHED
tcp4       0      0  *.*                    *.*                    CLOSED
tcp46      0      0  *.80                   *.*                    LISTEN
tcp4       0      0  68.156.89.119.22       192.168.101.250.1733
ESTABLISHED
tcp4       0      0  *.*                    *.*                    CLOSED
tcp4       0      0  68.156.89.119.8001     68.156.89.119.1983
ESTABLISHED
tcp4       0      0  68.156.89.119.1983     68.156.89.119.8001
ESTABLISHED
tcp4       0      0  *.8000                 *.*                    LISTEN
tcp4       0      0  *.8001                 *.*                    LISTEN
tcp4       0      0  *.*                    *.*                    CLOSED
tcp4       0      0  *.*                    *.*                    CLOSED
tcp4       0      0  *.*                    *.*                    CLOSED
tcp4       0      0  *.5154                 *.*                    LISTEN
tcp4       0      0  *.*                    *.*                    CLOSED
tcp4       0      0  *.*                    *.*                    CLOSED
tcp4       0      0  *.10005                *.*                    LISTEN
tcp4       0      0  *.3306                 *.*                    LISTEN
tcp4       0      0  *.4000                 *.*                    LISTEN
tcp4       0      0  *.21                   *.*                    LISTEN
tcp4       0      0  *.10000                *.*                    LISTEN
tcp4       0      0  *.25                   *.*                    LISTEN
tcp4       0      0  *.54320                *.*                    LISTEN
tcp4       0      0  *.49724                *.*                    LISTEN
tcp4       0      0  *.40421                *.*                    LISTEN
tcp4       0      0  *.32774                *.*                    LISTEN
tcp4       0      0  *.32773                *.*                    LISTEN
tcp4       0      0  *.32772                *.*                    LISTEN
tcp4       0      0  *.32771                *.*                    LISTEN
tcp4       0      0  *.31337                *.*                    LISTEN
tcp4       0      0  *.27665                *.*                    LISTEN
tcp4       0      0  *.12346                *.*                    LISTEN
tcp4       0      0  *.12345                *.*                    LISTEN
tcp4       0      0  *.6667                 *.*                    LISTEN
tcp4       0      0  *.5742                 *.*                    LISTEN
tcp4       0      0  *.2000                 *.*                    LISTEN
tcp4       0      0  *.1524                 *.*                    LISTEN
tcp4       0      0  *.1080                 *.*                    LISTEN
tcp4       0      0  *.635                  *.*                    LISTEN
tcp4       0      0  *.540                  *.*                    LISTEN
tcp4       0      0  *.143                  *.*                    LISTEN
tcp4       0      0  *.119                  *.*                    LISTEN
tcp4       0      0  *.111                  *.*                    LISTEN
tcp4       0      0  *.79                   *.*                    LISTEN
tcp4       0      0  *.15                   *.*                    LISTEN
tcp4       0      0  *.11                   *.*                    LISTEN
tcp4       0      0  *.1                    *.*                    LISTEN
tcp4       0      0  *.22                   *.*                    LISTEN
tcp46      0      0  *.22                   *.*                    LISTEN
udp4       0      0  *.5154                 *.*
udp4       0      0  *.10000                *.*
udp4       0      0  *.54321                *.*
udp4       0      0  *.31337                *.*
udp4       0      0  *.32774                *.*
udp4       0      0  *.32773                *.*
udp4       0      0  *.32772                *.*
udp4       0      0  *.32771                *.*
udp4       0      0  *.32770                *.*
udp4       0      0  *.31335                *.*
udp4       0      0  *.34555                *.*
udp4       0      0  *.37444                *.*
udp4       0      0  *.700                  *.*
udp4       0      0  *.641                  *.*
udp4       0      0  *.640                  *.*
udp4       0      0  *.635                  *.*
udp4       0      0  *.513                  *.*
udp4       0      0  *.162                  *.*
udp4       0      0  *.69                   *.*
udp4       0      0  *.9                    *.*
udp4       0      0  *.7                    *.*
udp4       0      0  *.1                    *.*
udp4       0      0  *.514                  *.*
udp6       0      0  *.514                  *.*
Active UNIX domain sockets
Address  Type   Recv-Q Send-Q    Inode     Conn     Refs  Nextref Addr
d1e52a00 stream      0      0        0 d1e52dc0        0        0
/tmp/mysql.soc
d1e52dc0 stream      0      0        0 d1e52a00        0        0
d1f9af00 stream      0      0        0 d1e52140        0        0
d1e52140 stream      0      0        0 d1f9af00        0        0
d18bdb40 stream      0      0 d1c39e40        0        0        0
/tmp/mysql.soc
d17b71e0 stream      0      0 d183a500        0        0        0
private/proxym
d17b7280 stream      0      0 d183a5c0        0        0        0
private/relay
d17b7320 stream      0      0 d183a680        0        0        0
private/bsmtp
d17b73c0 stream      0      0 d183a740        0        0        0
private/ifmail
d17b7460 stream      0      0 d183a800        0        0        0
private/uucp
d17b7500 stream      0      0 d183a8c0        0        0        0
private/cyrus
d17b75a0 stream      0      0 d183a980        0        0        0
private/lmtp
d17b7640 stream      0      0 d183aa40        0        0        0
private/virtua
d17b76e0 stream      0      0 d183ab00        0        0        0
private/local
d17b7780 stream      0      0 d183abc0        0        0        0
private/error
d17b7820 stream      0      0 d183ac80        0        0        0
public/showq
d17b78c0 stream      0      0 d183ad40        0        0        0
private/smtp
d17b7960 stream      0      0 d183ae00        0        0        0
public/flush
d17b7a00 stream      0      0 d183aec0        0        0        0
private/defer
d17b7aa0 stream      0      0 d17fd000        0        0        0
private/bounce
d17b7b40 stream      0      0 d17fd0c0        0        0        0
private/rewrit
d17b7be0 stream      0      0        0 d17b7c80        0        0
d17b7c80 stream      0      0        0 d17b7be0        0        0
d17b7d20 stream      0      0 d17fd300        0        0        0
public/cleanup
d17b7dc0 stream      0      0        0 d17b7f00        0        0
d17b7f00 stream      0      0        0 d17b7dc0        0        0
d1f9ad20 dgram       0      0        0 d177ff00        0 d18bd8c0
d18bd8c0 dgram       0      0        0 d177ff00        0 d18bdd20
d18bdd20 dgram       0      0        0 d177ff00        0 d18bdf00
d18bdf00 dgram       0      0        0 d177ff00        0 d17b7140
d17b7140 dgram       0      0        0 d177ff00        0 d17b7e60
d17b7e60 dgram       0      0        0 d177ff00        0        0
d177ff00 dgram       0      0 d177a880        0 d1f9ad20        0
/var/run/log

Hope that is helpful.
Thanks
mark


>
> At 09:15 AM 2/6/2004, M.D. DeWar wrote:
> >Hello,
> >I am not sure were my issue lies.
> >I am running on freebsd 4.9 .
> >apache 2.0.48
> >mysql (was latest about 2 months ago)
> >php 4.3.3
> >ZendOptimizer is also installed.
> >
> >I run some postnuke sites.
> >But they come up slow. very slow. worse than dialup at times.
> >uptime shows
> ># uptime
> >12:19PM  up 38 days, 17:24, 1 user, load averages: 1.57, 1.32, 1.21
> >
> >I don't know if its a apache issue, or mysql or php or what. STill newbie
to
> >all of it and not sure how or were to begin to trouble shoot it.
> >this is a p-266 256megs ram.
> >
> >any advice appreciated.
> >
> >Thanks
> >mark
> >
> >
> >
> >---------------------------------------------------------------------
> >The official User-To-User support forum of the Apache HTTP Server
Project.
> >See <URL:http://httpd.apache.org/userslist.html> for more info.
> >To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> >For additional commands, e-mail: users-help@httpd.apache.org
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message