Re: [squid-users] Too few redirector processes are running

2003-12-19 Thread OTR Comm
Yes, Squid has permission to run the redirector.  Squid runs as 'nobody'
and the redirector is owned by 'nobody' with 755 permissions.

Murrah Boswell

Duane Wessels wrote:
 
  Is this telling me that my redirectors are dying from an error in the
  redirector code, or what?
 
 Make sure that the Squid userid is able to execute the redirector
 program.  Check file and directory permissions.
 
 Duane W.


[squid-users] AGAIN: Re: [squid-users] Too few redirector processes are running

2003-12-19 Thread OTR Comm
Do you think it could have something to do with the convoluted way that
ar.atwola.com is generating the dynamic ads since all I get are broken
links to their ads?  I mean, what does the link
http://ar.atwola.com/link/93183014/aol do anyway?

Murrah Boswell

Duane Wessels wrote:
 
  Is this telling me that my redirectors are dying from an error in the
  redirector code, or what?
 
 Make sure that the Squid userid is able to execute the redirector
 program.  Check file and directory permissions.
 
 Duane W.


Re: [squid-users] Too few redirector processes are running

2003-12-19 Thread Duane Wessels



On Fri, 19 Dec 2003, OTR Comm wrote:

 Yes, Squid has permission to run the redirector.  Squid runs as 'nobody'
 and the redirector is owned by 'nobody' with 755 permissions.

The user nobody also needs at least read access to the directory
where 'orsquidGuard' lives, and all parent directories leading to it.

As Henrik said, try running 'orsquidGuard' from the command line after
'su nobody' (that may not work if nobody doesn't have a shell).

Also try running Squid in a terminal window with the -N and -d
options (squid -NDd1) .  Then Squid keeps stderr open and you might
see some errors when Squid tries to execute 'orsquidGuard'.

Duane W.


[squid-users] Too few redirector processes are running

2003-12-18 Thread OTR Comm
Hello,

I have redirector_children 10 in my config file, but I keep getting the
entry below, over and over again in my cache.log when I go to
http://money.cnn.com/best/bplive:

snip
2003/12/18 23:01:30| Starting Squid Cache version 3.0-PRE3-CVS for
i686-pc-linux-gnu...
2003/12/18 23:01:30| Process ID 6587
2003/12/18 23:01:30| With 1024 file descriptors available
2003/12/18 23:01:30| DNS Socket created at 0.0.0.0, port 32785, FD 4
2003/12/18 23:01:30| Adding nameserver 192.168.1.5 from /etc/resolv.conf
2003/12/18 23:01:30| Adding nameserver 216.19.2.80 from /etc/resolv.conf
2003/12/18 23:01:30| Adding nameserver 63.169.42.12 from
/etc/resolv.conf
2003/12/18 23:01:30| Adding nameserver 209.140.24.33 from
/etc/resolv.conf
2003/12/18 23:01:30| helperOpenServers: Starting 10 'orsquidGuard'
processes
2003/12/18 23:01:30| helperOpenServers: Starting 10 'ncsa_auth'
processes
2003/12/18 23:01:30| Unlinkd pipe opened on FD 29
2003/12/18 23:01:30| Swap maxSize 102400 KB, estimated 7876 objects
2003/12/18 23:01:30| Target number of buckets: 393
2003/12/18 23:01:30| Using 8192 Store buckets
2003/12/18 23:01:30| Max Mem  size: 8192 KB
2003/12/18 23:01:30| Max Swap size: 102400 KB
2003/12/18 23:01:30| Rebuilding storage in /usr/local/orsquid/var/cache
(CLEAN)
2003/12/18 23:01:30| Using Least Load store dir selection
2003/12/18 23:01:30| Set Current Directory to /usr/local/squid/var/cache
2003/12/18 23:01:30| Loaded Icons.
2003/12/18 23:01:30| Accepting  HTTP connections at 0.0.0.0, port 8940,
FD 31.
2003/12/18 23:01:30| WCCP Disabled.
2003/12/18 23:01:30| Ready to serve requests.
2003/12/18 23:01:30| Done reading /usr/local/orsquid/var/cache swaplog
(1692 entries)
2003/12/18 23:01:30| Finished rebuilding storage from disk.
2003/12/18 23:01:30|  1692 Entries scanned
2003/12/18 23:01:30| 0 Invalid entries.
2003/12/18 23:01:30| 0 With invalid flags.
2003/12/18 23:01:30|  1692 Objects loaded.
2003/12/18 23:01:30| 0 Objects expired.
2003/12/18 23:01:30| 0 Objects cancelled.
2003/12/18 23:01:30| 0 Duplicate URLs purged.
2003/12/18 23:01:30| 0 Swapfile clashes avoided.
2003/12/18 23:01:30|   Took 0.0 seconds (46286.4 objects/sec).
2003/12/18 23:01:30| Beginning Validation Procedure
2003/12/18 23:01:30|   Completed Validation Procedure
2003/12/18 23:01:30|   Validated 1692 Entries
2003/12/18 23:01:30|   store_swap_size = 14540k
2003/12/18 23:01:30| WARNING: redirector #1 (FD 5) exited
2003/12/18 23:01:31| WARNING: redirector #2 (FD 6) exited
2003/12/18 23:01:31| WARNING: redirector #3 (FD 7) exited
2003/12/18 23:01:31| WARNING: redirector #4 (FD 8) exited
2003/12/18 23:01:31| WARNING: redirector #5 (FD 9) exited
2003/12/18 23:01:31| WARNING: redirector #6 (FD 10) exited
2003/12/18 23:01:31| storeDirWriteCleanLogs: Starting...
2003/12/18 23:01:31|   Finished.  Wrote 1692 entries.
2003/12/18 23:01:31|   Took 0.0 seconds (839702.2 entries/sec).
FATAL: Too few redirector processes are running
Squid Cache (Version 3.0-PRE3-CVS): Terminated abnormally.
CPU Usage: 0.090 seconds = 0.040 user + 0.050 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 470
Memory usage for squid via mallinfo():
total space in arena:2918 KB
Ordinary blocks: 2897 KB  9 blks
Small blocks:   0 KB  0 blks
Holding blocks:  2396 KB 13 blks
Free Small blocks:  0 KB
Free Ordinary blocks:  20 KB
Total in use:5293 KB 181%
Total free:20 KB 1%

snip

I bumped redirector_children to 40, and still got he same message
repeated over and over.

Is this telling me that my redirectors are dying from an error in the
redirector code, or what?

Thanks,

Murrah Boswell


Re: [squid-users] Too few redirector processes are running

2003-12-18 Thread Duane Wessels
 Is this telling me that my redirectors are dying from an error in the
 redirector code, or what?

Make sure that the Squid userid is able to execute the redirector
program.  Check file and directory permissions.

Duane W.