Date: Sun, 13 Oct 2002 23:52:24 -0400 From: wolf <mjoyner2@hq.dyns.cx> To: Marlon Pabilona <marl@skyinet.net>, questions <questions@freebsd.org> Subject: Re: swap_pager: out of swap space Message-ID: <3DAA3F78.8010700@hq.dyns.cx> References: <200210132305.41007.marl@skyinet.net> <3DAA3702.6020900@hq.dyns.cx> <200210132335.22073.marl@skyinet.net>
next in thread | previous in thread | raw e-mail | index | archive | help
If your cache is really using that much memory, you may want to cron-tab a full shutdown, cache purge, startup of your squid like bi-weekly. (At college I worked for, I had to shutdown squid every 2 weeks and restart it, sometimes less, it's memory footprint just keeps getting bigger and bigger and bigger and bigger till the machine dies) Marlon Pabilona wrote: > I used squid proxy in our cache server. So far, our cache was not restared for > a couple of days (40 days) except on the recent problem. Based on my regular > observation on the other machine with the same set up, our server is just > having 3% of 128MB of memory. Does it need to increase the swap space ? I > appreciate your help. Thanks! > > SWAPINFO of PROXY: > ==================== > $swapinfo > Device 1K-blocks Used Avail Capacity Type > /dev/da0s1b 130944 3632 127312 3% Interleaved > > > On Sunday 13 October 2002 11:16 pm, wolf wrote: > >>Ermmmm >> >>what do you use for your cache? >>Do you restart your cache to clear up memory leaks periodically? >>If you really need more swap, check out vnconfig, it will let you >>use a standard system file as additional swap. >> >>Marlon Pabilona wrote: >> >>>Sir, >>> >>> After a year having without problem, our freebsd machine experienced a >>>hang problem and found the message "out of swap space" in >>>/var/log/messages. Our proxy server has a 1G of mem and 128MB swap space. >>>What are the common cause of the problem ? Do you think it is related to >>>a smaller swap space allocated ? Thank you for your time. >>> >>> >>>Oct 14 04:11:08 proxy23 /kernel: swap_pager: out of swap space >>>Oct 14 04:11:08 proxy23 /kernel: swap_pager_getswapspace: failed >>> >>> >>>FreeBSD proxy23.skyinet.net 4.3-RELEASE FreeBSD 4.3-RELEASE #1: Fri Aug >>>24 14:44:26 PHT 2001 >>>marl@proxy23.skyinet.net:/usr/src/sys/compile/PROXY1 i386 >>> >>>To Unsubscribe: send mail to majordomo@FreeBSD.org >>>with "unsubscribe freebsd-questions" in the body of the message >>> > > -- Michael Joyner FreeBSD System Administrator http://manhattan.hq.dyns.cx/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DAA3F78.8010700>