Re: Swap not in use on Squid2 Server

1999-12-27 Thread Ilya Konstantinov

512MB RAM are completely enough (wish I had such a machine :),
and it would use up the RAM for IO buffers (disk cache) but obviously
won't use on-disk swap for disk cache. Run 'free' and you'll probably
see tons of RAM going for buffers. About Squid 2, it really doesn't
need much swap space, since Squid 2 is always NOVM and manages RAM
as much as it was allowed to use in /etc/squid.conf (make sure you
tune it) smarter than Linux can do it.

 The current kernel is the one that comes with RedHat6.0 - 2.2.5
 Do i need to break the 2 GB partition into smaller parts ?! (how do i do
 that ? i have only 4 possible partitions, no ?)

Whoa! Upgrade to 2.2.10 or higher, since before there were few
nasty problems, one with a DoS attack (2.2.9 crash - causing a kernel
panic) and the other presenting a possibility to skip the ipchains
policy (in 2.2.5 I think).

A partition table can have up to 4 primary partitions.
Under DOS/Windows, you'll have the 1st as Primary (C: - hda1) and the
2nd
Extended (hda2), which takes up all the remaining space but gets no
drive
letter under DOS. Then, inside the extended partition, you define as
many
Logical partitions as you need, going hda5, hda6, hda7,
or D:, E:, F: under DOS.

You can create much more Logical partitions than 4 - not sure about
the exact limit. Many sysadmins do it right and assign different
partitions
for /tmp, /var, /usr etc so that a filled up tmp or log directory won't
make
the whole system out of disk space.

-- 
Best regards,
Ilya Konstantinov a.k.a Toastie
[http://toast.demon.co.il]

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Swap not in use on Squid2 Server

1999-12-27 Thread Mike

Hi list.
i installed squid 2 on PII233 with 512 MB RAM and 2 9.1 scsi 10,000 RPM.
I gave the server 2 GB of swap (i did not mind to give it so much swap, i
have lots of disk space).
Now, after installing and all, i have a strange thing.
The RAM has only 3-4 MB left but the system does not use the swap at all.

The current kernel is the one that comes with RedHat6.0 - 2.2.5
Do i need to break the 2 GB partition into smaller parts ?! (how do i do
that ? i have only 4 possible partitions, no ?)

TIA

Mike



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]