LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   select hangup with Curl FTP (https://www.linuxquestions.org/questions/linux-kernel-70/select-hangup-with-curl-ftp-518087/)

tbui57 01-10-2007 01:30 PM

select hangup with Curl FTP
 
I am using linux-2.4.x & Curl FTP.

Curl FTP works most of the time on linux, however, occasionally the system hangup. I trace the code to the place where Curl_select calls select and never return.

I put trace deep inside the kernel select code, sys_select to be exact, the code hang after the call schedule_timeout().

When putting a delay before the select call, for example, a printf, the problem disappear. It looks like I have some timing issue with my linux kernel.

I appreciate very much any info on this issue.

Thanks in advance,
Tung


All times are GMT -5. The time now is 09:45 AM.