[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Web Server Install - How to Optimize it?



--- Thomas Ward <slingshooter valkyrie net> wrote:
> Hello. Answers below.

> > Mozilla
> 
> This is your web browser, and you may want it if you want to make sure
> your
> web server is operating properly.

if it's the same box and he wants to avoid gui, lynx is more than
sufficient for basic checks. just run

$lynx localhost

to check it out.

Then he must play with different installations, e.g conventional and
hackable /home/user/public_html scheme or chrooted /var/www/users/user
scheme - this is the one OpenBSD 3.2 uses out of the box, so you need to
install nothing at all. Different partitioning is required as /home or
/var would take the bulk of the space. Keep in mind that to unload I/O
most installations on largish ISPs I saw simply nfs distributed parts.
Works very well.

Here is an example (Solaris 7):

09:29 europa .. df -kF ufs    #(shows ufs, i.e. local only)
Filesystem            kbytes    used   avail capacity  Mounted on
/dev/dsk/c0t0d0s0     192833  117869   55681    68%    /
/dev/dsk/c0t0d0s3    1018382  662716  294564    70%    /usr
/dev/dsk/c0t1d0s0    7743925 2005613 5660873    27%    /var
/dev/dsk/c0t0d0s7    5394011 2600797 2739274    49%    /opt

09:29 europa .. df -k         #(shows totals)
Filesystem            kbytes    used   avail capacity  Mounted on
/proc                      0       0       0     0%    /proc
/dev/dsk/c0t0d0s0     192833  117869   55681    68%    /
/dev/dsk/c0t0d0s3    1018382  662716  294564    70%    /usr
fd                         0       0       0     0%    /dev/fd
/dev/dsk/c0t1d0s0    7743925 2005631 5660855    27%    /var
/dev/dsk/c0t0d0s7    5394011 2600797 2739274    49%    /opt
swap                  614400   11088  603312     2%    /tmp
jupiter-lo:/logs/zeus
                     127105232 84636820 42468412    67%   
/opt/local/zeus/logs
jupiter-lo:/mail/drop
                     127105232 84636820 42468412    67%    /var/mail
jupiter-lo:/mail/bin 127105232 84636820 42468412    67%   
/var/dmail_bin
sol-lo:/home         535656712 402266888 133389824    76%   
/export/home
sol-lo:/lbshare/dmail
                     535656712 402266888 133389824    76%   
/opt/local/dmail
sol-lo:/lbshare/zeus/web_roots
                     535656712 402266888 133389824    76%   
/opt/local/zeus/web_roots
sol-lo:/lbshare/zeus/site
                     535656712 402266888 133389824    76%   
/opt/local/zeus/site
sol-lo:/lbshare/zeus/ns-config
                     535656712 402266888 133389824    76%   
/opt/local/zeus/ns-config
sol-lo:/lbshare/frontpage
                     535656712 402266888 133389824    76%   
/opt/local/frontpage
sol-lo:/lbshare/sbin 535656712 402266888 133389824    76%   
/opt/local/share/sbin
sol-lo:/logs/customer
                     535656712 402266888 133389824    76%   
/customer_logs
sol.our.nfs:/vol/vol0/archiver/europa
                     535656712 402266888 133389824    76%    /archiver

This will give an idea as about load :

09:29 europa .. w
  9:29am  up 24 day(s),  1:17,  15 users,  load average: 4.20, 4.37,
4.44

09:29 europa .. cat /etc/passwd | wc
   20536   45013 1187745

Hopefully he will not need anything like this, just an example.

Best, Y


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]