public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* squid crashes and won't restart
@ 2015-09-17  7:28 Leonid Mironov
  0 siblings, 0 replies; only message in thread
From: Leonid Mironov @ 2015-09-17  7:28 UTC (permalink / raw)
  To: cygwin mail list

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-09-17  7:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-17  7:28 squid crashes and won't restart Leonid Mironov

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).