Re: [squid-users] can't use diskd (on FreeBSD)

From: Adrian Chadd <adrian@dont-contact.us>
Date: Wed, 11 Apr 2001 08:46:22 -0600

On Wed, Apr 11, 2001, Mikhail Teterin wrote:
> Hello!

Hi. (I'm also adrian@freebsd.org ..)

> I'm trying to see if using the diskd will help me, but squid dies
> promptly after serving a few requests with:
>
> assertion failed: store_io_diskd.c:492: "++send_errors < 100"

> 08:57:06| storeDiskdSend: msgsnd: (35) Resource temporarily unavailable
> 08:57:06| cbdataUnlock: 0x8ecad40
> 08:57:06| storeDiskdSend OPEN: (35) Resource temporarily unavailable

[snip]

> Any ideas? I'm using the squid-2.4.STABLE1 with the following patches:
>
> squid-2.4.stable1-wrong_sign_on_timestamp_check.patch
> squid-2.4.stable1-high_cpu_with_peers.patch
> squid-2.4.stable1-force_valid_blksize.patch
> squid-2.4.stable1-kill_parent_on_child_sigkill.patch
> squid-2.4.stable1-htcp_assertion_fix.patch
> squid-2.4.stable1-diskd_fixed_path.patch
>
> built using the FreeBSD port on FreeBSD 4.3-RC. Thanks!

Right. You're using the most uptodate port then.

Firstly - double check that squid found diskd (which was the problem with
portrevision 2 ..)

nympho# ps -auxw | grep diskd
nobody 13308 0.0 0.2 1360 628 ?? Ss 4:43PM 0:00.03 diskd 13625344 13625345 13625346

If its running you then need to read the Squid FAQ on configuring the
sysvshm/msg parameters for FreeBSD.

http://www.squid-cache.org/Doc/FAQ/FAQ-22.html#ss22.5

and

http://www.squid-cache.org/Doc/FAQ/FAQ-22.html#ss22.6

Please tell me if that works. If it does, I'll run off and update
the FreeBSD squid24 port with the URLs mentioned above.

Thanks!

Adrian
Received on Wed Apr 11 2001 - 08:46:23 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:59:16 MST