Empty reply from server


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Empty reply from server
# 1  
Old 02-11-2009
Empty reply from server

Hi,
I call a .php page using curl (cron setting)
It does complete the data processing only 50% and returns an error Empty reply from server.

I can't figure it out why do I get that error.

# cat /var/log/curl_cron.log
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:34:14 --:--:-- 0
curl: (52) Empty reply from server

Any help will be appreciated.
# 2  
Old 02-11-2009
If PHP takes considerable time to process a request, and when that time has exceeded a certain threshold, PHP will halt the processing and return an empty response. I suggest you check the PHP or Apache error log and see if you can find any useful clues. Also you may need to think whether you need to increase that threshold in the PHP configuration if a long processing time is customary for certain scripts.

PHP: Runtime Configuration - Manual
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How can I check, if on remote server directory is empty or have files?

I have a script, which is supposed to run 1 day of the month, connect to remote server certain directory, find files, tar the, and copy find . -ctime -1 | tar -cvf transfer_dmz_start_monthly.tar *${Today}*.*; if then echo "Cannot create a tar file, the terminated... (2 Replies)
Discussion started by: digioleg54
2 Replies

2. Shell Programming and Scripting

curl: (52) Empty reply from server

Hi All, I am using curl command to issue a request to server(web.py). Till Now I was not facing any problem. But when the server takes lot of time to respond, Curl exits with "curl: (52) Empty reply from server" error. 0 0 0 0 0 0 0 0 --:--:-- 0:04:57... (2 Replies)
Discussion started by: sudharsanam
2 Replies

3. UNIX for Advanced & Expert Users

Empty lines at the end of the payload generated in FTP server

Hi All, I am facing an issue in one of the use cases that I am trying to implement. I am getting a purchase order from one of the trading partners through Oracle B2B. B2B forwards this B2BM (B2B message ) to AIAB2BInterface. From AIAB2BInterface my BPEL process gets invoked, which in turn... (1 Reply)
Discussion started by: mayank2211
1 Replies

4. UNIX for Dummies Questions & Answers

I need a reply

What command can you use to display a text file one page at a time, but doesn't allow scrolling backward through a file? (3 Replies)
Discussion started by: zapper
3 Replies

5. IP Networking

Software/tool to route an IP packet to proxy server and capture the Proxy reply as an

Hi, I am involved in a project on Debian. One of my requirement is to route an IP packet in my application to a proxy server and receive the reply from the proxy server as an IP packet. My application handles data at the IP frame level. My application creates an IP packet(with all the necessary... (0 Replies)
Discussion started by: Rajesh_BK
0 Replies

6. UNIX for Dummies Questions & Answers

Getting same exit status for empty and non empty file

Hi All, I am checking for a empty input file to do some further action , but I am getting exit status 0 in both the cases , for empty and non empty file both. The value of $? is coming 0 in if part also and else part too. #!/bin/ksh if ]; then echo "data" # exit 0 echo "$?" else... (4 Replies)
Discussion started by: mavesum
4 Replies

7. UNIX for Dummies Questions & Answers

how to find empty folders without using -empty

hi all: my solaris FIND does not support find myFolder -type d -empty how can i find the empty folders? thanks! (7 Replies)
Discussion started by: lasse
7 Replies

8. UNIX for Advanced & Expert Users

Plz reply..whether it is possible or not?

HELLO GUYS, How u all guys doing?Recently I brought a system and installed Red Hat Linux in it. I have also got a network card. My question is can i connect NIC to my system and use it as a client? I really don't want to buy another system. I want to use this computer/system both as server and... (3 Replies)
Discussion started by: cyno
3 Replies
Login or Register to Ask a Question