You are not logged in.

#1 2014-02-13 13:05:30

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,362

Squid segfaults

Even though I have a squid server on i686 that seems to be giving me no problems, my x86_64 squid that calls back to my i686 squid server (with the line in squid.conf cache_peer xxx.xxx.xxx.xxx parent 3128 0 default) keeps getting segfaults.

traps: squid[1867] general protection ip:7f7235e150e3 sp:7fffeeff6340 error:0 in libc-2.19.so[7f7235d9b000+19e000]

and

 squid[7185]: segfault at 10 ip 00000000005d1519 sp 00007ffff6de6a00 error 4 in squid[400000+46d000]

Something weird here

squid[5520]: segfault at ffffffffffffffe8 ip 0000000000518dc7 sp 00007fff12d264e0 error 5 in squid[400000+46d000]
squid[5552]: segfault at 20 ip 00000000004f84d6 sp 00007fffac87a8b0 error 4 in squid[400000+46d000]
squid[5576]: segfault at 10 ip 00000000005d1519 sp 00007fff47237020 error 4 in squid[400000+46d000]
squid[5763]: segfault at 58 ip 000000000078b378 sp 00007fffa8cd0d00 error 4 in squid[400000+46d000]
squid[5801]: segfault at 10 ip 00000000005d1519 sp 00007fffb2beba70 error 4 in squid[400000+46d000]
squid[5825]: segfault at 58 ip 000000000078b378 sp 00007fff1fd91e50 error 4 in squid[400000+46d000]
squid[5861]: segfault at 10 ip 00000000005d1519 sp 00007fff5dc876a0 error 4 in squid[400000+46d000]
squid[5885]: segfault at 10 ip 00000000005d1519 sp 00007fff96fea3b0 error 4 in squid[400000+46d000]
squid[5909]: segfault at 10 ip 00000000005d1519 sp 00007fff2f8e8ae0 error 4 in squid[400000+46d000]
squid[5927]: segfault at 10 ip 00000000005d1519 sp 00007fffbfabfc50 error 4 in squid[400000+46d000]
squid[5949]: segfault at 10 ip 00000000005d1519 sp 00007fff789b3470 error 4 in squid[400000+46d000]

Last edited by nomorewindows (2014-02-13 13:07:24)


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#2 2014-02-15 20:27:30

Rexilion
Member
Registered: 2013-12-23
Posts: 784

Re: Squid segfaults

Is that squid exposed to the internet?


fs/super.c : "Self-destruct in 5 seconds.  Have a nice day...\n",

Offline

#3 2014-02-16 02:25:45

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,362

Re: Squid segfaults

Rexilion wrote:

Is that squid exposed to the internet?

They are both, not directly connected to the internet; behind the same internet modem

Last edited by nomorewindows (2014-02-16 02:26:24)


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#4 2014-02-16 08:03:46

Rexilion
Member
Registered: 2013-12-23
Posts: 784

Re: Squid segfaults

To rule out a config problem, you could try to use a 32bit squid on both. Or switch configs to rule out an arch problem.


fs/super.c : "Self-destruct in 5 seconds.  Have a nice day...\n",

Offline

#5 2014-02-16 12:21:48

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,362

Re: Squid segfaults

Rexilion wrote:

To rule out a config problem, you could try to use a 32bit squid on both. Or switch configs to rule out an arch problem.

Even though I don't think I was having problems before I could just run the squid without peering to the other one to see what it does then.
Even though I have directories configured, it seems to only be caching them in memory.
I'm wondering if it would make any difference if I had the browser run through the proxies, localhost first, then the network proxy instead of setting it to be a cache peer in squid.conf.

Last edited by nomorewindows (2014-02-16 13:37:07)


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#6 2014-03-16 19:41:12

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,362

Re: Squid segfaults

I think I might try to host a WPAD on an http server for the private network.  There is some concern leaving this on when mobiling about, so this leaves a setting that might need looking at even in lieu of manual proxy configuration.  But the feature of the auto proxy config is in my FindProxyforURL(url,host) javascript function is that I could reference all of my possible proxies to the browser for it to decide which one to use.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#7 2014-08-20 23:19:36

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,362

Re: Squid segfaults

Squid has been going pretty good and the WPAD trick works pretty well although I don't think the dhcp option no longer does anything that I can tell.  However, had a segfault on squid today and in the process failover into the other squid server.  The segfault today was

squid[]: segfault at 6575ffc ip 0812600a sp bff80b80 error 4 in squid[8048000+4f9000]

This was on i686.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

Board footer

Powered by FluxBB