* [parisc-linux] Squid freeze
@ 2003-02-11 15:38 Bad Max
2003-02-11 16:56 ` John David Anglin
2003-02-11 19:15 ` [parisc-linux] " Joel Soete
0 siblings, 2 replies; 5+ messages in thread
From: Bad Max @ 2003-02-11 15:38 UTC (permalink / raw)
To: parisc-linux
Hi,
I've tried to run squid on my PA box under Debian 3.0. But squid freeze
at launch : it do nothing, it is simply frozen, it is not possible to parse
any line command (squid -v print nothing).
I did a dist-upgrade but nothing change. So I get the lastest version
of squid 2.5 and compiled it. Same symptom, squid is frozen. I did a
little modification to src/main.c in squid, in the main() function : I
took mainParseOptions() and put it in first of main() (it was executed
later after several others miscellaneous functions).
Now squid work perfectly. I suspect a bug in gcc, what do you think
about ?
-------
Bad Max
========
Amiga User
GNU User
WWW: perso.club-internet.fr/badmax
^ permalink raw reply [flat|nested] 5+ messages in thread
* [parisc-linux] Re: Squid freeze
2003-02-11 16:56 ` John David Anglin
@ 2003-02-11 16:23 ` Bad Max
0 siblings, 0 replies; 5+ messages in thread
From: Bad Max @ 2003-02-11 16:23 UTC (permalink / raw)
To: parisc-linux
Hello
On 11-fév-03, you wrote:
| >> Now squid work perfectly. I suspect a bug in gcc, what do you think
| >> about ?
| >
| > I fixed a hang in the libstdc++ locking code on the weekend. This
| > affects gcc 3.3 and later on PA 1.x machines. Other than that,
| > there are no reported/known freezes caused by gcc.
| >
| > Dave
In fact, I did a mistake because I did not resolve the problem by changing
the code but by adding the -X option to command line (it force full debug).
The -v option work without this option because of my change so there is
perhaps a bug somewhere in the code of squid (gcc ? squid ? libc ? don't
know for now).
-------
Bad Max
========
Amiga User
GNU User
WWW: perso.club-internet.fr/badmax
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [parisc-linux] Squid freeze
2003-02-11 15:38 [parisc-linux] Squid freeze Bad Max
@ 2003-02-11 16:56 ` John David Anglin
2003-02-11 16:23 ` [parisc-linux] " Bad Max
2003-02-11 19:15 ` [parisc-linux] " Joel Soete
1 sibling, 1 reply; 5+ messages in thread
From: John David Anglin @ 2003-02-11 16:56 UTC (permalink / raw)
To: Bad Max; +Cc: parisc-linux
> Now squid work perfectly. I suspect a bug in gcc, what do you think
> about ?
I fixed a hang in the libstdc++ locking code on the weekend. This
affects gcc 3.3 and later on PA 1.x machines. Other than that,
there are no reported/known freezes caused by gcc.
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [parisc-linux] Squid freeze
2003-02-11 15:38 [parisc-linux] Squid freeze Bad Max
2003-02-11 16:56 ` John David Anglin
@ 2003-02-11 19:15 ` Joel Soete
2003-02-11 20:54 ` [parisc-linux] " Bad Max
1 sibling, 1 reply; 5+ messages in thread
From: Joel Soete @ 2003-02-11 19:15 UTC (permalink / raw)
To: Bad Max, parisc-linux
Hi,
>
>I've tried to run squid on my PA box under Debian 3.0. But squid freeze
>at launch : it do nothing, it is simply frozen, it is not possible to parse
>any line command (squid -v print nothing).
>
>I did a dist-upgrade but nothing change. So I get the lastest version
>of squid 2.5 and compiled it. Same symptom, squid is frozen. I did a
>little modification to src/main.c in squid, in the main() function : I
>took mainParseOptions() and put it in first of main() (it was executed
>later after several others miscellaneous functions).
>
Don't do this.
'dmesg' would inform you too that squid make a segfault?
I already report this problem in this ml and in Debian bug report (sorry
I do not remember # but it is easy to find back).
The problem was in fact due to a bad update of libpam-modules and a modification
in /etc/security/limits.conf which didn't occurs by default. You would found
tree line:
* hard core 0
* hard rss 5000
* hard nproc 20
which you can remove (what the update should do if you answer Y at this time)
Now, you have to quit completely your loging; login again and you should
now be able to use squid.
hth,
Joel
---------------------------------
Vous surfez avec une ligne classique ?
Faites des economies avec Tiscali Complete
... Plus d'info sur http://complete.tiscali.be
^ permalink raw reply [flat|nested] 5+ messages in thread
* [parisc-linux] Re: Squid freeze
2003-02-11 19:15 ` [parisc-linux] " Joel Soete
@ 2003-02-11 20:54 ` Bad Max
0 siblings, 0 replies; 5+ messages in thread
From: Bad Max @ 2003-02-11 20:54 UTC (permalink / raw)
To: parisc-linux
Hi,
Le 11-fév-03, Joel Soete a écrit :
[snip]
| > Don't do this.
| >
| > 'dmesg' would inform you too that squid make a segfault?
| >
| > I already report this problem in this ml and in Debian bug report (sorry
| > I do not remember # but it is easy to find back).
| >
| > The problem was in fact due to a bad update of libpam-modules and a
| > modification in /etc/security/limits.conf which didn't occurs by
| > default. You would found tree line:
| > * hard core 0
| > * hard rss 5000
| > * hard nproc 20
| >
| > which you can remove (what the update should do if you answer Y at this
| > time)
| >
| > Now, you have to quit completely your loging; login again and you should
| > now be able to use squid.
| >
| >
| > hth,
| > Joel
| >
Sorry but there are no messages at all about squid in dmesg. I checked
/etc/security/limits.conf and the three lines you indicated are already
removed.
I repeat : I must pass the option -X (force full debug) to have squid
working. I will spend time tomorow to locate what seems to be at the
origin of this lock.
-------
Bad Max
========
Amiga User
GNU User
WWW: perso.club-internet.fr/badmax
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-02-11 21:53 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-11 15:38 [parisc-linux] Squid freeze Bad Max
2003-02-11 16:56 ` John David Anglin
2003-02-11 16:23 ` [parisc-linux] " Bad Max
2003-02-11 19:15 ` [parisc-linux] " Joel Soete
2003-02-11 20:54 ` [parisc-linux] " Bad Max
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox