This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

squid crashes and won't restart


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]