For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > January 2007 > CURL and process not finishing









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author CURL and process not finishing
john@shortstay-london.com

2007-01-05, 7:58 am

I am using CURL to check pages outside my site on the internet for some
text, then I email someone on my database who supposedly looks after the
site. The script creates a process that does not terminate. It is running
on a scheduled cronjob so eventually my site has over the maximum of 20
processes running and it goes offline.

It may be that some of the pages I check are hard to get a response from, as
CURL tries to return the target URL. I have removed any emailing that it
does and still get the problem. Is there any way to check that a process is
not terminating after a reasonable time?

John

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com