ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] странные вещи в процессе обновления squid
@ 2003-12-03 11:08 Mike Lykov
  0 siblings, 0 replies; only message in thread
From: Mike Lykov @ 2003-12-03 11:08 UTC (permalink / raw)
  To: sisyphus

Здравствуйте.

сегодня днем взялся обновлять squid из сизифа, на работающем сервере.
дал apt-get install squid, он поставился:
Get:1 ftp://ftp.altlinux.com i586/classic squid-pinger 2.5.STABLE4-alt3 
[16.8kB]
Get:2 ftp://ftp.altlinux.com i586/classic squid 2.5.STABLE4-alt3 [1095kB]
Fetched 1112kB in 21s (52.5kB/s)                                               
Executing RPM (/bin/rpm -Uvh --fancypercent --oldpackage)...
Preparing...                 ########################################### 
[100%]
1: squid                     ########################################### [ 
50%]
Stopping squid service: [ DONE ]
Starting squid service: [ DONE ]
2: squid-pinger              ########################################### 
[100%]

но после этого не работал. (в браузере  - таймаут соединения со сквидом).
перезапустил его еще раз - заработал. при этом написал в cachе.log, например, 
такое:

2003/12/03 12:06:31|   store_swap_size = 2171312k                               

Что это значит? откуда это накопилось?

2003/12/03 12:06:31| WARNING: Disk space over limit: 2170636 KB > 2097152 KB    
2003/12/03 12:06:31| storeLateRelease: released 3 objects                       
2003/12/03 12:06:42| WARNING: Disk space over limit: 2164412 KB > 2097152 KB    
2003/12/03 12:06:53| WARNING: Disk space over limit: 2154920 KB > 2097152 KB    
2003/12/03 12:07:04| WARNING: Disk space over limit: 2147220 KB > 2097152 KB    
2003/12/03 12:07:15| WARNING: Disk space over limit: 2138528 KB > 2097152 KB    
2003/12/03 12:07:26| WARNING: Disk space over limit: 2131116 KB > 2097152 KB    
2003/12/03 12:07:37| WARNING: Disk space over limit: 2123452 KB > 2097152 KB    
2003/12/03 12:07:48| WARNING: Disk space over limit: 2115396 KB > 2097152 KB    
2003/12/03 12:07:59| WARNING: Disk space over limit: 2103640 KB > 2097152 KB 

после чего успокоился (видимо, все лишнее поудалял).
Откуда взялись эти обьекты, которые овер лимит?
у меня все время в конфиге одно и то же:
cache_dir diskd /var/spool/squid 2048 16 256  

вот о цифре 2048:
#       'Mbytes' is the amount of disk space (MB) to use under this             
#       directory.  The default is 100 MB.  Change this to suit your            
#       configuration.  Do NOT put the size of your disk drive here.            
#       Instead, if you want Squid to use the entire disk drive,                
#       subtract 20% and use that value. 

Интересно, куда идут эти 20% ? (обьем кеша - 2Г, обьем раздела - 41Г )

и еще:
периодически возникает такое:

2003/12/03 12:04:06| WARNING! Your cache is running out of filedescriptors

Тоже сразу после обновления возникло
всего дескрипторов 1024 (как я понимаю, это задается при сборке), и, например, 
сейчас их:
File descriptor usage for squid:
        Maximum number of file descriptors:   1024
        Largest file desc currently in use:    224
        Number of file desc currently in use:  192
        Files queued for open:                   0
        Available number of file descriptors:  832
        Reserved number of file descriptors:   100

если при обычной работе их около 200, то почему сразу после обновления они 
running out ?

-- 
Mike


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-12-03 11:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-03 11:08 [sisyphus] странные вещи в процессе обновления squid Mike Lykov

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git