The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Getting same exit status for empty and non empty file mavesum UNIX for Dummies Questions & Answers 4 12-03-2008 09:59 AM
very simpale plz reply soon ramiitkgp Shell Programming and Scripting 0 01-19-2008 02:55 AM
how to find empty folders without using -empty lasse UNIX for Dummies Questions & Answers 7 01-17-2008 02:30 AM
Plz reply..whether it is possible or not? cyno UNIX for Advanced & Expert Users 3 10-07-2003 05:02 PM
Auto reply Muthukumaran UNIX for Dummies Questions & Answers 1 08-25-2001 12:53 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-11-2009
shantanuo shantanuo is offline
Registered User
  
 

Join Date: Aug 2008
Location: Mumbai
Posts: 79
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 (permalink)  
Old 02-11-2009
cbkihong cbkihong is offline Forum Advisor  
Advisor
  
 

Join Date: Sep 2002
Location: Hong Kong, China
Posts: 1,624
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
Closed Thread

Bookmarks

Tags
cron, curl

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:32 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0