public inbox for gnats-devel@sourceware.org
 help / color / mirror / Atom feed
* Gnats is hanging
@ 2003-01-14 19:52 Dieperink Alwin
  2003-01-15  9:13 ` Lars Henriksen
  0 siblings, 1 reply; 5+ messages in thread
From: Dieperink Alwin @ 2003-01-14 19:52 UTC (permalink / raw)
  To: 'help-gnats@gnu.org'

Hello,

I try to submit a new PR or to edit an existing PR. The first time, no
answer is sent back from the server, it is just hanging (until a timeout).
When I press the submit button again, the request is handled by GNATS
without any problem. This is repeatable. Queries don't seem to have this
problem, so I think it comes only when changes are made to the database. The
logfiles of Apache don't help. They just tell that no answer is sent back
the first time. Probably there is something hanging Perl, as the process is
still there, but 100% idle. 

Any idea ? How can I find out where it is hanging in Perl ?

Regards,
-- Alwin

Gnatsweb v3.99.4, Gnats v4.0-beta2 (problem also comes with beta1)
Perl 5.8.0 (problem also comes with 5.6.0)
Apache 1.3.24
Linux Redhat
Browser: IE 6.0



_______________________________________________
Help-gnats mailing list
Help-gnats@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnats

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Gnats is hanging
  2003-01-14 19:52 Gnats is hanging Dieperink Alwin
@ 2003-01-15  9:13 ` Lars Henriksen
  0 siblings, 0 replies; 5+ messages in thread
From: Lars Henriksen @ 2003-01-15  9:13 UTC (permalink / raw)
  To: Dieperink Alwin; +Cc: 'help-gnats@gnu.org'

On Tue, Jan 14, 2003 at 08:43:11PM +0100, Dieperink Alwin wrote:
> Hello,
> 
> I try to submit a new PR or to edit an existing PR. The first time, no
> answer is sent back from the server, it is just hanging (until a timeout).
> When I press the submit button again, the request is handled by GNATS
> without any problem. This is repeatable. Queries don't seem to have this
> problem, so I think it comes only when changes are made to the database. The
> logfiles of Apache don't help. They just tell that no answer is sent back
> the first time. Probably there is something hanging Perl, as the process is
> still there, but 100% idle. 
> 
> Any idea ? How can I find out where it is hanging in Perl ?

Assuming this is a GNATS and not a Perl problem, try the following.
Go to the 'Edit Problem Report' page. Your browser will display a URL
something like:

http://<whatever>/gnatsweb.pl?cmd=edit&...

Edit the URL and insert a 'debug=all' as follows:

http://<whatever>/gnatsweb.pl?debug=all&cmd=edit&...

Then access gnatsweb with this URL. You will see a lot of communication
going on between gnatsweb and the gnats server (gnatsd). At the bottom of
the page you should be able to find the 'Edit' page again. Now perform the
edit and submit in the usual way. Again you will see gnatsweb talking to
gnatsd and hopefully this will reveal the reason for the hanging request.

Lars Henriksen


_______________________________________________
Help-gnats mailing list
Help-gnats@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnats

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: Gnats is hanging
@ 2003-01-15 10:24 Dieperink Alwin
  0 siblings, 0 replies; 5+ messages in thread
From: Dieperink Alwin @ 2003-01-15 10:24 UTC (permalink / raw)
  To: 'Lars Henriksen'; +Cc: 'help-gnats@gnu.org'

I asked a colleague and he suggested to add tracing to a separate file. I
could narrow the problem to a hang on "$q = new CGI;". I'm now investigating
in CGI itself. I installed the latest version (2.89), but didn't solve the
problem.

-- Alwin

-----Original Message-----
From: Lars Henriksen [mailto:Lars.Henriksen@netman.dk]
Sent: mercredi, 15. janvier 2003 11:12
To: Dieperink Alwin
Cc: 'help-gnats@gnu.org'
Subject: Re: Gnats is hanging


On Wed, Jan 15, 2003 at 10:00:52AM +0100, Dieperink Alwin wrote:
> 
> Thanks for the hint. I already did this, but as there is nothing coming
back
> at all from the server, it didn't help. The browser ends up after 3-4
> minutes with a browser generated error page.

