Skip to contentSkip to conversation

Squid-2.4.7 problem

parisc-linux [email protected] 2 participants 3 messages Nov 22, 2002

lore
Share & tools
lore
#0 lore raw

Hi all,

I try to install squid on a sarge install with a kernel 2.4.19-32. This squid failled with data_page_fault.

As I would like to build an elementary FW there is no dev tools on this box. So I try to debug the problem on my unstable (just update this morning) box but here the problem is absolutly different: squid loop and a strace tells me:
...

sched_yield()    =0
sched_yield()    =0
sched_yield()    =0

nanosleep({0, 2000001}, NULL) =0
sched_yield() =0
sched_yield() =0
...

What should (could) I do ...
in the first case I do not want to reinstall dev tools; in the second one I do not know how to revert last apt-get update?

Thansk in advance,
Joel

********************************************************************************
Controlez mieux votre consommation Internet...surfez Tiscali Complete...http://tiscali.complete.be

#1 lore raw
Quoted 2 lines

I try to install squid on a sarge install with a kernel 2.4.19-32. This squid failled with data_page_fault.

if this is reproducible, it is much better if you generate a core file and look at that instead.

Quoted 7 lines

As I would like to build an elementary FW there is no dev tools on this box. So I try to debug the problem on my unstable (just update this morning) box but here the problem is absolutly different: squid loop and a strace tells me:
...
sched_yield() =0
sched_yield() =0

i suspect this is quite normal, depending on what squid is doing.

strace by default also only looks at the parent task. if any children are fork()ed they will not be traced unless you tell it to.

randolph

#2 lore raw

Hi Randolph,

Quoted 7 lines
Quoted 2 lines

I try to install squid on a sarge install with a kernel 2.4.19-32. This

squid

Quoted 1 line

failled with data_page_fault.

if this is reproducible, it is much better if you generate a core file and look at that instead.

Good idea I will try.

Quoted 11 lines
Quoted 2 lines

As I would like to build an elementary FW there is no dev tools on this

box.

Quoted 1 line

So I try to debug the problem on my unstable (just update this morning)

box

Quoted 5 lines

but here the problem is absolutly different: squid loop and a strace tells me:
...
sched_yield() =0
sched_yield() =0

Quoted 5 lines

i suspect this is quite normal, depending on what squid is doing.

strace by default also only looks at the parent task. if any children are fork()ed they will not be traced unless you tell it to.

Hmm strace -f -p xxx

says the same and no forks process?

I will try first the core dump.

Thanks,
Joel

********************************************************************************
Controlez mieux votre consommation Internet...surfez Tiscali Complete...http://tiscali.complete.be