How do I monitor to see if the machine is out of swap? Squid FAQ 8.7 says to use pstat but that is not a recognizable command.
-----Original Message----- From: Artem Stepanoff [mailto:[EMAIL PROTECTED] Sent: Friday, June 11, 2004 9:07 AM To: McDermott, AS Amanda (5841) @ IS Cc: [EMAIL PROTECTED] Subject: Re: [squid-users] FATAL: xmalloc: Unable to allocate 87380 bytes! On Fri, Jun 11, 2004 at 08:36:46AM -0500, McDermott, AS Amanda (5841) @ IS wrote: > I recently encountered a memory issue with squid. When I ran top I > noticed the free memory was decreasing drastically. Once it got to > 5029 squid stopped for 2 minutes. The free memory increased back to > 918316 and the following message showed up in cache.log: > > FATAL: xmalloc: Unable to allocate 87380 bytes! > > Squid Cache (Version 2.4.STABLE6): Terminated abnormally. > CPU Usage: 7027.780 seconds = 3395.790 user + 3631.990 sys Maximum > Resident > Size: 0 KB Page faults with physical i/o: 373 Memory usage for squid via > mallinfo(): > total space in arena: 915195 KB > Ordinary blocks: 728142 KB 95324 blks > Small blocks: 0 KB 0 blks > Holding blocks: 2244 KB 3 blks > Free Small blocks: 0 KB > Free Ordinary blocks: 187053 KB > Total in use: 730386 KB 80% > Total free: 187053 KB 20% > > Squid shut down at 4:11 and restated at 4:13 -- giving 2 minutes of > down time. What does "FATAL: xmalloc: Unable to allocate 87380 bytes!" > mean and what is the best way to fix this? > > Please help! > > Thanks, > Amanda Hello. Please, read the FAQ: http://www.squid-cache.org/Doc/FAQ/FAQ-8.html#ss8.7 -- KESH-RIPE
