SOlaris 2.6, squid 1.1.21 poll() ERESTART errors

From: Rich Ashton <rich@dont-contact.us>
Date: Wed, 8 Apr 1998 15:53:08 +0100 (BST)

Peeps,
        Using Solaris 2.6 with the latest recommended SUN patch set, squid
1.1.21 has a problem when using the poll() system command, as opposed to the
select() system call.

        In comm.c, line 852, the poll() returns ERESTART when you do the do
a 'tail -f <any squid log file>' and interrupt it using CTRL C on the same
machine. It also happens if you run snoop, or ipmon or any such scanner.

        Doing a truss of the process shows the ERESTART error which causes
squid to shut itself down and stop.

        Has anyone else experienced this? Do you have a workaround before I
write one? There are poll() bug fixes in innd and other publically
available software since SUN have had numerous problems and I was going to
adapt one of the fixes used and apply it to squid.

Rich.

-- 
..Blue         O            "Smoke me a kipper,
  Skies..    //\/            I'll be back for breakfast."
            \/\  ..Must
         ...../    Dash..    Email: rich@ops.netcom.net.uk
Received on Wed Apr 08 1998 - 08:04:42 MDT

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