1. How to check how many open files are opened in system and what is the limit?
  2. how to force squid to use “search” list from resolv.conf file?
  3. How to reload inittab without rebooting system?
  4. My system shows only 2 GB of RAM but there is 8GB installed?
  5. How to convert putty public key to ssh public key?
  6. How to manually rotate logs?
  7. How to set mysql to listen on all interfaces instead of ?
  8. How to bypass url in squid?


cat /proc/sys/fs/file-nr”.
First number says about open files, the third about limit.

  1. Change option “dns_defnames” to on.
    Generally Squid trict every query as a FQDN. If you want to use only “hostnames” in your browser you have to change this option for using suffixes.
  2. Type command “init q”.
  3. Install linux-image-2.6-686-bigmem(dla wersji 2.6),64-bits versions do not have that kind of problems.
  4. ssh-keygen -i -f putty_public_key > %h/.ssh/authorized_keys.
  5. logrotate -v -f /etc/logrotate/file_to_rotate.
  6. Comment line out in /etc/mysql/my.cnf #bind-address = ,restart mysql
  7. configure:

acl bypass_urls dst ip_of_site or acl bypass_urls dstdomain domainname

always_direct allow bypass_urls