RE: [squid-users] FATAL: logfileWrite

From: Deepa D <[email protected]>
Date: Wed, 2 Jun 2004 10:11:29 +0100 (BST)

 Note: forwarded message attached.

________________________________________________________________________
Yahoo! India Matrimony: Find your partner online. http://yahoo.shaadi.com/india-matrimony/

attached mail follows:


Hi,
   I would appreciate it if anybody could tell me why
such an error is being caused by the code change that
I have made as I don't get this FATAL error everytime
I run squid. What does the logFileWrite: fatal error
mean?
   Regards and TIA,
       Deepa

--- Elsen Marc <elsen@imec.be> wrote: >
>
> >
> > Hi,
> > I made the following changes to helper.c's
> Enqueue
> > method :-
> > //if (hlp->stats.queue_size > hlp->n_running *
> 2)
> > if (hlp->stats.queue_size > hlp->n_running *
> 4)
> > fatalf("Too many queued %s requests (%d on
> > %d)", hlp->id_name, hlp->stats.queue_size,
> > hlp->n_running);
> > Now,I am getting the following errors while
> running
> > squid :-
> >
> > 2004/06/02 10:47:25| WARNING: All redirector
> processes
> > are busy.
> > 2004/06/02 10:47:25| WARNING: up to 2 pending
> requests
> > queued
> > 2004/06/02 10:47:25| Consider increasing the
> number of
> > redirector processes to at least 4 in your config
> > file.
> > 2004/06/02 10:47:29| comm_write:
> fd_table[7].rwstate
> > != NULL
> > 2004/06/02 10:47:34| comm_write:
> fd_table[6].rwstate
> > != NULL
> > 2004/06/02 10:54:39| WARNING: All redirector
> processes
> > are busy.
> > 2004/06/02 10:54:39| WARNING: up to 7 pending
> requests
> > queued
> > 2004/06/02 10:54:39| Consider increasing the
> number of
> > redirector processes to at least 9 in your config
> > file.
> > 2004/06/02 10:54:55| storeDirWriteCleanLogs:
> > Starting...
> > 2004/06/02 10:54:55| Finished. Wrote 0 entries.
> > 2004/06/02 10:54:55| Took 0.0 seconds ( 0.0
> > entries/sec).
> > FATAL: logfileWrite:
> > /usr/local/squid/var/logs/access.log: (0) Success
> >
> > Squid Cache (Version 2.5.STABLE5): Terminated
> > abnormally.
> > CPU Usage: 2.410 seconds = 1.287 user + 1.123 sys
> > Maximum Resident Size: 0 KB
> > Page faults with physical i/o: 346
> > Memory usage for squid via mallinfo():
> > total space in arena: 2304 KB
> > Ordinary blocks: 2290 KB 84
> blks
> > Small blocks: 0 KB 0
> blks
> > Holding blocks: 192 KB 1
> blks
> > Free Small blocks: 0 KB
> > Free Ordinary blocks: 13 KB
> > Total in use: 2482 KB 108%
> > Total free: 13 KB 1%
> > 2004/06/02 10:54:58| Starting Squid Cache version
> > 2.5.STABLE5 for i686-pc-linux-gnu...
> > 2004/06/02 10:54:58| Process ID 21729
> > 2004/06/02 10:54:58| With 1024 file descriptors
> > available
> >
> > Please tell me if the code changes that I made
> is in
> > any way responsible for this error. If no, then
> kindly
> > tell me what what the problem could be.
> >
>
> Your question is remarkable because in the
> beginning of your post your state :
> 'now I am getting the following errors when running
> squid....'
>
> Doesn't that include the answer to your question
> automatically.... ?
>
> M.

________________________________________________________________________
Yahoo! India Matrimony: Find your partner online. http://yahoo.shaadi.com/india-matrimony/
Received on Wed Jun 02 2004 - 03:11:33 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Jul 01 2004 - 12:00:02 MDT