cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Apache+PHP+Curl hanging (RedHat ES3)

From: Vámos Balázs <bsomav_at_freemail.hu>
Date: Mon, 10 Apr 2006 15:25:04 +0200 (CEST)

Hi,

We have two servers with Red Hat Enterprise Linux ES3 Update 7.
We have a simple php script with a Curl call.

On Server1 it works fine.
On Server2 it works fine from command line (php -f)
On Server2 with Apache it hangs without no timeouts.

Server process status is 'W' (Sending reply). After I close the browser
status become 'G' (Gracefully finishing).

I did an strace on the apache process:
- It opens a tcp socket to the remote server
- sends the HTTP request
- and waiting with timeouts forever

Local firewall is disabled.

How could I figure out what is wrong with Server1?

Regards,

Balazs

_______________________________________________________________________
3 könyv = 15+5% kedvezmény!
http://www.bookline.hu/control/news?newsid=351&affiliate=fre3kokar2230

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2006-04-10