public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Leonid Mironov" <lvm@royal.net>
To: "cygwin mail list" <cygwin@cygwin.com>
Subject: squid crashes and won't restart
Date: Thu, 17 Sep 2015 07:28:00 -0000	[thread overview]
Message-ID: <trinity-93872737-2043-4f26-ba9f-e0c2df72ea7c-1442474902727@3capp-mailcom-lxa02> (raw)

Hello,

I have two compounding problems, one is with squid 3.3.3 crashing with 'assertion failed: store_swapout.cc:307: "mem->swapout.sio == self"' on certain sites e.g. snooker live scores (e.g. http://livescores.worldsnookerdata.com/LiveScoring/Tournament/13849/shanghai-masters?pos=279 but this link will probably become invalid as matches end). Not 100% repeatable - the page may update several times but eventually squid will crash, no such problems when squid runs on linux - only with cygwin port. Googling showed the similar problem with mac port but no solution. The second problem is that squid which is installed as windows service via cygrunsrv won't restart even though service recovery options are configured to restart it after all failures. Squid termination is logged as error in windows Application log with "squid: PID 23572: service `squid' failed: signal 6 raised" message and yet no attempt to restart is made.
 
  <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event[http://schemas.microsoft.com/win/2004/08/events/event]">
  <System>
  <Provider Name="squid" />
  <EventID Qualifiers="0">0</EventID>
  <Level>2</Level>
  <Task>0</Task>
  <Keywords>0x80000000000000</Keywords>
  <TimeCreated SystemTime="2015-09-17T06:46:01.000000000Z" />
  <EventRecordID>53673</EventRecordID>
  <Channel>Application</Channel>
  <Computer>xxxxxxxxxxxxxxxxxxxxxxx</Computer>
  <Security UserID="xxxxxxxx" />
  </System>
  <EventData>
  <Data>squid: PID 23572: service `squid' failed: signal 6 raised</Data>
  </EventData>
  </Event>
 
It is however is logged as a normal service stoppage in windows System log - perhaps this is the reason why it is not restarted. Maybe the error code is not passed properly to windows service manager?
 
  <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event[http://schemas.microsoft.com/win/2004/08/events/event]">
  <System>
  <Provider Name="Service Control Manager" Guid="{555908d1-a6d7-4695-8e1e-26931d2012f4}" EventSourceName="Service Control Manager" />
  <EventID Qualifiers="16384">7036</EventID>
  <Version>0</Version>
  <Level>4</Level>
  <Task>0</Task>
  <Opcode>0</Opcode>
  <Keywords>0x8080000000000000</Keywords>
  <TimeCreated SystemTime="2015-09-17T06:46:01.474349700Z" />
  <EventRecordID>89872</EventRecordID>
  <Correlation />
  <Execution ProcessID="624" ThreadID="23068" />
  <Channel>System</Channel>
  <Computer>xxxxxxxxxxxxxxxxxxxxxxx</Computer>
  <Security />
  </System>
  <EventData>
  <Data Name="param1">squid</Data>
  <Data Name="param2">stopped</Data>
  <Binary>730071007500690064002F0031000000</Binary>
  </EventData>
  </Event>
 
Windows 7 professional 32-bit. Any ideas on how to fix at least one of these problems?
 

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

                 reply	other threads:[~2015-09-17  7:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=trinity-93872737-2043-4f26-ba9f-e0c2df72ea7c-1442474902727@3capp-mailcom-lxa02 \
    --to=lvm@royal.net \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).