Are you saying that the Edit form is received by your apache server (there
is a "POST .../gnatsweb.pl/1 ..." line in the access_log), but gnatsweb
doesn't even connect to the GNATS server (you don't see the inital gnatsd
acknowledgement after connect: 200 <host> GNATS server 4.0-beta2 ready)?

Lars


 


_______________________________________________
Help-gnats mailing list
Help-gnats@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnats

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Gnats is hanging
  2003-01-15  9:07 Dieperink Alwin
@ 2003-01-15 10:13 ` Lars Henriksen
  0 siblings, 0 replies; 5+ messages in thread
From: Lars Henriksen @ 2003-01-15 10:13 UTC (permalink / raw)
  To: Dieperink Alwin; +Cc: 'help-gnats@gnu.org'

On Wed, Jan 15, 2003 at 10:00:52AM +0100, Dieperink Alwin wrote:
> 
> Thanks for the hint. I already did this, but as there is nothing coming back
> at all from the server, it didn't help. The browser ends up after 3-4
> minutes with a browser generated error page.

Are you saying that the Edit form is received by your apache server (there
is a "POST .../gnatsweb.pl/1 ..." line in the access_log), but gnatsweb
doesn't even connect to the GNATS server (you don't see the inital gnatsd
acknowledgement after connect: 200 <host> GNATS server 4.0-beta2 ready)?

Lars


_______________________________________________
Help-gnats mailing list
Help-gnats@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnats

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: Gnats is hanging
@ 2003-01-15  9:07 Dieperink Alwin
  2003-01-15 10:13 ` Lars Henriksen
  0 siblings, 1 reply; 5+ messages in thread
From: Dieperink Alwin @ 2003-01-15  9:07 UTC (permalink / raw)
  To: 'Lars Henriksen'; +Cc: 'help-gnats@gnu.org'

Hi Lars,

Thanks for the hint. I already did this, but as there is nothing coming back
at all from the server, it didn't help. The browser ends up after 3-4
minutes with a browser generated error page.

-- Alwin

-----Original Message-----
From: Lars Henriksen [mailto:Lars.Henriksen@netman.dk]
Sent: mercredi, 15. janvier 2003 09:57
To: Dieperink Alwin
Cc: 'help-gnats@gnu.org'
Subject: Re: Gnats is hanging


On Tue, Jan 14, 2003 at 08:43:11PM +0100, Dieperink Alwin wrote:
> Hello,
> 
> I try to submit a new PR or to edit an existing PR. The first time, no
> answer is sent back from the server, it is just hanging (until a timeout).
> When I press the submit button again, the request is handled by GNATS
> without any problem. This is repeatable. Queries don't seem to have this
> problem, so I think it comes only when changes are made to the database.
The
> logfiles of Apache don't help. They just tell that no answer is sent back
> the first time. Probably there is something hanging Perl, as the process
is
> still there, but 100% idle. 
> 
> Any idea ? How can I find out where it is hanging in Perl ?

Assuming this is a GNATS and not a Perl problem, try the following.
Go to the 'Edit Problem Report' page. Your browser will display a URL
something like:

http://<whatever>/gnatsweb.pl?cmd=edit&...

Edit the URL and insert a 'debug=all' as follows:

http://<whatever>/gnatsweb.pl?debug=all&cmd=edit&...

Then access gnatsweb with this URL. You will see a lot of communication
going on between gnatsweb and the gnats server (gnatsd). At the bottom of
the page you should be able to find the 'Edit' page again. Now perform the
edit and submit in the usual way. Again you will see gnatsweb talking to
gnatsd and hopefully this will reveal the reason for the hanging request.

Lars Henriksen


 


_______________________________________________
Help-gnats mailing list
Help-gnats@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnats

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-01-15 10:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-14 19:52 Gnats is hanging Dieperink Alwin
2003-01-15  9:13 ` Lars Henriksen
2003-01-15  9:07 Dieperink Alwin
2003-01-15 10:13 ` Lars Henriksen
2003-01-15 10:24 Dieperink Alwin

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